Skip to content

Commit

Permalink
Merge pull request #33 from go-chassis/master
Browse files Browse the repository at this point in the history
修改service comb版本以及修改配置文件
  • Loading branch information
verkulo456 authored Sep 19, 2022
2 parents fee4306 + 05a1efe commit 7b4378b
Show file tree
Hide file tree
Showing 11 changed files with 46 additions and 2 deletions.
2 changes: 1 addition & 1 deletion edge-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<properties>
<demo.main>com.service.edge-service.GatewayApplication</demo.main>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<servicecomb.version>2.6.0</servicecomb.version>
<servicecomb.version>2.7.9</servicecomb.version>
</properties>

<dependencyManagement>
Expand Down
4 changes: 4 additions & 0 deletions edge-service/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ servicecomb:

rest:
address: 0.0.0.0:3010?sslEnabled=false
monitor:
client:
enabled: true
serverUri: http://127.0.0.1:30109

# Here we just give a simple demo.
# The traffic is forwarded to the microservice fusionweather, and the actual scene is much more complex than this
Expand Down
4 changes: 4 additions & 0 deletions forecast/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@
<groupId>org.apache.servicecomb</groupId>
<artifactId>dashboard</artifactId>
</dependency>
<dependency>
<groupId>org.apache.servicecomb</groupId>
<artifactId>handler-router</artifactId>
</dependency>
<dependency>
<groupId>org.apache.servicecomb</groupId>
<artifactId>darklaunch</artifactId>
Expand Down
6 changes: 6 additions & 0 deletions forecast/src/main/resources/microservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ servicecomb:
refresh_interval: 5000
rest:
address: 0.0.0.0:13091
router:
type: router
monitor:
client:
enabled: true
serverUri: http://127.0.0.1:30109
handler:
chain:
Provider:
Expand Down
4 changes: 4 additions & 0 deletions fusionweather/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@
<groupId>org.apache.servicecomb</groupId>
<artifactId>dashboard</artifactId>
</dependency>
<dependency>
<groupId>org.apache.servicecomb</groupId>
<artifactId>handler-router</artifactId>
</dependency>
<dependency>
<groupId>org.apache.servicecomb</groupId>
<artifactId>darklaunch</artifactId>
Expand Down
6 changes: 6 additions & 0 deletions fusionweather/src/main/resources/microservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ servicecomb:
address: 0.0.0.0:13092
request:
timeout: 3000
router:
type: router
monitor:
client:
enabled: true
serverUri: http://127.0.0.1:30109
handler:
chain:
Provider:
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<servicecomb.version>2.6.3</servicecomb.version>
<servicecomb.version>2.7.9</servicecomb.version>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
Expand Down
4 changes: 4 additions & 0 deletions weather-beta/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@
<groupId>org.apache.servicecomb</groupId>
<artifactId>dashboard</artifactId>
</dependency>
<dependency>
<groupId>org.apache.servicecomb</groupId>
<artifactId>handler-router</artifactId>
</dependency>
<dependency>
<groupId>org.apache.servicecomb</groupId>
<artifactId>darklaunch</artifactId>
Expand Down
6 changes: 6 additions & 0 deletions weather-beta/src/main/resources/microservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ servicecomb:
refresh_interval: 5000
rest:
address: 0.0.0.0:13093
router:
type: router
monitor:
client:
enabled: true
serverUri: http://127.0.0.1:30109
handler:
chain:
Provider:
Expand Down
4 changes: 4 additions & 0 deletions weather/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@
<groupId>org.apache.servicecomb</groupId>
<artifactId>dashboard</artifactId>
</dependency>
<dependency>
<groupId>org.apache.servicecomb</groupId>
<artifactId>handler-router</artifactId>
</dependency>
<dependency>
<groupId>org.apache.servicecomb</groupId>
<artifactId>darklaunch</artifactId>
Expand Down
6 changes: 6 additions & 0 deletions weather/src/main/resources/microservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ servicecomb:
compression: false
connection:
idleTimeoutInSeconds: 2
router:
type: router
monitor:
client:
enabled: true
serverUri: http://127.0.0.1:30109
handler:
chain:
Provider:
Expand Down

0 comments on commit 7b4378b

Please sign in to comment.