forked from polarismesh/polaris-java-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
fredrikliu
committed
Jun 20, 2024
1 parent
42e433f
commit dc0823f
Showing
8 changed files
with
90 additions
and
128 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
...loud-2023-examples/quickstart-examples/consumer/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,27 @@ | ||
#server.port=65002 | ||
#spring.application.name=service-consumer-2023 | ||
#management.endpoints.web.exposure.include=* | ||
#spring.cloud.nacos.discovery.server-addr=111.230.121.115:8848 | ||
#spring.cloud.nacos.config.server-addr=111.230.121.115:8848 | ||
#spring.cloud.nacos.discovery.fail-fast=true | ||
#spring.cloud.nacos.discovery.enabled=true | ||
#spring.cloud.nacos.config.enabled=true | ||
#spring.cloud.nacos.username=nacos | ||
#spring.cloud.nacos.password=uu3T2L9q | ||
# | ||
#feign.sentinel.enabled=true | ||
# | ||
#spring.cloud.sentinel.transport.dashboard=localhost:8080 | ||
#spring.cloud.sentinel.eager=true | ||
# | ||
#spring.cloud.sentinel.datasource.ds1.file.file=classpath: flowrule.json | ||
#spring.cloud.sentinel.datasource.ds1.file.data-type=json | ||
#spring.cloud.sentinel.datasource.ds1.file.rule-type=flow | ||
# | ||
#spring.cloud.sentinel.datasource.ds2.file.file=classpath: degraderule.json | ||
#spring.cloud.sentinel.datasource.ds2.file.data-type=json | ||
#spring.cloud.sentinel.datasource.ds2.file.rule-type=degrade | ||
#spring.cloud.loadbalancer.nacos.enabled=true | ||
## use feign client in GraalVM environment need to set below config | ||
#spring.cloud.refresh.enabled=false | ||
#spring.main.allow-circular-references=true |
32 changes: 0 additions & 32 deletions
32
...ring-cloud-2023-examples/quickstart-examples/consumer/src/main/resources/application.yaml
This file was deleted.
Oops, something went wrong.
27 changes: 27 additions & 0 deletions
27
...-cloud-2023-examples/quickstart-examples/consumer/src/main/resources/bootstrap.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,27 @@ | ||
server.port=65002 | ||
spring.application.name=service-consumer-2022 | ||
management.endpoints.web.exposure.include=* | ||
spring.cloud.nacos.discovery.server-addr=111.230.121.115:8848 | ||
spring.cloud.nacos.config.server-addr=111.230.121.115:8848 | ||
spring.cloud.nacos.discovery.fail-fast=true | ||
spring.cloud.nacos.discovery.enabled=true | ||
spring.cloud.nacos.config.enabled=true | ||
spring.cloud.nacos.username=nacos | ||
spring.cloud.nacos.password=uu3T2L9q | ||
|
||
feign.sentinel.enabled=true | ||
|
||
spring.cloud.sentinel.transport.dashboard=localhost:8080 | ||
spring.cloud.sentinel.eager=true | ||
|
||
spring.cloud.sentinel.datasource.ds1.file.file=classpath: flowrule.json | ||
spring.cloud.sentinel.datasource.ds1.file.data-type=json | ||
spring.cloud.sentinel.datasource.ds1.file.rule-type=flow | ||
|
||
spring.cloud.sentinel.datasource.ds2.file.file=classpath: degraderule.json | ||
spring.cloud.sentinel.datasource.ds2.file.data-type=json | ||
spring.cloud.sentinel.datasource.ds2.file.rule-type=degrade | ||
spring.cloud.loadbalancer.nacos.enabled=true | ||
# use feign client in GraalVM environment need to set below config | ||
spring.cloud.refresh.enabled=false | ||
spring.main.allow-circular-references=true |
32 changes: 0 additions & 32 deletions
32
...spring-cloud-2023-examples/quickstart-examples/consumer/src/main/resources/bootstrap.yaml
This file was deleted.
Oops, something went wrong.
18 changes: 18 additions & 0 deletions
18
...loud-2023-examples/quickstart-examples/provider/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,18 @@ | ||
server.port=65001 | ||
spring.application.name=service-provider-2022 | ||
spring.cloud.nacos.discovery.server-addr=127.0.0.1:8848 | ||
spring.cloud.nacos.config.server-addr=111.230.121.115:8848 | ||
spring.cloud.nacos.config.enabled=true | ||
spring.cloud.nacos.discovery.enabled=true | ||
#spring.cloud.nacos.discovery.instance-enabled=true | ||
#only register IPv4 instance | ||
#spring.cloud.nacos.discovery.ip-type=IPv4 | ||
#only register IPv6 instance | ||
#spring.cloud.nacos.discovery.ip-type=IPv6 | ||
|
||
spring.cloud.nacos.username=nacos | ||
spring.cloud.nacos.password=nacos | ||
|
||
management.endpoints.web.exposure.include=* | ||
management.endpoint.health.show-details=always | ||
spring.main.allow-circular-references=true |
32 changes: 0 additions & 32 deletions
32
...ring-cloud-2023-examples/quickstart-examples/provider/src/main/resources/application.yaml
This file was deleted.
Oops, something went wrong.
18 changes: 18 additions & 0 deletions
18
...-cloud-2023-examples/quickstart-examples/provider/src/main/resources/bootstrap.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,18 @@ | ||
server.port=65001 | ||
spring.application.name=service-provider-2022 | ||
spring.cloud.nacos.discovery.server-addr=127.0.0.1:8848 | ||
spring.cloud.nacos.config.server-addr=111.230.121.115:8848 | ||
spring.cloud.nacos.config.enabled=true | ||
spring.cloud.nacos.discovery.enabled=true | ||
#spring.cloud.nacos.discovery.instance-enabled=true | ||
#only register IPv4 instance | ||
#spring.cloud.nacos.discovery.ip-type=IPv4 | ||
#only register IPv6 instance | ||
#spring.cloud.nacos.discovery.ip-type=IPv6 | ||
|
||
spring.cloud.nacos.username=nacos | ||
spring.cloud.nacos.password=nacos | ||
|
||
management.endpoints.web.exposure.include=* | ||
management.endpoint.health.show-details=always | ||
spring.main.allow-circular-references=true |
32 changes: 0 additions & 32 deletions
32
...spring-cloud-2023-examples/quickstart-examples/provider/src/main/resources/bootstrap.yaml
This file was deleted.
Oops, something went wrong.