summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortanghua <tang.hua52@zte.com.cn>2016-10-08 10:57:23 +0800
committertanghua <tang.hua52@zte.com.cn>2016-10-08 10:57:23 +0800
commit7bcdd205c508e65ab264cdab0cd5984ea9b89c47 (patch)
tree5476f1b77e9f87daf7ba5eb866b80ae2c2a7f85e
parented32196391ae54cd58ecdf2e5e15ce89570b0dd1 (diff)
OCS-76 status response is not correct as per wiki
bug: OCS-76 change status default value to 1 Change-Id: Icaa6d82b287cc08602f47cd4f1574f73b66ed906 Signed-off-by: tanghua <tang.hua52@zte.com.cn>
-rw-r--r--msb-core/apiroute/apiroute-service/src/main/java/org/openo/msb/wrapper/util/MicroServiceDB.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/msb-core/apiroute/apiroute-service/src/main/java/org/openo/msb/wrapper/util/MicroServiceDB.java b/msb-core/apiroute/apiroute-service/src/main/java/org/openo/msb/wrapper/util/MicroServiceDB.java
index 98e051f..5a7da2f 100644
--- a/msb-core/apiroute/apiroute-service/src/main/java/org/openo/msb/wrapper/util/MicroServiceDB.java
+++ b/msb-core/apiroute/apiroute-service/src/main/java/org/openo/msb/wrapper/util/MicroServiceDB.java
@@ -107,7 +107,7 @@ public class MicroServiceDB {
serviceInfoMap.put("protocol", microServiceInfo.getProtocol());
serviceInfoMap.put("visualRange",microServiceInfo.getVisualRange());
serviceInfoMap.put("lb_policy",microServiceInfo.getLb_policy());
- serviceInfoMap.put("status", "0");
+ serviceInfoMap.put("status", "1");