diff options
author | Lizi <li.zi30@zte.com.cn> | 2018-02-07 01:24:05 +0000 |
---|---|---|
committer | Lizi <li.zi30@zte.com.cn> | 2018-02-07 01:27:27 +0000 |
commit | b595576737ce9cf1b1e1db3589f549ca36bc73f6 (patch) | |
tree | 31898e24500279d12f90c1fddec12b9a21b1f530 /esr-mgr | |
parent | a1b75c86ea8a32971a8bef5f75167569b69f5fb6 (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.java | 2 |
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); |