Remove unused constants, change constructor place 95/85795/1
authorSindhuri.A <arcot.sindhuri@huawei.com>
Fri, 19 Apr 2019 10:29:27 +0000 (15:59 +0530)
committerSindhuri.A <arcot.sindhuri@huawei.com>
Fri, 19 Apr 2019 10:29:27 +0000 (15:59 +0530)
Remove unused constants, change constructor place MsoVnfCloudifyAdapterImpl class

Issue-ID: SO-1490

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

index 2ea7ff4..9d6c944 100644 (file)
@@ -79,12 +79,7 @@ public class MsoVnfCloudifyAdapterImpl implements MsoVnfAdapter {
 
     private static Logger logger = LoggerFactory.getLogger(MsoVnfCloudifyAdapterImpl.class);
 
-    private static final String MSO_CONFIGURATION_ERROR = "MsoConfigurationError";
-    private static final String VNF_ADAPTER_SERVICE_NAME = "MSO-BPMN:MSO-VnfAdapter.";
-    private static final String LOG_REPLY_NAME = "MSO-VnfAdapter:MSO-BPMN.";
     private static final String CHECK_REQD_PARAMS = "org.onap.so.adapters.vnf.checkRequiredParameters";
-    private static final String ADD_GET_FILES_ON_VOLUME_REQ = "org.onap.so.adapters.vnf.addGetFilesOnVolumeReq";
-    private static final String CLOUDIFY_RESPONSE_SUCCESS = "Successfully received response from Cloudify";
     private static final String CLOUDIFY = "Cloudify";
 
     private static final ObjectMapper JSON_MAPPER = new ObjectMapper();
@@ -104,23 +99,23 @@ public class MsoVnfCloudifyAdapterImpl implements MsoVnfAdapter {
     @Autowired
     protected MsoCloudifyUtils cloudifyUtils;
 
-    /**
-     * 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 Cloudify Adapter");
-    }
-
     /**
      * DO NOT use that constructor to instantiate this class, the msoPropertiesfactory will be NULL.
-     * 
+     *
      * @see MsoVnfCloudifyAdapterImpl#MsoVnfAdapterImpl(MsoPropertiesFactory, CloudConfigFactory)
      */
     public MsoVnfCloudifyAdapterImpl() {
 
     }
 
+    /**
+     * 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 Cloudify Adapter");
+    }
+
     /**
      * This is the "Create VNF" web service implementation. This function is now unsupported and will return an error.
      *