summaryrefslogtreecommitdiffstats
path: root/engine-d/src/main/java
diff options
context:
space:
mode:
authorGuangrong Fu <fu.guangrong@zte.com.cn>2017-11-03 14:20:21 +0800
committerGuangrong Fu <fu.guangrong@zte.com.cn>2017-11-03 14:20:21 +0800
commitfc6503378a1fc638efb6946645323f6befeb8fc3 (patch)
tree569be71279c900fac3e49b912ef8e8cd61983f96 /engine-d/src/main/java
parent493c2f4e8f5d5c6f642f300d4e116873cd9051c8 (diff)
Modify the Service Addr Query Logic
Change-Id: I75d04244b92976810e22d77f3e13bb17bab75633 Issue-ID: HOLMES-81 Signed-off-by: Guangrong Fu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'engine-d/src/main/java')
-rw-r--r--engine-d/src/main/java/org/onap/holmes/engine/EngineDActiveApp.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine-d/src/main/java/org/onap/holmes/engine/EngineDActiveApp.java b/engine-d/src/main/java/org/onap/holmes/engine/EngineDActiveApp.java
index ef45d85..9f604b1 100644
--- a/engine-d/src/main/java/org/onap/holmes/engine/EngineDActiveApp.java
+++ b/engine-d/src/main/java/org/onap/holmes/engine/EngineDActiveApp.java
@@ -55,7 +55,7 @@ public class EngineDActiveApp extends IOCApplication<EngineDAppConfig> {
}
private MicroServiceInfo createMicroServiceInfo() {
- String[] serviceAddrInfo = MicroServiceConfig.getServiceAddrInfo();
+ String[] serviceAddrInfo = MicroServiceConfig.getMicroServiceIpAndPort();
MicroServiceInfo msinfo = new MicroServiceInfo();
msinfo.setServiceName("holmes-engine-mgmt");
msinfo.setVersion("v1");