package com.prolog.cs.biz.inbound;

import com.prolog.framework.authority.annotation.EnablePrologResourceServer;
import com.prolog.framework.bz.common.integration.EnableIntegrationApi;
import com.prolog.framework.bz.common.search.EnableSearchApi;
import com.prolog.framework.log.aop.annotation.EnableUserLog;
import com.prolog.framework.microservice.annotation.EnablePrologService;
import com.prolog.framework.microservice.util.ServiceStarter;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnablePrologService()
@EnablePrologResourceServer
//@EnablePrologEmptySecurityServer
@EnableUserLog
@EnableAsync
@MapperScan("com.prolog.cs.biz.inbound.dao")
@EnableSearchApi
@EnableScheduling
@EnableIntegrationApi
public class Application extends SpringBootServletInitializer {

	public static void main(String[] args) {
		// 调用ServiceStarter启动容器
		ServiceStarter.start(Application.class, args);
	}

}
