From 66e5f2e595eb17f35af184ef18408b53e7f2f5a3 Mon Sep 17 00:00:00 2001 From: subhash kumar singh Date: Sat, 21 Apr 2018 12:36:39 +0000 Subject: Fix request parameter building for sdnc resource Fix request parameter building for sdnc resource Change-Id: Ib87c08e31837ec9f2c10bcfe9ce7caccfb3f461e Issue-ID: SO-422 Signed-off-by: subhash kumar singh --- .../openecomp/mso/bpmn/common/resource/ResourceRequestBuilder.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'bpmn/MSOCommonBPMN/src/main/java') diff --git a/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/bpmn/common/resource/ResourceRequestBuilder.java b/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/bpmn/common/resource/ResourceRequestBuilder.java index d32a06d89b..7c3ea37817 100644 --- a/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/bpmn/common/resource/ResourceRequestBuilder.java +++ b/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/bpmn/common/resource/ResourceRequestBuilder.java @@ -123,7 +123,6 @@ public class ResourceRequestBuilder { throws SdcToscaParserException { Map resouceRequest = new HashMap<>(); - List> param = new ArrayList<>(); String csarpath = null; try { csarpath = getCsarFromUuid(serviceUuid); @@ -147,13 +146,9 @@ public class ResourceRequestBuilder { Property property = resourceProperties.get(key); Object value = getValue(property.getValue(), serviceInputs, serInput); - HashMap parameter = new HashMap<>(); - parameter.put("name", key); - parameter.put("value", value); - param.add(parameter); + resouceRequest.put(key, value); } } - resouceRequest.put("param", param); return resouceRequest; } -- cgit 1.2.3-korg