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.

25 lines
684 B

package com.java3y.austin;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* @author 3y
*/
@SpringBootApplication
public class AustinApplication {
public static void main(String[] args) {
/**
* TODO 【optional】
* 如果你需要动态配置
* 1、启动apollo
* 2、将application.properties配置文件的 austin.apollo.enabled 改为true
* 3、下方的property替换真实的ip和port
*/
System.setProperty("apollo.config-service", "http://ip:port");
SpringApplication.run(AustinApplication.class, args);
}
}