package com.primeton.data.dam.standalone;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.neo4j.repository.config.EnableNeo4jRepositories;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication(scanBasePackages = {"com.primeton"}, excludeName ={
        "org.springframework.boot.autoconfgure.hazelcast.HazelcastAutoConfiguration",
        "org.springframework.boot.autoconfgure.hazelcast.HazelcastJpaDependencyAutoConfiguration",
        "org.apache.dolphinscheduler.scheduler.quartz.QuartzSchedulerAutoConfiguration",
        "org.springframework.boot.autoconfgure.hazelcast.HazelcastClientConfiguration",
        "org.springframework.boot.autoconfigure.hazelcast.HazelcastClientConfigFileConfiguration"
 })
@EnableFeignClients
@EnableScheduling
@EnableDiscoveryClient
@EnableNeo4jRepositories(basePackages = "com.primeton.dataworkshop")
@ComponentScan(basePackages = {"com.primeton"})
public class Application {
    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
