summaryrefslogtreecommitdiffstats
path: root/holmes-actions/src/main/java
diff options
context:
space:
mode:
authoryoubowu <wu.youbo@zte.com.cn>2017-03-09 16:19:24 +0800
committer6092002067 <wu.youbo@zte.com.cn>2017-03-09 16:19:24 +0800
commitb74fa798b62bfa5b45e567c9b2c9c57b5dae97ad (patch)
tree80befed2782a1b061f09d75f9a301a235c9bf057 /holmes-actions/src/main/java
parent7f9636fd1129bbc7e1a5d3fa96a48ecd73556449 (diff)
Fix register micro service code
Issue-ID:HOLMES-50 Change-Id: I649a457754158096e61dddeb3afd3b2343710993 Signed-off-by: youbowu <wu.youbo@zte.com.cn>
Diffstat (limited to 'holmes-actions/src/main/java')
-rw-r--r--holmes-actions/src/main/java/org/openo/holmes/common/utils/MSBRegisterUtil.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/holmes-actions/src/main/java/org/openo/holmes/common/utils/MSBRegisterUtil.java b/holmes-actions/src/main/java/org/openo/holmes/common/utils/MSBRegisterUtil.java
index ee77be3..fc5e882 100644
--- a/holmes-actions/src/main/java/org/openo/holmes/common/utils/MSBRegisterUtil.java
+++ b/holmes-actions/src/main/java/org/openo/holmes/common/utils/MSBRegisterUtil.java
@@ -40,7 +40,7 @@ public class MSBRegisterUtil {
ObjectMapper mapper = new ObjectMapper();
String content = mapper.writeValueAsString(entity);
HttpPost httpPost = new HttpPost("http://" + MicroServiceConfig.getMsbServerAddr()
- + ":8086/openoapi/microservices/v1/services?createOrUpdate=false");
+ + ":8086/api/microservices/v1/services?createOrUpdate=false");
if (StringUtils.isNotEmpty(content)) {
httpPost.setEntity(new ByteArrayEntity(content.getBytes()));
}