From fb73c92232ed387c64b1a175504d605797a6f505 Mon Sep 17 00:00:00 2001 From: GuangrongFu Date: Tue, 14 Mar 2017 09:09:26 +0800 Subject: Optimize the Registration Logic of MSB Change-Id: I3b53f4df5ce98301763e1c3f90a9f380a4459674 Issue-ID: HOLMES-50 Signed-off-by: GuangrongFu --- .../src/main/java/org/openo/holmes/engine/EngineDActiveApp.java | 8 ++++---- 1 file 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 { 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; } } -- cgit 1.2.3-korg