blob: 6b1099e0433772954ec11e834da28a1b1f4b7766 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.7.2">
<bpmn:process id="Process_1" isExecutable="true">
<bpmn:startEvent id="StartEvent_00m8zen" name="Delete SI Start Flow">
<bpmn:outgoing>SequenceFlow_1wxumid</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:subProcess id="SubProcess_0amn8vu" name="Sub-process for UnexpectedErrors" triggeredByEvent="true">
<bpmn:scriptTask id="ScriptTask_1c6ogpt" name="Handle Unexpected Error" scriptFormat="groovy">
<bpmn:incoming>SequenceFlow_0guajy5</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_0dbt753</bpmn:outgoing>
<bpmn:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
ExceptionUtil ex = new ExceptionUtil()
ex.processJavaException(execution)]]></bpmn:script>
</bpmn:scriptTask>
<bpmn:startEvent id="StartEvent_121296y">
<bpmn:outgoing>SequenceFlow_0guajy5</bpmn:outgoing>
<bpmn:errorEventDefinition />
</bpmn:startEvent>
<bpmn:endEvent id="EndEvent_1dw3dwx">
<bpmn:incoming>SequenceFlow_0dbt753</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="SequenceFlow_0guajy5" name="" sourceRef="StartEvent_121296y" targetRef="ScriptTask_1c6ogpt" />
<bpmn:sequenceFlow id="SequenceFlow_0dbt753" name="" sourceRef="ScriptTask_1c6ogpt" targetRef="EndEvent_1dw3dwx" />
</bpmn:subProcess>
<bpmn:callActivity id="CallActivity_1vyx9hu" name="Call DoCustomDeleteE2EServiceInstance&#10;" calledElement="DoCustomDeleteE2EServiceInstance">
<bpmn:extensionElements>
<camunda:out source="WorkflowException" target="WorkflowException" />
<camunda:in source="msoRequestId" target="msoRequestId" />
<camunda:in source="serviceInstanceId" target="serviceInstanceId" />
<camunda:in source="serviceInstanceName" target="serviceInstanceName" />
<camunda:in source="serviceModelInfo" target="serviceModelInfo" />
<camunda:in source="productFamilyId" target="productFamilyId" />
<camunda:in source="disableRollback" target="disableRollback" />
<camunda:in source="serviceInputParams" target="serviceInputParams" />
<camunda:in source="failIfExists" target="failIfExists" />
<camunda:in source="globalSubscriberId" target="globalSubscriberId" />
<camunda:in source="subscriptionServiceType" target="subscriptionServiceType" />
<camunda:in sourceExpression="1610" target="sdncVersion" />
</bpmn:extensionElements>
<bpmn:incoming>SequenceFlow_0zf2qyk</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_07hrbs0</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:endEvent id="EndEvent_0db8bs6" name="End">
<bpmn:incoming>SequenceFlow_1ab5l2q</bpmn:incoming>
</bpmn:endEvent>
<bpmn:scriptTask id="ScriptTask_0a63hms" name="Pre Process Incoming Request" scriptFormat="groovy">
<bpmn:incoming>SequenceFlow_1wxumid</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_0yowshs</bpmn:outgoing>
<bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
def csi= new DeleteCustomE2EServiceInstance()
csi.preProcessRequest(execution)]]></bpmn:script>
</bpmn:scriptTask>
<bpmn:scriptTask id="ScriptTask_1fzpbop" name="Prepare Completion Request" scriptFormat="groovy">
<bpmn:incoming>SequenceFlow_04urx2e</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_1ii935p</bpmn:outgoing>
<bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
def csi = new DeleteCustomE2EServiceInstance()
csi.prepareCompletionRequest(execution)]]></bpmn:script>
</bpmn:scriptTask>
<bpmn:callActivity id="CallActivity_1wx4ihe" name="Call CompleteMsoProcess" calledElement="CompleteMsoProcess">
<bpmn:extensionElements>
<camunda:in source="completionRequest" target="CompleteMsoProcessRequest" />
<camunda:in source="mso-request-id" target="mso-request-id" />
<camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
<camunda:out source="CMSO_ResponseCode" target="CMSO_ResponseCode" />
<camunda:out source="CompleteMsoProcessResponse" target="CompleteMsoProcessResponse" />
<camunda:out source="CMSO_ErrorResponse" target="CMSO_ErrorResponse" />
</bpmn:extensionElements>
<bpmn:incoming>SequenceFlow_1ii935p</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_1ab5l2q</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:subProcess id="SubProcess_1vbcima" name="Sub-process for FalloutHandler " triggeredByEvent="true">
<bpmn:startEvent id="StartEvent_0jybicw">
<bpmn:outgoing>SequenceFlow_0for83z</bpmn:outgoing>
<bpmn:errorEventDefinition />
</bpmn:startEvent>
<bpmn:endEvent id="EndEvent_1jegbhy">
<bpmn:incoming>SequenceFlow_0hrazlh</bpmn:incoming>
</bpmn:endEvent>
<bpmn:scriptTask id="ScriptTask_0so3xj0" name="Prepare Fallout Request" scriptFormat="groovy">
<bpmn:incoming>SequenceFlow_1s1cbgf</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_1py6yqz</bpmn:outgoing>
<bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
def csi = new DeleteCustomE2EServiceInstance()
csi.prepareFalloutRequest(execution)]]></bpmn:script>
</bpmn:scriptTask>
<bpmn:callActivity id="CallActivity_1qhekgt" name="Call FalloutHandler" calledElement="FalloutHandler">
<bpmn:extensionElements>
<camunda:in source="falloutRequest" target="FalloutHandlerRequest" />
<camunda:in source="mso-request-id" target="mso-request-id" />
<camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
<camunda:out source="FH_ResponseCode" target="FH_ResponseCode" />
<camunda:out source="FalloutHandlerResponse" target="FalloutHandlerResponse" />
<camunda:out source="FH_ErrorResponse" target="FH_ErrorResponse" />
</bpmn:extensionElements>
<bpmn:incoming>SequenceFlow_1py6yqz</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_0hrazlh</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:scriptTask id="ScriptTask_006nty7" name="Send Error Response">
<bpmn:incoming>SequenceFlow_0for83z</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_1s1cbgf</bpmn:outgoing>
<bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
def csi = new DeleteCustomE2EServiceInstance()
csi.sendSyncError(execution)]]></bpmn:script>
</bpmn:scriptTask>
<bpmn:sequenceFlow id="SequenceFlow_0for83z" sourceRef="StartEvent_0jybicw" targetRef="ScriptTask_006nty7" />
<bpmn:sequenceFlow id="SequenceFlow_0hrazlh" sourceRef="CallActivity_1qhekgt" targetRef="EndEvent_1jegbhy" />
<bpmn:sequenceFlow id="SequenceFlow_1s1cbgf" sourceRef="ScriptTask_006nty7" targetRef="ScriptTask_0so3xj0" />
<bpmn:sequenceFlow id="SequenceFlow_1py6yqz" sourceRef="ScriptTask_0so3xj0" targetRef="CallActivity_1qhekgt" />
</bpmn:subProcess>
<bpmn:scriptTask id="ScriptTask_1mao77y" name="Send Sync Ack Response" scriptFormat="groovy">
<bpmn:incoming>SequenceFlow_0yowshs</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_0zf2qyk</bpmn:outgoing>
<bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
def csi = new DeleteCustomE2EServiceInstance()
csi.sendSyncResponse(execution)]]></bpmn:script>
</bpmn:scriptTask>
<bpmn:exclusiveGateway id="ExclusiveGateway_0vu8gx6" name="Success?" default="SequenceFlow_1t6ekab">
<bpmn:incoming>SequenceFlow_07hrbs0</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_04urx2e</bpmn:outgoing>
<bpmn:outgoing>SequenceFlow_1t6ekab</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:endEvent id="EndEvent_1i1g9s6">
<bpmn:incoming>SequenceFlow_1t6ekab</bpmn:incoming>
<bpmn:errorEventDefinition />
</bpmn:endEvent>
<bpmn:sequenceFlow id="SequenceFlow_1wxumid" sourceRef="StartEvent_00m8zen" targetRef="ScriptTask_0a63hms" />
<bpmn:sequenceFlow id="SequenceFlow_0zf2qyk" sourceRef="ScriptTask_1mao77y" targetRef="CallActivity_1vyx9hu" />
<bpmn:sequenceFlow id="SequenceFlow_07hrbs0" sourceRef="CallActivity_1vyx9hu" targetRef="ExclusiveGateway_0vu8gx6" />
<bpmn:sequenceFlow id="SequenceFlow_1ab5l2q" sourceRef="CallActivity_1wx4ihe" targetRef="EndEvent_0db8bs6" />
<bpmn:sequenceFlow id="SequenceFlow_0yowshs" sourceRef="ScriptTask_0a63hms" targetRef="ScriptTask_1mao77y" />
<bpmn:sequenceFlow id="SequenceFlow_04urx2e" name="yes" sourceRef="ExclusiveGateway_0vu8gx6" targetRef="ScriptTask_1fzpbop">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[#{execution.getVariable("WorkflowException") == null}]]></bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="SequenceFlow_1ii935p" sourceRef="ScriptTask_1fzpbop" targetRef="CallActivity_1wx4ihe" />
<bpmn:sequenceFlow id="SequenceFlow_1t6ekab" name="no" sourceRef="ExclusiveGateway_0vu8gx6" targetRef="EndEvent_1i1g9s6" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1">
<bpmndi:BPMNShape id="StartEvent_00m8zen_di" bpmnElement="StartEvent_00m8zen">
<dc:Bounds x="577" y="209" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="560" y="250" width="70" height="24" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="SubProcess_0amn8vu_di" bpmnElement="SubProcess_0amn8vu" isExpanded="true">
<dc:Bounds x="834" y="660" width="394" height="188" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="CallActivity_1vyx9hu_di" bpmnElement="CallActivity_1vyx9hu">
<dc:Bounds x="1121" y="187" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="EndEvent_0db8bs6_di" bpmnElement="EndEvent_0db8bs6">
<dc:Bounds x="1646" y="304" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1657" y="340" width="19" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="ScriptTask_0a63hms_di" bpmnElement="ScriptTask_0a63hms">
<dc:Bounds x="741" y="187" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="ScriptTask_1fzpbop_di" bpmnElement="ScriptTask_1fzpbop">
<dc:Bounds x="1453" y="187" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="CallActivity_1wx4ihe_di" bpmnElement="CallActivity_1wx4ihe">
<dc:Bounds x="1614" y="187" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="SubProcess_1vbcima_di" bpmnElement="SubProcess_1vbcima" isExpanded="true">
<dc:Bounds x="736" y="374" width="679" height="194" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="ScriptTask_1mao77y_di" bpmnElement="ScriptTask_1mao77y">
<dc:Bounds x="920" y="187" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="ExclusiveGateway_0vu8gx6_di" bpmnElement="ExclusiveGateway_0vu8gx6" isMarkerVisible="true">
<dc:Bounds x="1318" y="202" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1318" y="174" width="49" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="EndEvent_1i1g9s6_di" bpmnElement="EndEvent_1i1g9s6">
<dc:Bounds x="1325" y="304" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1298" y="340" width="0" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_1wxumid_di" bpmnElement="SequenceFlow_1wxumid">
<di:waypoint xsi:type="dc:Point" x="613" y="227" />
<di:waypoint xsi:type="dc:Point" x="741" y="227" />
<bpmndi:BPMNLabel>
<dc:Bounds x="587" y="212" width="90" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_0zf2qyk_di" bpmnElement="SequenceFlow_0zf2qyk">
<di:waypoint xsi:type="dc:Point" x="1020" y="227" />
<di:waypoint xsi:type="dc:Point" x="1073" y="227" />
<di:waypoint xsi:type="dc:Point" x="1073" y="227" />
<di:waypoint xsi:type="dc:Point" x="1121" y="227" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1043" y="227" width="0" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_07hrbs0_di" bpmnElement="SequenceFlow_07hrbs0">
<di:waypoint xsi:type="dc:Point" x="1221" y="227" />
<di:waypoint xsi:type="dc:Point" x="1318" y="227" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1225.5" y="212" width="0" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_1ab5l2q_di" bpmnElement="SequenceFlow_1ab5l2q">
<di:waypoint xsi:type="dc:Point" x="1664" y="267" />
<di:waypoint xsi:type="dc:Point" x="1664" y="304" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1634" y="279.5" width="90" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_0yowshs_di" bpmnElement="SequenceFlow_0yowshs">
<di:waypoint xsi:type="dc:Point" x="841" y="227" />
<di:waypoint xsi:type="dc:Point" x="920" y="227" />
<bpmndi:BPMNLabel>
<dc:Bounds x="835.5" y="206" width="90" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_04urx2e_di" bpmnElement="SequenceFlow_04urx2e">
<di:waypoint xsi:type="dc:Point" x="1368" y="227" />
<di:waypoint xsi:type="dc:Point" x="1453" y="227" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1370.25" y="203" width="18" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_1ii935p_di" bpmnElement="SequenceFlow_1ii935p">
<di:waypoint xsi:type="dc:Point" x="1553" y="227" />
<di:waypoint xsi:type="dc:Point" x="1614" y="227" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1495" y="212" width="90" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_1t6ekab_di" bpmnElement="SequenceFlow_1t6ekab">
<di:waypoint xsi:type="dc:Point" x="1343" y="252" />
<di:waypoint xsi:type="dc:Point" x="1343" y="277" />
<di:waypoint xsi:type="dc:Point" x="1343" y="277" />
<di:waypoint xsi:type="dc:Point" x="1343" y="304" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1352" y="277" width="12" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="ScriptTask_1c6ogpt_di" bpmnElement="ScriptTask_1c6ogpt">
<dc:Bounds x="982" y="715" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="StartEvent_121296y_di" bpmnElement="StartEvent_121296y">
<dc:Bounds x="867" y="737" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="795" y="778" width="90" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="EndEvent_1dw3dwx_di" bpmnElement="EndEvent_1dw3dwx">
<dc:Bounds x="1143" y="737" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1071" y="778" width="90" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="StartEvent_0jybicw_di" bpmnElement="StartEvent_0jybicw">
<dc:Bounds x="752" y="460" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="680" y="501" width="90" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="EndEvent_1jegbhy_di" bpmnElement="EndEvent_1jegbhy">
<dc:Bounds x="1331" y="460" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1259" y="501" width="90" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="ScriptTask_0so3xj0_di" bpmnElement="ScriptTask_0so3xj0">
<dc:Bounds x="1010" y="438" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="CallActivity_1qhekgt_di" bpmnElement="CallActivity_1qhekgt">
<dc:Bounds x="1187" y="438" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="ScriptTask_006nty7_di" bpmnElement="ScriptTask_006nty7">
<dc:Bounds x="832" y="438" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_0guajy5_di" bpmnElement="SequenceFlow_0guajy5">
<di:waypoint xsi:type="dc:Point" x="903" y="755" />
<di:waypoint xsi:type="dc:Point" x="982" y="755" />
<bpmndi:BPMNLabel>
<dc:Bounds x="856" y="755" width="90" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_0dbt753_di" bpmnElement="SequenceFlow_0dbt753">
<di:waypoint xsi:type="dc:Point" x="1082" y="755" />
<di:waypoint xsi:type="dc:Point" x="1143" y="755" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1028" y="755" width="90" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_0for83z_di" bpmnElement="SequenceFlow_0for83z">
<di:waypoint xsi:type="dc:Point" x="788" y="478" />
<di:waypoint xsi:type="dc:Point" x="810" y="478" />
<di:waypoint xsi:type="dc:Point" x="810" y="478" />
<di:waypoint xsi:type="dc:Point" x="831" y="478" />
<bpmndi:BPMNLabel>
<dc:Bounds x="735" y="478" width="90" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_0hrazlh_di" bpmnElement="SequenceFlow_0hrazlh">
<di:waypoint xsi:type="dc:Point" x="1287" y="478" />
<di:waypoint xsi:type="dc:Point" x="1331" y="478" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1219" y="463" width="90" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_1s1cbgf_di" bpmnElement="SequenceFlow_1s1cbgf">
<di:waypoint xsi:type="dc:Point" x="932" y="478" />
<di:waypoint xsi:type="dc:Point" x="959" y="478" />
<di:waypoint xsi:type="dc:Point" x="959" y="478" />
<di:waypoint xsi:type="dc:Point" x="1010" y="478" />
<bpmndi:BPMNLabel>
<dc:Bounds x="884" y="478" width="90" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_1py6yqz_di" bpmnElement="SequenceFlow_1py6yqz">
<di:waypoint xsi:type="dc:Point" x="1110" y="478" />
<di:waypoint xsi:type="dc:Point" x="1187" y="478" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1060" y="463" width="90" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>