Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change example #181

Merged
merged 1 commit into from
May 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,46 +3,46 @@ server:
spring:
application:
name: QuickstartCalleeService
# cloud:
# polaris:
# address: grpc://127.0.0.1:8091
# namespace: default
## enabled: true
# discovery:
# enabled: true
# register: true
# contract:
# exposure: true
# report:
# enabled: false
# stat:
# enabled: true
# port: 28083
# # pushgateway:
# # enabled: true
# # address: 127.0.0.1:9091
# config:
# address: grpc://127.0.0.1:8093
# auto-refresh: true
# groups:
# - name: ${spring.application.name}
# files: [ "config/callee.properties" ]
# ratelimit:
# enabled: true
# rejectRequestTipsFilePath: reject-tips.html
# maxQueuingTime: 500
# tencent:
# metadata:
# content:
# label1: value1
# region: huanan
#management:
# endpoints:
# web:
# exposure:
# include:
# - polaris-discovery
# - polaris-ratelimit
# - polaris-config
#label:
# key-value: user:zhangsan
cloud:
polaris:
address: grpc://127.0.0.1:8091
namespace: default
enabled: true
discovery:
enabled: true
register: true
contract:
exposure: true
report:
enabled: false
stat:
enabled: true
port: 28083
# pushgateway:
# enabled: true
# address: 127.0.0.1:9091
config:
address: grpc://127.0.0.1:8093
auto-refresh: true
groups:
- name: ${spring.application.name}
files: [ "config/callee.properties" ]
ratelimit:
enabled: true
rejectRequestTipsFilePath: reject-tips.html
maxQueuingTime: 500
tencent:
metadata:
content:
label1: value1
region: huanan
management:
endpoints:
web:
exposure:
include:
- polaris-discovery
- polaris-ratelimit
- polaris-config
label:
key-value: user:zhangsan
Original file line number Diff line number Diff line change
Expand Up @@ -3,45 +3,45 @@ server:
spring:
application:
name: QuickstartCalleeService
# cloud:
# polaris:
# address: grpc://127.0.0.1:8091
# namespace: default
# enabled: true
# discovery:
# enabled: true
# register: true
# contract:
# exposure: true
# report:
# enabled: false
# stat:
# enabled: true
# port: 28084
# # pushgateway:
# # enabled: true
# # address: 127.0.0.1:9091
# config:
# address: grpc://127.0.0.1:8093
# auto-refresh: true
# groups:
# - name: ${spring.application.name}
# files: [ "config/callee.properties" ]
# ratelimit:
# enabled: true
# maxQueuingTime: 500
# tencent:
# metadata:
# content:
# label1: value2
# region: huanan
#management:
# endpoints:
# web:
# exposure:
# include:
# - polaris-discovery
# - polaris-ratelimit
# - polaris-config
#label:
# key-value: user2:lisi
cloud:
polaris:
address: grpc://127.0.0.1:8091
namespace: default
enabled: true
discovery:
enabled: true
register: true
contract:
exposure: true
report:
enabled: false
stat:
enabled: true
port: 28084
# pushgateway:
# enabled: true
# address: 127.0.0.1:9091
config:
address: grpc://127.0.0.1:8093
auto-refresh: true
groups:
- name: ${spring.application.name}
files: [ "config/callee.properties" ]
ratelimit:
enabled: true
maxQueuingTime: 500
tencent:
metadata:
content:
label1: value2
region: huanan
management:
endpoints:
web:
exposure:
include:
- polaris-discovery
- polaris-ratelimit
- polaris-config
label:
key-value: user2:lisi
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@
<relativePath/>
</parent>

<packaging>jar</packaging>
<version>1.7.0</version>
<artifactId>caller-service</artifactId>
<name>Quickstart Caller Service</name>

<properties>
<spring.cloud.version>Hoxton.SR12</spring.cloud.version>
<spring.cloud.tencent.version>1.14.0-Hoxton.SR12-SNAPSHOT</spring.cloud.tencent.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<modules>
<module>quickstart-examples</module>
<module>gray-release-examples</module>
<module>circuitbreaker-examples</module>
</modules>

</project>