From 974b2e2112254ad9b0c271eefee3ca6694873411 Mon Sep 17 00:00:00 2001 From: subhash kumar singh Date: Sat, 14 Apr 2018 12:35:15 +0000 Subject: 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 --- .../infrastructure/scripts/DoDeleteResourcesV1.groovy | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'bpmn/MSOInfrastructureBPMN') 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") -- cgit 1.2.3-korg