package com.inspect;

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.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.retry.annotation.EnableRetry;
import org.springframework.scheduling.annotation.EnableAsync;

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