From ff08d214ab8eef4764a7b6f24deeecd25a80c2a1 Mon Sep 17 00:00:00 2001 From: Srinivasan Ramanathan Date: Sat, 30 May 2020 14:01:10 +0000 Subject: Fix for MDONS usecase SO-2967 Change-Id: Ic1bf13f6a2cb3974e090f4a13f5750242027e1c7 Issue-ID: SO-2967 Signed-off-by: Srinivasan Ramanathan --- .../so/bpmn/infrastructure/scripts/DoDeleteE2EServiceInstance.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bpmn') diff --git a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoDeleteE2EServiceInstance.groovy b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoDeleteE2EServiceInstance.groovy index 21fc50c9b6..0a7753e9e5 100644 --- a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoDeleteE2EServiceInstance.groovy +++ b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoDeleteE2EServiceInstance.groovy @@ -450,6 +450,7 @@ public class DoDeleteE2EServiceInstance extends AbstractServiceTaskProcessor { execution.setVariable("serviceModelInfo", serviceDecomposition.getModelInfo()) List deleteResourceList = serviceDecomposition.getServiceResources() + List>> deleteRealResourceList = new ArrayList>>() if (serviceDecomposition.getServiceType().equals("MDONS_OTN")){ for (Resource resource : deleteResourceList) { String serviceName = execution.getVariable("serviceInstanceName") @@ -469,7 +470,6 @@ public class DoDeleteE2EServiceInstance extends AbstractServiceTaskProcessor { relationShipList = jsonSlurper.parseText(serviceRelationShip) } - List>> deleteRealResourceList = new ArrayList>>() //Set the real resource instance id to the decomosed resource list //reset the resource instance id , because in the decompose flow ,its a random one. -- cgit 1.2.3-korg