From fc6503378a1fc638efb6946645323f6befeb8fc3 Mon Sep 17 00:00:00 2001 From: Guangrong Fu Date: Fri, 3 Nov 2017 14:20:21 +0800 Subject: Modify the Service Addr Query Logic Change-Id: I75d04244b92976810e22d77f3e13bb17bab75633 Issue-ID: HOLMES-81 Signed-off-by: Guangrong Fu --- engine-d/src/main/java/org/onap/holmes/engine/EngineDActiveApp.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine-d/src/main/java/org/onap') 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 { } private MicroServiceInfo createMicroServiceInfo() { - String[] serviceAddrInfo = MicroServiceConfig.getServiceAddrInfo(); + String[] serviceAddrInfo = MicroServiceConfig.getMicroServiceIpAndPort(); MicroServiceInfo msinfo = new MicroServiceInfo(); msinfo.setServiceName("holmes-engine-mgmt"); msinfo.setVersion("v1"); -- cgit 1.2.3-korg