yangys
2024-10-30 25db770e621f1259b8d5b7fd514207f7481c2d0f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.qianwen.smartman;
 
import com.dtflys.forest.springboot.annotation.ForestScan;
import de.codecentric.boot.admin.server.config.EnableAdminServer;
import com.qianwen.core.launch.BladeApplication;
import com.qianwen.smartman.common.constant.CommonConstant;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
 
@EnableScheduling
@SpringBootApplication(exclude = {MongoAutoConfiguration.class})
 
@ForestScan(basePackages = {"com.qianwen.smartman.modules.dnc.forestClient", "com.qianwen.smartman.modules.fms.forestClient", "com.qianwen.smartman.modules.perf.forestClient"})
@EnableAsync
@EnableAdminServer
public class Application {
  public static void main(String[] args) {
    BladeApplication.run(CommonConstant.APPLICATION_NAME, Application.class, args);
    
  }
}