You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							22 lines
						
					
					
						
							926 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							22 lines
						
					
					
						
							926 B
						
					
					
				| package com.epmet; | |
| 
 | |
| import com.epmet.commons.tools.enums.EnvEnum; | |
| import com.epmet.commons.tools.utils.HttpClientManager; | |
| import org.springframework.boot.SpringApplication; | |
| import org.springframework.boot.autoconfigure.SpringBootApplication; | |
| import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; | |
| import org.springframework.cloud.client.discovery.EnableDiscoveryClient; | |
| import org.springframework.cloud.openfeign.EnableFeignClients; | |
| import org.springframework.scheduling.annotation.EnableAsync; | |
| 
 | |
| @EnableDiscoveryClient | |
| @EnableFeignClients | |
| @SpringBootApplication (exclude = {DataSourceAutoConfiguration.class}) | |
| @EnableAsync | |
| public class DataStatsApplication { | |
| 
 | |
|     public static void main(String[] args) { | |
|         SpringApplication.run(DataStatsApplication.class ,args); | |
|         HttpClientManager.getInstance().sendAlarmMsg(EnvEnum.getCurrentEnv().getName() +" DataStatsApplication started!"); | |
|     } | |
| }
 | |
| 
 |