Skip to content

Commit

Permalink
Merge pull request #130 from SonicCloudOrg/v1.3.1-release
Browse files Browse the repository at this point in the history
V1.3.1 release
  • Loading branch information
ZhouYixun authored Feb 24, 2022
2 parents f16fe9f + 2ce3abc commit 02d287c
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 15 deletions.
14 changes: 7 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
services:
sonic-server-eureka:
image: "sonicorg/sonic-server-eureka:v1.3.1-beta"
image: "sonicorg/sonic-server-eureka:v1.3.1-release"
hostname: sonic-server-eureka
environment:
- EUREKA_HOST=sonic-server-eureka
Expand All @@ -12,7 +12,7 @@ services:
ports:
- "9090:9090"
sonic-server-bus:
image: "sonicorg/sonic-server-bus:v1.3.1-beta"
image: "sonicorg/sonic-server-bus:v1.3.1-release"
environment:
- PROFILE=prod
- EUREKA_URL=http://sonic:sonic@sonic-server-eureka:9090/eureka/
Expand All @@ -24,7 +24,7 @@ services:
depends_on:
- sonic-server-eureka
sonic-server-gateway:
image: "sonicorg/sonic-server-gateway:v1.3.1-beta"
image: "sonicorg/sonic-server-gateway:v1.3.1-release"
environment:
- PROFILE=prod
- EUREKA_URL=http://sonic:sonic@sonic-server-eureka:9090/eureka/
Expand All @@ -38,7 +38,7 @@ services:
ports:
- "8094:8094"
sonic-server-controller:
image: "sonicorg/sonic-server-controller:v1.3.1-beta"
image: "sonicorg/sonic-server-controller:v1.3.1-release"
environment:
- PROFILE=prod
- EUREKA_URL=http://sonic:sonic@sonic-server-eureka:9090/eureka/
Expand All @@ -51,7 +51,7 @@ services:
- sonic-server-eureka
- sonic-server-gateway
sonic-server-folder:
image: "sonicorg/sonic-server-folder:v1.3.1-beta"
image: "sonicorg/sonic-server-folder:v1.3.1-release"
environment:
- PROFILE=prod
- EUREKA_URL=http://sonic:sonic@sonic-server-eureka:9090/eureka/
Expand All @@ -68,7 +68,7 @@ services:
- sonic-server-eureka
- sonic-server-gateway
sonic-server-task:
image: "sonicorg/sonic-server-task:v1.3.1-beta"
image: "sonicorg/sonic-server-task:v1.3.1-release"
environment:
- PROFILE=prod
- EUREKA_URL=http://sonic:sonic@sonic-server-eureka:9090/eureka/
Expand All @@ -81,7 +81,7 @@ services:
- sonic-server-eureka
- sonic-server-gateway
sonic-server-transport:
image: "sonicorg/sonic-server-transport:v1.3.1-beta"
image: "sonicorg/sonic-server-transport:v1.3.1-release"
environment:
- PROFILE=prod
- EUREKA_URL=http://sonic:sonic@sonic-server-eureka:9090/eureka/
Expand Down
2 changes: 1 addition & 1 deletion sonic-server-bus/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>

<artifactId>sonic-server-bus</artifactId>
<version>1.3.1-beta</version>
<version>1.3.1-release</version>
<packaging>jar</packaging>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion sonic-server-controller/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>

<artifactId>sonic-server-controller</artifactId>
<version>1.3.1-beta</version>
<version>1.3.1-release</version>
<packaging>jar</packaging>

<!-- 依赖列表 -->
Expand Down
2 changes: 1 addition & 1 deletion sonic-server-eureka/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>

<artifactId>sonic-server-eureka</artifactId>
<version>1.3.1-beta</version>
<version>1.3.1-release</version>
<packaging>jar</packaging>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion sonic-server-folder/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>

<artifactId>sonic-server-folder</artifactId>
<version>1.3.1-beta</version>
<version>1.3.1-release</version>
<packaging>jar</packaging>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion sonic-server-gateway/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>

<artifactId>sonic-server-gateway</artifactId>
<version>1.3.1-beta</version>
<version>1.3.1-release</version>
<packaging>jar</packaging>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion sonic-server-task/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>

<artifactId>sonic-server-task</artifactId>
<version>1.3.1-beta</version>
<version>1.3.1-release</version>
<packaging>jar</packaging>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion sonic-server-transport/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>

<artifactId>sonic-server-transport</artifactId>
<version>1.3.1-beta</version>
<version>1.3.1-release</version>
<packaging>jar</packaging>

<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public RespModel reboot(@RequestParam(name = "id") int id) {
RespModel device = controllerFeignClient.findDeviceById(id);
if (device.getCode() == 2000) {
LinkedHashMap d = (LinkedHashMap) device.getData();
RespModel agent = controllerFeignClient.findKeyById((Integer) d.get("agentId"));
RespModel agent = controllerFeignClient.findAgentById((Integer) d.get("agentId"));
if (agent.getCode() == 2000) {
JSONObject jsonObject = new JSONObject();
jsonObject.put("msg", "reboot");
Expand Down

0 comments on commit 02d287c

Please sign in to comment.