Remove import,variable,shift constructor call 97/85897/1
authorSindhuri.A <arcot.sindhuri@huawei.com>
Sat, 20 Apr 2019 13:34:30 +0000 (19:04 +0530)
committerSindhuri.A <arcot.sindhuri@huawei.com>
Sat, 20 Apr 2019 13:34:30 +0000 (19:04 +0530)
Remove unused import,variable,shift constructor call MsoVnfPluginAdapterImpl class

Issue-ID: SO-1490

Change-Id: I1d722d7157ccbb9366dfe0ae60529c40615bb8e3
Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/vnf/MsoVnfPluginAdapterImpl.java

index 7b48d0b..ed797f1 100644 (file)
@@ -68,7 +68,6 @@ import org.onap.so.logger.ErrorCode;
 import org.onap.so.logger.MessageEnum;
 import org.onap.so.openstack.beans.VnfRollback;
 import org.onap.so.openstack.beans.VnfStatus;
-import org.onap.so.openstack.exceptions.MsoCloudSiteNotFound;
 import org.onap.so.openstack.exceptions.MsoException;
 import org.onap.so.openstack.exceptions.MsoExceptionCategory;
 import org.onap.so.openstack.utils.MsoHeatEnvironmentEntry;
@@ -91,7 +90,6 @@ import com.fasterxml.jackson.databind.ObjectMapper;
 @Transactional
 public class MsoVnfPluginAdapterImpl implements MsoVnfAdapter {
 
-    private static final String MSO_CONFIGURATION_ERROR = "MsoConfigurationError";
     private static Logger logger = LoggerFactory.getLogger(MsoVnfPluginAdapterImpl.class);
 
     private static final String CHECK_REQD_PARAMS = "org.onap.so.adapters.vnf.checkRequiredParameters";
@@ -121,23 +119,23 @@ public class MsoVnfPluginAdapterImpl implements MsoVnfAdapter {
     @Autowired
     protected VfModuleCustomizationToVduMapper vduMapper;
 
-    /**
-     * Health Check web method. Does nothing but return to show the adapter is deployed.
-     */
-    @Override
-    public void healthCheck() {
-        logger.debug("Health check call in VNF Plugin Adapter");
-    }
-
     /**
      * DO NOT use that constructor to instantiate this class, the msoPropertiesfactory will be NULL.
-     * 
+     *
      * @see MsoVnfPluginAdapterImpl#MsoVnfAdapterImpl(MsoPropertiesFactory, CloudConfigFactory)
      */
     public MsoVnfPluginAdapterImpl() {
 
     }
 
+    /**
+     * Health Check web method. Does nothing but return to show the adapter is deployed.
+     */
+    @Override
+    public void healthCheck() {
+        logger.debug("Health check call in VNF Plugin Adapter");
+    }
+
     /**
      * This is the "Create VNF" web service implementation. This function is now unsupported and will return an error.
      *