-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: optimize the discovery inject logic and fix nacos config not working issue * feat: 删除无用的导入 * feat: 增加actuator到demo中 * fix: add lossless healthcheck for example * fix: add configuration comments * fix: 修复事件日志不输出的问题 * release: release version to 1.7.0-RC1 * feat: new add java agent for hoxton * feat: support service registry and config * feat: refrator all inject logics into BeanInjector * feat: add gray release example & dispatch bean register into plugins * feat: add environment parameter to obtain the configuration * feat: 增加元数据传输相关拦截器 * feat: 调整example打包脚本 * fix: 修复脚本没法跳转的问题 * fix: 修正样例的配置文件
- Loading branch information
1 parent
52229ed
commit 07d5773
Showing
8 changed files
with
44 additions
and
123 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
...hoxton-examples/gray-release-examples/service-a/src/main/resources/application.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
server.port=65203 | ||
|
||
spring.application.name=service-a-hoxton | ||
spring.cloud.nacos.discovery.enabled=false | ||
spring.cloud.nacos.discovery.server-addr=127.0.0.1:8848 | ||
spring.cloud.nacos.config.enabled=false | ||
spring.cloud.nacos.config.serverAddr=127.0.0.1:8848 | ||
spring.cloud.nacos.username='nacos' | ||
spring.cloud.nacos.password='nacos' | ||
management.endpoint.health.show-details=always | ||
management.endpoints.web.exposure.include='*' | ||
feign.hystrix.enabled=true |
27 changes: 0 additions & 27 deletions
27
...cloud-hoxton-examples/gray-release-examples/service-a/src/main/resources/application.yaml
This file was deleted.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
...hoxton-examples/gray-release-examples/service-b/src/main/resources/application.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
server.port=65202 | ||
|
||
spring.application.name=service-b-hoxton | ||
spring.cloud.nacos.discovery.enabled=false | ||
spring.cloud.nacos.discovery.server-addr=127.0.0.1:8848 | ||
spring.cloud.nacos.config.enabled=false | ||
spring.cloud.nacos.config.serverAddr=127.0.0.1:8848 | ||
spring.cloud.nacos.username='nacos' | ||
spring.cloud.nacos.password='nacos' | ||
management.endpoint.health.show-details=always | ||
management.endpoints.web.exposure.include='*' |
30 changes: 0 additions & 30 deletions
30
...cloud-hoxton-examples/gray-release-examples/service-b/src/main/resources/application.yaml
This file was deleted.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
...hoxton-examples/gray-release-examples/service-c/src/main/resources/application.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
server.port=65201 | ||
|
||
spring.application.name=service-c-hoxton | ||
spring.cloud.nacos.discovery.enabled=false | ||
spring.cloud.nacos.discovery.server-addr=127.0.0.1:8848 | ||
spring.cloud.nacos.config.enabled=false | ||
spring.cloud.nacos.config.serverAddr=127.0.0.1:8848 | ||
spring.cloud.nacos.username='nacos' | ||
spring.cloud.nacos.password='nacos' | ||
management.endpoint.health.show-details=always | ||
management.endpoints.web.exposure.include='*' |
30 changes: 0 additions & 30 deletions
30
...cloud-hoxton-examples/gray-release-examples/service-c/src/main/resources/application.yaml
This file was deleted.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
...-examples/gray-release-examples/service-gateway/src/main/resources/application.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
server.port=65200 | ||
|
||
spring.application.name=sc-gateway-hoxton | ||
spring.cloud.nacos.discovery.enabled=false | ||
spring.cloud.nacos.discovery.server-addr=127.0.0.1:8848 | ||
spring.cloud.nacos.config.enabled=false | ||
spring.cloud.nacos.config.serverAddr=127.0.0.1:8848 | ||
spring.cloud.nacos.username='nacos' | ||
spring.cloud.nacos.password='nacos' | ||
spring.cloud.gateway.discovery.locator.enabled=true |
36 changes: 0 additions & 36 deletions
36
...hoxton-examples/gray-release-examples/service-gateway/src/main/resources/application.yaml
This file was deleted.
Oops, something went wrong.