Newer
Older
newfiber-data-adapter / src / main / java / org / springnewfiber / dataadapter / DataAdapterApplication.java
package org.springnewfiber.dataadapter;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.mongo.MongoDataAutoConfiguration;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @program: newfiber-data-adapter
 * @description:
 * @author: djt
 * @create: 2022-01-18 15:58
 **/
@EnableAsync
@EnableScheduling
@SpringBootApplication(exclude = {MongoAutoConfiguration.class,
        MongoDataAutoConfiguration.class})
public class DataAdapterApplication {
    public static void main(String[] args) {
        SpringApplication.run(DataAdapterApplication.class, args);
    }
}