package com.inspect.ivs;

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

@EnableRetry
@EnableCustomConfig
@EnableRyFeignClients
@SpringBootApplication(
   exclude = {DataSourceAutoConfiguration.class}
)
@ComponentScan({"com.inspect.*"})
public class InspectIvsApplication {
   private final static Logger log = LoggerFactory.getLogger(InspectIvsApplication.class);

   public static void main(String[] args) {
      SpringApplication.run(InspectIvsApplication.class, args);
      log.info("\n<=====☆  IVS MODULE ☆ =====>  \n .-------.       ____     __        \n |  _ _   \\      \\   \\   /  /    \n | ( ' )  |       \\  _. /  '       \n |(_ o _) /        _( )_ .'         \n | (_,_).' __  ___(_ o _)'          \n |  |\\ \\  |  ||   |(_,_)'         \n |  | \\ `'   /|   `-'  /           \n |  |  \\    /  \\      /           \n ''-'   `'-'    `-..-'              ");
   }
}
