-
Notifications
You must be signed in to change notification settings - Fork 92
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
sch demo update #95
base: master
Are you sure you want to change the base?
sch demo update #95
Conversation
78bcb27
to
b6a41cb
Compare
canary/canary-consumer/pom.xml
Outdated
<dependency> | ||
<groupId>org.apache.servicecomb</groupId> | ||
<artifactId>provider-springmvc</artifactId> | ||
<version>2.8.4</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
delete version
servicecomb: | ||
routeRule: | ||
canary-provider: | | ||
- precedence: 1 #优先级 | ||
route: #路由规则 | ||
- weight: 80 | ||
tags: | ||
version: 0.0.1 | ||
- weight: 20 | ||
tags: | ||
version: 0.0.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why delete this ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I moved the configuration here to bootstrap.yml.
@@ -14,7 +14,7 @@ spring: | |||
# 注册中心地址,本示例使用ServiceStage环境变量。建议保留这种配置方式,部署的时候,不用手工修改地址。 | |||
address: ${PAAS_CSE_SC_ENDPOINT:http://127.0.0.1:30100} | |||
# 微服务版本号,本示例使用ServiceStage环境变量。建议保留这种配置方式,部署的时候,不用手工修改版本号,防止契约注册失败。 | |||
version: ${CAS_INSTANCE_VERSION:0.0.2} | |||
version: ${CAS_INSTANCE_VERSION:0.0.1} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why change version?
No description provided.