summaryrefslogtreecommitdiffstats
path: root/adapters/mso-openstack-adapters
diff options
context:
space:
mode:
authorSandeep J <sandeejh@in.ibm.com>2018-09-07 00:19:37 +0530
committerByung-Woo Jun <byung-woo.jun@ericsson.com>2018-09-10 12:34:06 +0000
commitac898b68788f2d93a46811927c2e046fe3a55636 (patch)
treec34a444b4194cc6812ac16b5a1442406effa034b /adapters/mso-openstack-adapters
parent0ca2380f86cf7ea460017590f8a33967c8fc380b (diff)
fixed sonar issue in MsoNetworkAdapterImpl
fixed sonar issue as detailed in SO-989 Issue-ID: SO-989 Change-Id: Ic4ec79847bbc5980cb6889d0ab2d766b3875faca Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
Diffstat (limited to 'adapters/mso-openstack-adapters')
-rw-r--r--adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/network/MsoNetworkAdapterImpl.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/network/MsoNetworkAdapterImpl.java b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/network/MsoNetworkAdapterImpl.java
index c8df1fdac2..ac33a5269e 100644
--- a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/network/MsoNetworkAdapterImpl.java
+++ b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/network/MsoNetworkAdapterImpl.java
@@ -21,7 +21,7 @@
* ============LICENSE_END=========================================================
*/
-package org.onap.so.adapters.network;
+package org.onap.so.adapters.network;
import java.util.ArrayList;
import java.util.HashMap;
@@ -104,7 +104,7 @@ public class MsoNetworkAdapterImpl implements MsoNetworkAdapter {
@Autowired
private MsoCommonUtils commonUtils;
- @Autowired
+ @Autowired
private NetworkResourceCustomizationRepository networkCustomRepo;
@Autowired
@@ -259,7 +259,7 @@ public class MsoNetworkAdapterImpl implements MsoNetworkAdapter {
Holder <Map <String, String>> subnetIdMap,
Holder <NetworkRollback> rollback) throws NetworkException {
MsoLogger.setLogContext (msoRequest);
- MsoLogger.setServiceName ("CreateNetwork");
+ MsoLogger.setServiceName (CREATE_NETWORK_CONTEXT);
LOGGER.debug ("*** CREATE Network: " + networkName
+ " of type "
@@ -766,7 +766,7 @@ public class MsoNetworkAdapterImpl implements MsoNetworkAdapter {
Holder <Map <String, String>> subnetIdMap,
Holder <NetworkRollback> rollback) throws NetworkException {
MsoLogger.setLogContext (msoRequest);
- MsoLogger.setServiceName ("UpdateNetwork");
+ MsoLogger.setServiceName (UPDATE_NETWORK_CONTEXT);
LOGGER.debug ("***UPDATE Network adapter with Network: " + networkName
+ " of type "
+ networkType