Add 'not found in AAI' for updateE2E syncresponse 15/44115/1
authorYulian Han <elaine.hanyulian@huawei.com>
Mon, 23 Apr 2018 09:40:44 +0000 (17:40 +0800)
committerYulian Han <elaine.hanyulian@huawei.com>
Mon, 23 Apr 2018 09:42:32 +0000 (17:42 +0800)
add 'operaterID'  input para to call deleteE2Em

Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa5f064308
Issue-ID: SO-578
Signed-off-by: Yulian Han <elaine.hanyulian@huawei.com>
bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/UpdateCustomE2EServiceInstance.groovy
bpmn/MSOInfrastructureBPMN/src/main/resources/subprocess/DoUpdateE2EServiceInstance.bpmn

index 0ad2da4..a964a7e 100644 (file)
@@ -451,7 +451,7 @@ public class UpdateCustomE2EServiceInstance extends AbstractServiceTaskProcessor
                                updateServiceResp = """{"operationId":"${operationId}"}""".trim()
                        }
                        else {
-                               updateServiceResp =  """{"OperationResult":"No Resource to Add or Delete"}"""
+                               updateServiceResp =  """{"OperationResult":"No Resource to Add or Delete or Service Instance not found in AAI."}"""
                        }
                        
                        utils.log("INFO", " sendSyncResponse to APIH:" + "\n" + updateServiceResp, isDebugEnabled)
index 5e00358..067012e 100644 (file)
@@ -244,6 +244,7 @@ dcsi.preProcessAAIPUT(execution)]]></bpmn2:script>
         <camunda:in source="delResourceList" target="deleteResourceList" />
         <camunda:in source="resourceInstanceIDs" target="resourceInstanceIDs" />
         <camunda:in source="operationType" target="operationType" />
+        <camunda:in source="operationId" target="operationId" />
       </bpmn2:extensionElements>
       <bpmn2:incoming>SequenceFlow_0ur34hv</bpmn2:incoming>
       <bpmn2:outgoing>SequenceFlow_0w4t4ao</bpmn2:outgoing>