package net.northking.cctp.debuger;
import cn.gjing.tools.auth.config.EnableAuthorization;
import net.northking.cctp.common.s3.EnableS3;
import net.northking.cctp.common.config.EnableNKCloud;
import net.northking.cctp.common.config.EnableNKWebMvc;
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.cloud.openfeign.EnableFeignClients;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@EnableS3
@EnableNKCloud
@EnableNKWebMvc
@EnableAuthorization
@EnableFeignClients(basePackages = {"net.northking.cctp.debuger.feign", "com.hzbank.testteam.autotest"})
@ComponentScan(basePackages = {"net.northking.cctp.debuger","com.hzbank.testteam.autotest"})
public class MobileScriptDebugerApplication {
    private static final Logger logger = LoggerFactory.getLogger(MobileScriptDebugerApplication.class);
    public static void main(String[] args) {
        logger.info("微服务启动----开始 .................");
        ConfigurableApplicationContext ctx = SpringApplication.run(MobileScriptDebugerApplication.class, args);
        logger.info("微服务启动----完成 .................");
    }
}
