记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
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
董敬伟
liquidnet-bus-v1
Commits
ce40b583
Commit
ce40b583
authored
Jun 01, 2021
by
anjiabin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交测试配置
parent
3a1c092a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
12 deletions
+12
-12
application-test-server1.yml
...rt-eureka/src/main/resources/application-test-server1.yml
+4
-4
application-test-server2.yml
...rt-eureka/src/main/resources/application-test-server2.yml
+4
-4
application-test-server3.yml
...rt-eureka/src/main/resources/application-test-server3.yml
+4
-4
No files found.
liquidnet-bus-support/liquidnet-support-eureka/src/main/resources/application-test-server1.yml
View file @
ce40b583
...
@@ -13,7 +13,7 @@ spring:
...
@@ -13,7 +13,7 @@ spring:
eureka
:
eureka
:
instance
:
instance
:
hostname
:
eureka-server1
hostname
:
172.17.207.177
preferIpAddress
:
true
preferIpAddress
:
true
health-check-url
:
http://localhost:${server.port}${server.servlet.context-path}/actuator/health
health-check-url
:
http://localhost:${server.port}${server.servlet.context-path}/actuator/health
status-page-url
:
http://localhost:${server.port}${server.servlet.context-path}/actuator/info
status-page-url
:
http://localhost:${server.port}${server.servlet.context-path}/actuator/info
...
@@ -25,10 +25,10 @@ eureka:
...
@@ -25,10 +25,10 @@ eureka:
enable-self-preservation
:
false
# 设为false,关闭自我保护 #自我保护设置 解决Eureka Server不踢出已关停的节点的问题,同时客户端也需要配置
enable-self-preservation
:
false
# 设为false,关闭自我保护 #自我保护设置 解决Eureka Server不踢出已关停的节点的问题,同时客户端也需要配置
eviction-interval-timer-in-ms
:
4000
# 清理间隔(单位毫秒,默认是60*1000)
eviction-interval-timer-in-ms
:
4000
# 清理间隔(单位毫秒,默认是60*1000)
client
:
client
:
register-with-eureka
:
fals
e
#禁止自己当做服务注册
register-with-eureka
:
tru
e
#禁止自己当做服务注册
fetch-registry
:
fals
e
#屏蔽注册信息
fetch-registry
:
tru
e
#屏蔽注册信息
serviceUrl
:
serviceUrl
:
defaultZone
:
http://${spring.security.user.name}:${spring.security.user.password}@
eureka-server2:7001${server.servlet.context-path}/eureka,http://${spring.security.user.name}:${spring.security.user.password}@eureka-server3
:7001${server.servlet.context-path}/eureka
defaultZone
:
http://${spring.security.user.name}:${spring.security.user.password}@
172.17.121.157:7001${server.servlet.context-path}/eureka,http://${spring.security.user.name}:${spring.security.user.password}@172.17.121.158
:7001${server.servlet.context-path}/eureka
# instance:
# instance:
# prefer-ip-address: true
# prefer-ip-address: true
# instance-id: ${spring.application.name}:${server.port}
# instance-id: ${spring.application.name}:${server.port}
...
...
liquidnet-bus-support/liquidnet-support-eureka/src/main/resources/application-test-server2.yml
View file @
ce40b583
...
@@ -13,7 +13,7 @@ spring:
...
@@ -13,7 +13,7 @@ spring:
eureka
:
eureka
:
instance
:
instance
:
hostname
:
eureka-server2
hostname
:
172.17.121.157
preferIpAddress
:
true
preferIpAddress
:
true
health-check-url
:
http://localhost:${server.port}${server.servlet.context-path}/actuator/health
health-check-url
:
http://localhost:${server.port}${server.servlet.context-path}/actuator/health
status-page-url
:
http://localhost:${server.port}${server.servlet.context-path}/actuator/info
status-page-url
:
http://localhost:${server.port}${server.servlet.context-path}/actuator/info
...
@@ -25,10 +25,10 @@ eureka:
...
@@ -25,10 +25,10 @@ eureka:
enable-self-preservation
:
false
# 设为false,关闭自我保护 #自我保护设置 解决Eureka Server不踢出已关停的节点的问题,同时客户端也需要配置
enable-self-preservation
:
false
# 设为false,关闭自我保护 #自我保护设置 解决Eureka Server不踢出已关停的节点的问题,同时客户端也需要配置
eviction-interval-timer-in-ms
:
4000
# 清理间隔(单位毫秒,默认是60*1000)
eviction-interval-timer-in-ms
:
4000
# 清理间隔(单位毫秒,默认是60*1000)
client
:
client
:
register-with-eureka
:
fals
e
#禁止自己当做服务注册
register-with-eureka
:
tru
e
#禁止自己当做服务注册
fetch-registry
:
fals
e
#屏蔽注册信息
fetch-registry
:
tru
e
#屏蔽注册信息
serviceUrl
:
serviceUrl
:
defaultZone
:
http://${spring.security.user.name}:${spring.security.user.password}@
eureka-server1:7001${server.servlet.context-path}/eureka,http://${spring.security.user.name}:${spring.security.user.password}@eureka-server3
:7001${server.servlet.context-path}/eureka
defaultZone
:
http://${spring.security.user.name}:${spring.security.user.password}@
172.17.207.177:7001${server.servlet.context-path}/eureka,http://${spring.security.user.name}:${spring.security.user.password}@172.17.121.158
:7001${server.servlet.context-path}/eureka
# instance:
# instance:
# prefer-ip-address: true
# prefer-ip-address: true
# instance-id: ${spring.application.name}:${server.port}
# instance-id: ${spring.application.name}:${server.port}
...
...
liquidnet-bus-support/liquidnet-support-eureka/src/main/resources/application-test-server3.yml
View file @
ce40b583
...
@@ -13,7 +13,7 @@ spring:
...
@@ -13,7 +13,7 @@ spring:
eureka
:
eureka
:
instance
:
instance
:
hostname
:
eureka-server3
hostname
:
172.17.121.158
preferIpAddress
:
true
preferIpAddress
:
true
health-check-url
:
http://localhost:${server.port}${server.servlet.context-path}/actuator/health
health-check-url
:
http://localhost:${server.port}${server.servlet.context-path}/actuator/health
status-page-url
:
http://localhost:${server.port}${server.servlet.context-path}/actuator/info
status-page-url
:
http://localhost:${server.port}${server.servlet.context-path}/actuator/info
...
@@ -25,10 +25,10 @@ eureka:
...
@@ -25,10 +25,10 @@ eureka:
enable-self-preservation
:
false
# 设为false,关闭自我保护 #自我保护设置 解决Eureka Server不踢出已关停的节点的问题,同时客户端也需要配置
enable-self-preservation
:
false
# 设为false,关闭自我保护 #自我保护设置 解决Eureka Server不踢出已关停的节点的问题,同时客户端也需要配置
eviction-interval-timer-in-ms
:
4000
# 清理间隔(单位毫秒,默认是60*1000)
eviction-interval-timer-in-ms
:
4000
# 清理间隔(单位毫秒,默认是60*1000)
client
:
client
:
register-with-eureka
:
fals
e
#禁止自己当做服务注册
register-with-eureka
:
tru
e
#禁止自己当做服务注册
fetch-registry
:
fals
e
#屏蔽注册信息
fetch-registry
:
tru
e
#屏蔽注册信息
serviceUrl
:
serviceUrl
:
defaultZone
:
http://${spring.security.user.name}:${spring.security.user.password}@
eureka-server1:7001${server.servlet.context-path}/eureka,http://${spring.security.user.name}:${spring.security.user.password}@eureka-server2
:7001${server.servlet.context-path}/eureka
defaultZone
:
http://${spring.security.user.name}:${spring.security.user.password}@
172.17.207.177:7001${server.servlet.context-path}/eureka,http://${spring.security.user.name}:${spring.security.user.password}@172.17.121.157
:7001${server.servlet.context-path}/eureka
# instance:
# instance:
# prefer-ip-address: true
# prefer-ip-address: true
# instance-id: ${spring.application.name}:${server.port}
# instance-id: ${spring.application.name}:${server.port}
...
...
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