Commit 43c5977d authored by howard Lee's avatar howard Lee

更新配置中心

parent 8b496c62
[1] 2.0.2的版本#management.endpoints.web.exposure.include=*不能用了,官方禁止多个覆盖。可以改为
management:
endpoints:
web:
exposure:
include: bus-refresh,shutdown
在开启actuator之后,http://localhost:1112/actuator/bus-refresh/demo:** 是向配置总线控制刷新代码配置
start "授权服务器" java -jar -Xmx300m configserverSR.jar
[2] 在开启actuator之后,http://localhost:1112/actuator/bus-refresh/demo:** 是向配置总线控制刷新代码配置
start "授权服务器" java -jar -Dspring.profiles.active=dev -Xmx300m configserver.jar
start "授权服务器" java -jar -Dspring.profiles.active=prod -Xmx300m configserver.jar
mvn clean package -Dspring.profiles.active=prod
mvn clean package
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