package com.inspect.job;

import com.inspect.common.security.annotation.EnableCustomConfig;
import com.inspect.common.security.annotation.EnableRyFeignClients;
import com.inspect.base.swagger.annotation.EnableCustomSwagger2;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.retry.annotation.EnableRetry;

@EnableRetry
@EnableCustomConfig
@EnableCustomSwagger2
@EnableRyFeignClients
@SpringBootApplication
@ComponentScan({"com.inspect.*"})
public class InspectJobApplication {
   private final static Logger log = LoggerFactory.getLogger(InspectJobApplication.class);
   public static void main(String[] args) {
      SpringApplication.run(InspectJobApplication.class, args);
      log.info("\n<=====☆  JOB MODULE ☆ =====>  \n .-------.       ____     __        \n |  _ _   \\      \\   \\   /  /    \n | ( ' )  |       \\  _. /  '       \n |(_ o _) /        _( )_ .'         \n | (_,_).' __  ___(_ o _)'          \n |  |\\ \\  |  ||   |(_,_)'         \n |  | \\ `'   /|   `-'  /           \n |  |  \\    /  \\      /           \n ''-'   `'-'    `-..-'              ");
   }
}
