package com.unis.flowable.server;

import org.flowable.ui.modeler.conf.ApplicationConfiguration;
import org.flowable.ui.modeler.servlet.AppDispatcherServletConfiguration;
import org.mybatis.spring.annotation.MapperScan;
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.annotation.ComponentScan;
import org.springframework.context.annotation.Import;

@Import({
    ApplicationConfiguration.class,
    AppDispatcherServletConfiguration.class
})
@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan("com.unis")
@MapperScan("com.unis")
@EnableFeignClients(basePackages = "com.unis.flowable.client")
public class FlowableServerApplication {
	public static void main(String[] args) {
		SpringApplication.run(FlowableServerApplication.class, args);
		System.out.println("===============启动成功=========================");
	}
}