summaryrefslogtreecommitdiffstats
path: root/engine-d/src/main
diff options
context:
space:
mode:
authorGuangrongFu <fu.guangrong@zte.com.cn>2017-03-14 09:09:26 +0800
committerGuangrongFu <fu.guangrong@zte.com.cn>2017-03-14 09:09:26 +0800
commitfb73c92232ed387c64b1a175504d605797a6f505 (patch)
tree9e3e70df88f1ee5616cde842ba9ad96160024153 /engine-d/src/main
parent678100773b8d66e3aaf1875930159fda692ca957 (diff)
Optimize the Registration Logic of MSB
Change-Id: I3b53f4df5ce98301763e1c3f90a9f380a4459674 Issue-ID: HOLMES-50 Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'engine-d/src/main')
-rw-r--r--engine-d/src/main/java/org/openo/holmes/engine/EngineDActiveApp.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine-d/src/main/java/org/openo/holmes/engine/EngineDActiveApp.java b/engine-d/src/main/java/org/openo/holmes/engine/EngineDActiveApp.java
index 46108be..3169f1b 100644
--- a/engine-d/src/main/java/org/openo/holmes/engine/EngineDActiveApp.java
+++ b/engine-d/src/main/java/org/openo/holmes/engine/EngineDActiveApp.java
@@ -43,12 +43,12 @@ public class EngineDActiveApp extends IOCApplication<EngineDAppConfig> {
private ServiceRegisterEntity initServiceEntity() {
ServiceRegisterEntity serviceRegisterEntity = new ServiceRegisterEntity();
- serviceRegisterEntity.setServiceName("holmes-rule-mgmt");
+ serviceRegisterEntity.setServiceName("holmes-engine-mgmt");
serviceRegisterEntity.setProtocol("REST");
serviceRegisterEntity.setVersion("v1");
- serviceRegisterEntity.setUrl("/openoapi/holmes-rule-mgmt/v1");
- serviceRegisterEntity.setSingleNode(MicroServiceConfig.getServiceIp(), "9101", 0);
- serviceRegisterEntity.setVisualRange("1");
+ serviceRegisterEntity.setUrl("/openoapi/holmes-engine-mgmt/v1");
+ serviceRegisterEntity.setSingleNode(MicroServiceConfig.getServiceIp(), "9102", 0);
+ serviceRegisterEntity.setVisualRange("1|0");
return serviceRegisterEntity;
}
}