Set operation type value 25/45625/2
authorsubhash kumar singh <subhash.kumar.singh@huawei.com>
Wed, 2 May 2018 09:40:27 +0000 (09:40 +0000)
committerRob Daugherty <rd472p@att.com>
Fri, 4 May 2018 17:32:25 +0000 (17:32 +0000)
Set operation type value, to reflect in DB entries.

Change-Id: I2f56bf5f33912645d17bbed2fc759f9354a0ba7b
Issue-ID: SO-422
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/DoDeleteResourcesV1.groovy

index 8e05f8d..1a36a4e 100644 (file)
@@ -244,6 +244,7 @@ public class DoDeleteResourcesV1 extends AbstractServiceTaskProcessor {
         resourceInput.setResourceInstanceName(currentResource.getResourceInstanceName())
         resourceInput.setResourceInstancenUuid(currentResource.getResourceId())
         resourceInput.setOperationId(execution.getVariable("operationId"))
+        resourceInput.setOperationType(execution.getVariable("operationType"))
         String globalSubscriberId = execution.getVariable("globalSubscriberId") 
         resourceInput.setGlobalSubscriberId(globalSubscriberId)
         resourceInput.setResourceModelInfo(currentResource.getModelInfo());