标签:XML ribbon 启动 enabled cal ring local eal server-u
在application.properties中,添加 spring.application.name=Spring Boot Admin Web
spring.boot.admin.url=http://localhost:${server.port}
spring.jackson.serialization.indent_output=true
endpoints.health.sensitive=false
management.security.enabled=false
ribbon.ReadTimeout=60000
ribbon.ConnectTimeout=60000
@EnableAdminServer
<dependency>
<groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin-server</artifactId>
<version>1.5.7</version>
</dependency>
<dependency>
<groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin-server-ui</artifactId>
<version>1.5.7</version>
</dependency>
<dependency>
<groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin-starter-client</artifactId>
<version>1.5.7</version>
</dependency>
标签:XML ribbon 启动 enabled cal ring local eal server-u
原文地址:http://blog.51cto.com/6612493/2286807