summaryrefslogtreecommitdiffstats
path: root/bpmn/MSOCommonBPMN/src/main/java/org
diff options
context:
space:
mode:
authorSeshu Kumar M <seshu.kumar.m@huawei.com>2018-04-22 03:00:55 +0000
committerGerrit Code Review <gerrit@onap.org>2018-04-22 03:00:55 +0000
commit54c41267ed3bf769b00875128fa5a9021411e1c1 (patch)
tree224980e3192406835bc703a15d11db46caeaae2f /bpmn/MSOCommonBPMN/src/main/java/org
parent7ded7cc8a1c4282e4cc84d4f82f73491f0bf3f08 (diff)
parent66e5f2e595eb17f35af184ef18408b53e7f2f5a3 (diff)
Merge "Fix request parameter building for sdnc resource"
Diffstat (limited to 'bpmn/MSOCommonBPMN/src/main/java/org')
-rw-r--r--bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/bpmn/common/resource/ResourceRequestBuilder.java7
1 files changed, 1 insertions, 6 deletions
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<String, Object> resouceRequest = new HashMap<>();
- List<Map<String, Object>> 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<String, Object> parameter = new HashMap<>();
- parameter.put("name", key);
- parameter.put("value", value);
- param.add(parameter);
+ resouceRequest.put(key, value);
}
}
- resouceRequest.put("param", param);
return resouceRequest;
}