Add log for debugger
authoryoubowu <wu.youbo@zte.com.cn>
Sat, 11 Mar 2017 07:50:54 +0000 (15:50 +0800)
committer6092002067 <wu.youbo@zte.com.cn>
Sat, 11 Mar 2017 07:50:54 +0000 (15:50 +0800)
Issue-ID: HOLMES-50

Change-Id: Ia082df5637b7c59813945d5ee55b8524db014f5b
Signed-off-by: youbowu <wu.youbo@zte.com.cn>
holmes-actions/src/main/java/org/openo/holmes/common/config/MicroServiceConfig.java
holmes-actions/src/main/java/org/openo/holmes/common/msb/MicroserviceBusRest.java

index 44c52d3..05273b8 100644 (file)
@@ -28,7 +28,7 @@ public class MicroServiceConfig {
     }\r
 \r
     public static String getMsbServerAddr() {\r
-        return AlarmConst.HTTP + getProperty("MSB_ADDR") + ":" + AlarmConst.MICRO_SERVICE_PORT;\r
+        return AlarmConst.HTTP + getProperty("MSB_ADDR");\r
     }\r
 \r
     public static String getServiceIp() {\r
index 7d46680..eb9deef 100644 (file)
@@ -24,7 +24,7 @@ import javax.ws.rs.QueryParam;
 import javax.ws.rs.core.MediaType;\r
 import org.openo.holmes.common.api.entity.ServiceRegisterEntity;\r
 \r
-@Path("/api/microservices/v1/services")\r
+@Path("/openoapi/microservices/v1/services")\r
 public interface MicroserviceBusRest {\r
     @Path("")\r
     @POST\r