package com.lanyuanxiaoyao.service.executor.manager;

import com.ulisesbocchio.jasyptspringboot.annotation.EnableEncryptableProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.gson.GsonAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.retry.annotation.EnableRetry;

/**
 * @author lanyuanxiaoyao
 * @date 2023-12-04
 */
@EnableDiscoveryClient
@SpringBootApplication(
        scanBasePackages = {"com.lanyuanxiaoyao.service"},
        exclude = {
                GsonAutoConfiguration.class,
                DataSourceAutoConfiguration.class
        }
)
@EnableConfigurationProperties
@EnableEncryptableProperties
@EnableRetry
public class ExecutorManagerApplication {
    public static void main(String[] args) {
        SpringApplication.run(ExecutorManagerApplication.class, args);
    }
}
