package net.northking.cctp.guaca;

import com.hzbank.testteam.autotest.dependencies.baseDefineDependency.config.BaseDefineDependencyConfig;
import com.hzbank.testteam.autotest.dependencies.baseDefineDependency.utils.SpringUtil;
import net.northking.cctp.common.config.EnableNKCloud;
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.cloud.openfeign.EnableFeignClients;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.Import;

@SpringBootApplication
@EnableFeignClients
@EnableDiscoveryClient
@EnableNKCloud
@Import({BaseDefineDependencyConfig.class, SpringUtil.class})
public class GuacaProxyApplication {
    private static final Logger logger = LoggerFactory.getLogger(GuacaProxyApplication.class);

    public static void main(String[] args)
    {
        logger.info("微服务启动----开始 .................");
        ConfigurableApplicationContext ctx = SpringApplication.run(GuacaProxyApplication.class, args);
        logger.info("微服务启动----完成 .................");

    }
}
