OCS-76 status response is not correct as per wiki
authortanghua <tang.hua52@zte.com.cn>
Sat, 8 Oct 2016 02:57:23 +0000 (10:57 +0800)
committertanghua <tang.hua52@zte.com.cn>
Sat, 8 Oct 2016 02:57:23 +0000 (10:57 +0800)
bug: OCS-76
change status default value to 1

Change-Id: Icaa6d82b287cc08602f47cd4f1574f73b66ed906
Signed-off-by: tanghua <tang.hua52@zte.com.cn>
msb-core/apiroute/apiroute-service/src/main/java/org/openo/msb/wrapper/util/MicroServiceDB.java

index 98e051f..5a7da2f 100644 (file)
@@ -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");