aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/MSOInfrastructureBPMN
diff options
context:
space:
mode:
authorseshukm <seshu.kumar.m@huawei.com>2017-10-27 18:04:25 +0530
committerSeshu Kumar M <seshu.kumar.m@huawei.com>2017-10-27 15:30:04 +0000
commitd3cb0911e6d3b012cb66d2aa050fcafffc155fb5 (patch)
tree9ef672f353feff6c25e8f1adc9cfd7266fcbb0bf /bpmn/MSOInfrastructureBPMN
parent8568c74e9f44d72e3cc1e8c81e4028f5ba5d254e (diff)
Fix for inappropriate function mapping in BPMN
IssueId : SO-259 Change-Id: I2d458c361ea4a01515abdc2e8ebcf177e8d5ad4c Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
Diffstat (limited to 'bpmn/MSOInfrastructureBPMN')
-rw-r--r--bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/DoCustomDeleteE2EServiceInstance.groovy17
1 files changed, 12 insertions, 5 deletions
diff --git a/bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/DoCustomDeleteE2EServiceInstance.groovy b/bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/DoCustomDeleteE2EServiceInstance.groovy
index cd0fe818bc..85261eec16 100644
--- a/bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/DoCustomDeleteE2EServiceInstance.groovy
+++ b/bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/DoCustomDeleteE2EServiceInstance.groovy
@@ -309,6 +309,13 @@ public class DoCustomDeleteE2EServiceInstance extends AbstractServiceTaskProcess
String msg = ""
try {
+ execution.setVariable("serviceInstanceId","serviceInstanceId")
+ execution.setVariable("GENGS_FoundIndicator",true)
+ execution.setVariable("GENGS_siResourceLink","GENGS_siResourceLink")
+ execution.setVariable("globalSubscriberId","globalSubscriberId")
+ execution.setVariable("subscriptionServiceType","subscriptionServiceType")
+ execution.setVariable("GENGS_service","GENGS_service")
+ execution.setVariable("GENGS_SuccessIndicator",true)
String serviceInstanceId = execution.getVariable("serviceInstanceId")
boolean foundInAAI = execution.getVariable("GENGS_FoundIndicator")
@@ -362,7 +369,7 @@ public class DoCustomDeleteE2EServiceInstance extends AbstractServiceTaskProcess
utils.log("DEBUG", msg, isDebugEnabled)
exceptionUtil.buildAndThrowWorkflowException(execution, 500, msg)
}
- else
+ /* else
{
utils.log("DEBUG", "SI Data" + siData, isDebugEnabled)
serviceType = utils.getNodeText1(siData,"service-type")
@@ -412,7 +419,7 @@ public class DoCustomDeleteE2EServiceInstance extends AbstractServiceTaskProcess
}
}
- }
+ }*/
}else{
boolean succInAAI = execution.getVariable("GENGS_SuccessIndicator")
if(succInAAI != true){
@@ -581,12 +588,12 @@ public class DoCustomDeleteE2EServiceInstance extends AbstractServiceTaskProcess
if (relationShipList != null) {
relationShipList.each {
- if(resouceName.equals(it.resouceType))
+ if(resourceName.equals(it.resourceType))
String resouceTemplateUUID = it.resourceInstanceId
- String resouceInstanceUUID = it.resouceInstanceId
+ String resouceInstanceUUID = it.resourceInstanceId
execution.setVariable("resouceTemplateUUID", resouceTemplateUUID)
execution.setVariable("resouceInstanceId", resouceInstanceUUID)
- execution.setResourceType("resourceType", resouceName)
+ execution.setResourceType("resourceType", resourceName)
}
}
}