summaryrefslogtreecommitdiffstats
path: root/holmes-actions/src/main
diff options
context:
space:
mode:
authorGuangrong Fu <fu.guangrong@zte.com.cn>2017-03-09 08:26:01 +0000
committerGerrit Code Review <gerrit@open-o.org>2017-03-09 08:26:01 +0000
commit9a197a9d3edf2d0ef24a3b2f417e918cff07dab5 (patch)
treeec0825a96ecf83f564f8895b6dbb0d83c5464418 /holmes-actions/src/main
parent856f8ea7b4ef68bc730218bafb357880df56e0b8 (diff)
parentb74fa798b62bfa5b45e567c9b2c9c57b5dae97ad (diff)
Merge "Fix register micro service code"
Diffstat (limited to 'holmes-actions/src/main')
-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()));
}