summaryrefslogtreecommitdiffstats
path: root/esr-mgr
diff options
context:
space:
mode:
authorLizi <li.zi30@zte.com.cn>2018-02-07 01:24:05 +0000
committerLizi <li.zi30@zte.com.cn>2018-02-07 01:27:27 +0000
commitb595576737ce9cf1b1e1db3589f549ca36bc73f6 (patch)
tree31898e24500279d12f90c1fddec12b9a21b1f530 /esr-mgr
parenta1b75c86ea8a32971a8bef5f75167569b69f5fb6 (diff)
Fix the bug about register MSB.
When register service to MSB, esr-server still will register to MSB automaticly Change-Id: I69769906e87e6b8c9658b05de60af45ed2b47e82 Issue-ID: AAI-738 Signed-off-by: Lizi <li.zi30@zte.com.cn>
Diffstat (limited to 'esr-mgr')
-rw-r--r--esr-mgr/src/main/java/org/onap/aai/esr/ExtsysApp.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/esr-mgr/src/main/java/org/onap/aai/esr/ExtsysApp.java b/esr-mgr/src/main/java/org/onap/aai/esr/ExtsysApp.java
index db44504..10d8a9f 100644
--- a/esr-mgr/src/main/java/org/onap/aai/esr/ExtsysApp.java
+++ b/esr-mgr/src/main/java/org/onap/aai/esr/ExtsysApp.java
@@ -59,7 +59,7 @@ public class ExtsysApp extends Application<ExtsysAppConfiguration> {
environment.jersey().register(new VnfmManager());
environment.jersey().register(new ServiceTest());
initSwaggerConfig(environment, configuration);
- if ("true".equals(configuration.getRegistByHand())) {
+ if ("false".equals(configuration.getRegistByHand())) {
String MSB_IP = configuration.getMsbDiscoveryIp();
Integer MSB_Port = Integer.valueOf(configuration.getMsbDiscoveryPort());
MSBServiceClient msbClient = new MSBServiceClient(MSB_IP, MSB_Port);