Fixed issues for connectivity attachment provider 23/59823/1
authorshashikanth.vh <shashikanth.vh@huawei.com>
Thu, 9 Aug 2018 09:39:29 +0000 (15:09 +0530)
committershashikanth.vh <shashikanth.vh@huawei.com>
Thu, 9 Aug 2018 09:41:32 +0000 (15:11 +0530)
To tryGetProperties method properties is passed as parameter
instead of params

Change-Id: I70e73ed73a1d123cefffbefae3b05a0e0c294fa0
Issue-ID: SDNC-384
Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
generic-resource-api/provider/src/main/java/org/onap/sdnc/northbound/GenericResourceApiProvider.java

index 8946600..8609b60 100644 (file)
@@ -1813,7 +1813,6 @@ public class GenericResourceApiProvider implements AutoCloseable, GENERICRESOURC
 
         ServiceData serviceData;
         ServiceStatusBuilder serviceStatusBuilder = new ServiceStatusBuilder();
-        Properties properties = new Properties();
 
         String siid = input.getServiceInformation().getServiceInstanceId();
         log.info(ADDING_INPUT_DATA_LOG, svcOperation, siid, input);
@@ -1841,7 +1840,7 @@ public class GenericResourceApiProvider implements AutoCloseable, GENERICRESOURC
         String serviceObjectPath = null;
         String connectionAttachmentObjectPath = null;
 
-        Properties respProps = tryGetProperties(svcOperation, properties, serviceDataBuilder, responseObject);
+        Properties respProps = tryGetProperties(svcOperation, parms, serviceDataBuilder, responseObject);
 
         if (respProps != null) {
             responseObject.setStatusCode(respProps.getProperty(ERROR_CODE_PARAM));