Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
springcloud
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
service user
springcloud
Commits
43c5977d
Commit
43c5977d
authored
May 16, 2019
by
howard Lee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新配置中心
parent
8b496c62
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
13 deletions
+3
-13
readme
configserverSR/readme
+3
-13
No files found.
configserverSR/readme
View file @
43c5977d
[1] 2.0.2的版本#management.endpoints.web.exposure.include=*不能用了,官方禁止多个覆盖。可以改为
在开启actuator之后,http://localhost:1112/actuator/bus-refresh/demo:** 是向配置总线控制刷新代码配置
management:
endpoints:
web:
exposure:
include: bus-refresh,shutdown
[2] 在开启actuator之后,http://localhost:1112/actuator/bus-refresh/demo:** 是向配置总线控制刷新代码配置
start "授权服务器" java -jar -
Dspring.profiles.active=dev -Xmx300m configserver
.jar
start "授权服务器" java -jar -
Xmx300m configserverSR
.jar
start "授权服务器" java -jar -Dspring.profiles.active=prod -Xmx300m configserver.jar
mvn clean package
mvn clean package -Dspring.profiles.active=prod
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment