package com.oneone.alert; 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.scheduling.annotation.EnableAsync; import org.springframework.scheduling.annotation.EnableScheduling; @EnableFeignClients(basePackages = {"com.oneone.alert.api.feign"}) @SpringBootApplication @EnableDiscoveryClient @EnableScheduling @EnableAsync public class AlertApplication { public static void main(String[] args) { SpringApplication.run(AlertApplication.class, args); } }