Commit fd82e441 by Nepxion

增加Spring Boot Admin功能

parent 82cf3bcb
......@@ -52,6 +52,11 @@
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin-starter-server</artifactId>
</dependency>
......
......@@ -72,6 +72,11 @@
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin-starter-client</artifactId>
</dependency>
......
......@@ -37,4 +37,6 @@ spring.redis.pool.min-idle=0
management.security.enabled=false
# 该项只对Consul有效,而且必须配置在bootstrap.properties里,配置在application.properties无效
# management.health.consul.enabled=true
management.endpoints.web.exposure.include=*
management.endpoints.jmx.exposure.include=*
spring.boot.admin.url=http://localhost:5555
\ No newline at end of file
......@@ -77,6 +77,11 @@
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin-starter-client</artifactId>
</dependency>
......
......@@ -37,6 +37,8 @@ spring.redis.pool.min-idle=0
management.security.enabled=false
# 该项只对Consul有效,而且必须配置在bootstrap.properties里,配置在application.properties无效
# management.health.consul.enabled=true
management.endpoints.web.exposure.include=*
management.endpoints.jmx.exposure.include=*
spring.boot.admin.url=http://localhost:5555
# Plugin config
......
......@@ -82,6 +82,11 @@
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin-starter-client</artifactId>
</dependency>
......
......@@ -38,6 +38,8 @@ spring.redis.pool.min-idle=0
management.security.enabled=false
# 该项只对Consul有效,而且必须配置在bootstrap.properties里,配置在application.properties无效
# management.health.consul.enabled=true
management.endpoints.web.exposure.include=*
management.endpoints.jmx.exposure.include=*
spring.boot.admin.url=http://localhost:5555
# Plugin config
......
......@@ -77,6 +77,11 @@
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin-starter-client</artifactId>
</dependency>
......
......@@ -37,6 +37,8 @@ spring.redis.pool.min-idle=0
management.security.enabled=false
# 该项只对Consul有效,而且必须配置在bootstrap.properties里,配置在application.properties无效
# management.health.consul.enabled=true
management.endpoints.web.exposure.include=*
management.endpoints.jmx.exposure.include=*
spring.boot.admin.url=http://localhost:5555
# Plugin config
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment