From: subhash kumar singh Date: Sat, 14 Apr 2018 12:35:15 +0000 (+0000) Subject: Fix get variable name from execution X-Git-Tag: v1.2.1~144^2~9 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=974b2e2112254ad9b0c271eefee3ca6694873411;p=so.git Fix get variable name from execution Fix get variable name from execution Change-Id: I640fc39fec8e013a2dd72bdea70a0e49cd407862 Issue-ID: SO-422 Signed-off-by: subhash kumar singh --- diff --git a/bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/DoDeleteResourcesV1.groovy b/bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/DoDeleteResourcesV1.groovy index 6c150df754..38dca886b4 100644 --- a/bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/DoDeleteResourcesV1.groovy +++ b/bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/DoDeleteResourcesV1.groovy @@ -41,6 +41,23 @@ import org.openecomp.mso.bpmn.infrastructure.properties.BPMNProperties import static org.apache.commons.lang3.StringUtils.isBlank import static org.apache.commons.lang3.StringUtils.isBlank + +/** + * input for script : + * msoRequestId + * isDebugLogEnabled + * globalSubscriberId + * serviceType + * serviceInstanceId + * URN_mso_workflow_sdncadapter_callback + * serviceInputParams + * deleteResourceList + * resourceInstanceIDs + * + * output from script: + * + */ + public class DoDeleteResourcesV1 extends AbstractServiceTaskProcessor { String Prefix="DDR_" @@ -132,7 +149,7 @@ public class DoDeleteResourcesV1 extends AbstractServiceTaskProcessor { List resourceSequence = new ArrayList() // get delete resource list and order list - List delResourceList = execution.getVariable("delResourceList") + List delResourceList = execution.getVariable("deleteResourceList") // existing resource list List existResourceList = execution.getVariable("realNSRessources")