diff options
author | shashikanth.vh <shashikanth.vh@huawei.com> | 2018-08-09 15:09:29 +0530 |
---|---|---|
committer | shashikanth.vh <shashikanth.vh@huawei.com> | 2018-08-09 15:11:32 +0530 |
commit | 9cd05c510736933a0d213060ee673b33368d7e04 (patch) | |
tree | 33ee2254ef63bd1fb048b69a7a9074dc3156748b | |
parent | 546d07903ece8dfbfcb9ecf987b42df417a65fb9 (diff) |
Fixed issues for connectivity attachment provider
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>
-rw-r--r-- | generic-resource-api/provider/src/main/java/org/onap/sdnc/northbound/GenericResourceApiProvider.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/generic-resource-api/provider/src/main/java/org/onap/sdnc/northbound/GenericResourceApiProvider.java b/generic-resource-api/provider/src/main/java/org/onap/sdnc/northbound/GenericResourceApiProvider.java index 89466008..8609b600 100644 --- a/generic-resource-api/provider/src/main/java/org/onap/sdnc/northbound/GenericResourceApiProvider.java +++ b/generic-resource-api/provider/src/main/java/org/onap/sdnc/northbound/GenericResourceApiProvider.java @@ -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)); |