Skip to content

Commit

Permalink
Merge pull request #42 from provenceee/fix-springcloud
Browse files Browse the repository at this point in the history
*修复灰度发布和降级不生效的bug
  • Loading branch information
provenceee authored Aug 25, 2023
2 parents c4d1486 + 6962b11 commit b71b911
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 29 deletions.
8 changes: 0 additions & 8 deletions fusionweather/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,6 @@
<artifactId>spring-cloud-starter-huawei-service-engine</artifactId>
<groupId>com.huaweicloud</groupId>
</dependency>
<dependency>
<artifactId>spring-cloud-starter-huawei-config</artifactId>
<groupId>com.huaweicloud</groupId>
</dependency>
<dependency>
<artifactId>spring-cloud-starter-huawei-swagger</artifactId>
<groupId>com.huaweicloud</groupId>
</dependency>
<dependency>
<artifactId>slf4j-log4j12</artifactId>
<groupId>org.slf4j</groupId>
Expand Down
3 changes: 3 additions & 0 deletions fusionweather/src/main/resources/bootstrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ spring:
name: fusionweather
cloud:
servicecomb:
context:
query-context-mapper:
city: city
discovery:
version: 0.0.2
address: ${PAAS_CSE_SC_ENDPOINT:http://127.0.0.1:30100}
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<properties>
<spring-boot.version>2.6.13</spring-boot.version>
<spring-cloud-huawei.version>1.10.10-2021.0.x</spring-cloud-huawei.version>
<spring-cloud-huawei.version>1.10.13-2021.0.x</spring-cloud-huawei.version>
<spring-cloud.version>2021.0.5</spring-cloud.version>
<servicecomb.version>2.5.2</servicecomb.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
8 changes: 0 additions & 8 deletions weather-beta/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,6 @@
<artifactId>spring-cloud-starter-huawei-service-engine</artifactId>
<groupId>com.huaweicloud</groupId>
</dependency>
<dependency>
<artifactId>spring-cloud-starter-huawei-config</artifactId>
<groupId>com.huaweicloud</groupId>
</dependency>
<dependency>
<artifactId>spring-cloud-starter-huawei-swagger</artifactId>
<groupId>com.huaweicloud</groupId>
</dependency>
<!-- using log4j -->
<dependency>
<artifactId>slf4j-log4j12</artifactId>
Expand Down
12 changes: 0 additions & 12 deletions weather/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,6 @@
<artifactId>spring-cloud-starter-huawei-service-engine</artifactId>
<groupId>com.huaweicloud</groupId>
</dependency>
<dependency>
<artifactId>spring-cloud-starter-huawei-config</artifactId>
<groupId>com.huaweicloud</groupId>
</dependency>
<dependency>
<artifactId>spring-cloud-starter-huawei-swagger</artifactId>
<groupId>com.huaweicloud</groupId>
</dependency>
<dependency>
<groupId>com.huaweicloud</groupId>
<artifactId>spring-cloud-starter-huawei-governance</artifactId>
</dependency>
<!-- using log4j -->
<dependency>
<artifactId>slf4j-log4j12</artifactId>
Expand Down

0 comments on commit b71b911

Please sign in to comment.