1 <?xml version="1.0" encoding="UTF-8"?>
2 <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.10.0">
3 <bpmn:process id="DeleteCustomE2EServiceInstance" isExecutable="true">
4 <bpmn:startEvent id="StartEvent_00m8zen" name="Delete SI Start Flow">
5 <bpmn:outgoing>SequenceFlow_1wxumid</bpmn:outgoing>
7 <bpmn:subProcess id="SubProcess_0amn8vu" name="Sub-process for UnexpectedErrors" triggeredByEvent="true">
8 <bpmn:scriptTask id="ScriptTask_1c6ogpt" name="Handle Unexpected Error" scriptFormat="groovy">
9 <bpmn:incoming>SequenceFlow_0guajy5</bpmn:incoming>
10 <bpmn:outgoing>SequenceFlow_0dbt753</bpmn:outgoing>
11 <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
12 ExceptionUtil ex = new ExceptionUtil()
13 ex.processJavaException(execution)]]></bpmn:script>
15 <bpmn:startEvent id="StartEvent_121296y">
16 <bpmn:outgoing>SequenceFlow_0guajy5</bpmn:outgoing>
17 <bpmn:errorEventDefinition />
19 <bpmn:endEvent id="EndEvent_1dw3dwx">
20 <bpmn:incoming>SequenceFlow_0dbt753</bpmn:incoming>
22 <bpmn:sequenceFlow id="SequenceFlow_0guajy5" name="" sourceRef="StartEvent_121296y" targetRef="ScriptTask_1c6ogpt" />
23 <bpmn:sequenceFlow id="SequenceFlow_0dbt753" name="" sourceRef="ScriptTask_1c6ogpt" targetRef="EndEvent_1dw3dwx" />
25 <bpmn:callActivity id="CallActivity_1vyx9hu" name="Call DoCustomDeleteE2EServiceInstance " calledElement="DoCustomDeleteE2EServiceInstance">
26 <bpmn:extensionElements>
27 <camunda:out source="WorkflowException" target="WorkflowException" />
28 <camunda:in source="msoRequestId" target="msoRequestId" />
29 <camunda:in source="serviceInstanceId" target="serviceInstanceId" />
30 <camunda:in source="serviceInstanceName" target="serviceInstanceName" />
31 <camunda:in source="serviceModelInfo" target="serviceModelInfo" />
32 <camunda:in source="productFamilyId" target="productFamilyId" />
33 <camunda:in source="disableRollback" target="disableRollback" />
34 <camunda:in source="serviceInputParams" target="serviceInputParams" />
35 <camunda:in source="failIfExists" target="failIfExists" />
36 <camunda:in source="globalSubscriberId" target="globalSubscriberId" />
37 <camunda:in source="serviceType" target="serviceType" />
38 <camunda:in sourceExpression="1610" target="sdncVersion" />
39 <camunda:in source="operationId" target="operationId" />
40 <camunda:in source="operationType" target="operationType" />
41 </bpmn:extensionElements>
42 <bpmn:incoming>SequenceFlow_0zf2qyk</bpmn:incoming>
43 <bpmn:outgoing>SequenceFlow_07hrbs0</bpmn:outgoing>
45 <bpmn:endEvent id="EndEvent_0db8bs6" name="End">
46 <bpmn:incoming>SequenceFlow_1ab5l2q</bpmn:incoming>
48 <bpmn:scriptTask id="ScriptTask_0a63hms" name="Pre Process Incoming Request" scriptFormat="groovy">
49 <bpmn:incoming>SequenceFlow_1wxumid</bpmn:incoming>
50 <bpmn:outgoing>SequenceFlow_0yowshs</bpmn:outgoing>
51 <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
52 def csi= new DeleteCustomE2EServiceInstance()
53 csi.preProcessRequest(execution)]]></bpmn:script>
55 <bpmn:scriptTask id="ScriptTask_1fzpbop" name="Prepare Completion Request" scriptFormat="groovy">
56 <bpmn:incoming>SequenceFlow_04urx2e</bpmn:incoming>
57 <bpmn:outgoing>SequenceFlow_1ii935p</bpmn:outgoing>
58 <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
59 def csi = new DeleteCustomE2EServiceInstance()
60 csi.prepareCompletionRequest(execution)]]></bpmn:script>
62 <bpmn:callActivity id="CallActivity_1wx4ihe" name="Call CompleteMsoProcess" calledElement="CompleteMsoProcess">
63 <bpmn:extensionElements>
64 <camunda:in source="completionRequest" target="CompleteMsoProcessRequest" />
65 <camunda:in source="mso-request-id" target="mso-request-id" />
66 <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
67 <camunda:out source="CMSO_ResponseCode" target="CMSO_ResponseCode" />
68 <camunda:out source="CompleteMsoProcessResponse" target="CompleteMsoProcessResponse" />
69 <camunda:out source="CMSO_ErrorResponse" target="CMSO_ErrorResponse" />
70 </bpmn:extensionElements>
71 <bpmn:incoming>SequenceFlow_1ii935p</bpmn:incoming>
72 <bpmn:outgoing>SequenceFlow_1ab5l2q</bpmn:outgoing>
74 <bpmn:subProcess id="SubProcess_1vbcima" name="Sub-process for FalloutHandler " triggeredByEvent="true">
75 <bpmn:startEvent id="StartEvent_0jybicw">
76 <bpmn:outgoing>SequenceFlow_0for83z</bpmn:outgoing>
77 <bpmn:errorEventDefinition />
79 <bpmn:endEvent id="EndEvent_1jegbhy">
80 <bpmn:incoming>SequenceFlow_0hrazlh</bpmn:incoming>
82 <bpmn:scriptTask id="ScriptTask_0so3xj0" name="Prepare Fallout Request" scriptFormat="groovy">
83 <bpmn:incoming>SequenceFlow_1s1cbgf</bpmn:incoming>
84 <bpmn:outgoing>SequenceFlow_1py6yqz</bpmn:outgoing>
85 <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
86 def csi = new DeleteCustomE2EServiceInstance()
87 csi.prepareFalloutRequest(execution)]]></bpmn:script>
89 <bpmn:callActivity id="CallActivity_1qhekgt" name="Call FalloutHandler" calledElement="FalloutHandler">
90 <bpmn:extensionElements>
91 <camunda:in source="falloutRequest" target="FalloutHandlerRequest" />
92 <camunda:in source="mso-request-id" target="mso-request-id" />
93 <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
94 <camunda:out source="FH_ResponseCode" target="FH_ResponseCode" />
95 <camunda:out source="FalloutHandlerResponse" target="FalloutHandlerResponse" />
96 <camunda:out source="FH_ErrorResponse" target="FH_ErrorResponse" />
97 </bpmn:extensionElements>
98 <bpmn:incoming>SequenceFlow_1py6yqz</bpmn:incoming>
99 <bpmn:outgoing>SequenceFlow_0hrazlh</bpmn:outgoing>
101 <bpmn:scriptTask id="ScriptTask_006nty7" name="Send Error Response">
102 <bpmn:incoming>SequenceFlow_0for83z</bpmn:incoming>
103 <bpmn:outgoing>SequenceFlow_1s1cbgf</bpmn:outgoing>
104 <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
105 def csi = new DeleteCustomE2EServiceInstance()
106 csi.sendSyncError(execution)]]></bpmn:script>
108 <bpmn:sequenceFlow id="SequenceFlow_0for83z" sourceRef="StartEvent_0jybicw" targetRef="ScriptTask_006nty7" />
109 <bpmn:sequenceFlow id="SequenceFlow_0hrazlh" sourceRef="CallActivity_1qhekgt" targetRef="EndEvent_1jegbhy" />
110 <bpmn:sequenceFlow id="SequenceFlow_1s1cbgf" sourceRef="ScriptTask_006nty7" targetRef="ScriptTask_0so3xj0" />
111 <bpmn:sequenceFlow id="SequenceFlow_1py6yqz" sourceRef="ScriptTask_0so3xj0" targetRef="CallActivity_1qhekgt" />
113 <bpmn:scriptTask id="ScriptTask_1mao77y" name="Send Sync Ack Response" scriptFormat="groovy">
114 <bpmn:incoming>SequenceFlow_0yowshs</bpmn:incoming>
115 <bpmn:outgoing>SequenceFlow_0zf2qyk</bpmn:outgoing>
116 <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
117 def csi = new DeleteCustomE2EServiceInstance()
118 csi.sendSyncResponse(execution)]]></bpmn:script>
120 <bpmn:exclusiveGateway id="ExclusiveGateway_0vu8gx6" name="Success?" default="SequenceFlow_1t6ekab">
121 <bpmn:incoming>SequenceFlow_07hrbs0</bpmn:incoming>
122 <bpmn:outgoing>SequenceFlow_04urx2e</bpmn:outgoing>
123 <bpmn:outgoing>SequenceFlow_1t6ekab</bpmn:outgoing>
124 </bpmn:exclusiveGateway>
125 <bpmn:endEvent id="EndEvent_1i1g9s6">
126 <bpmn:incoming>SequenceFlow_1t6ekab</bpmn:incoming>
127 <bpmn:errorEventDefinition errorRef="Error_1erlsmy" />
129 <bpmn:sequenceFlow id="SequenceFlow_1wxumid" sourceRef="StartEvent_00m8zen" targetRef="ScriptTask_0a63hms" />
130 <bpmn:sequenceFlow id="SequenceFlow_0zf2qyk" sourceRef="ScriptTask_1mao77y" targetRef="CallActivity_1vyx9hu" />
131 <bpmn:sequenceFlow id="SequenceFlow_07hrbs0" sourceRef="CallActivity_1vyx9hu" targetRef="ExclusiveGateway_0vu8gx6" />
132 <bpmn:sequenceFlow id="SequenceFlow_1ab5l2q" sourceRef="CallActivity_1wx4ihe" targetRef="EndEvent_0db8bs6" />
133 <bpmn:sequenceFlow id="SequenceFlow_0yowshs" sourceRef="ScriptTask_0a63hms" targetRef="ScriptTask_1mao77y" />
134 <bpmn:sequenceFlow id="SequenceFlow_04urx2e" name="yes" sourceRef="ExclusiveGateway_0vu8gx6" targetRef="ScriptTask_1fzpbop">
135 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[#{execution.getVariable("WorkflowException") == null}]]></bpmn:conditionExpression>
137 <bpmn:sequenceFlow id="SequenceFlow_1ii935p" sourceRef="ScriptTask_1fzpbop" targetRef="CallActivity_1wx4ihe" />
138 <bpmn:sequenceFlow id="SequenceFlow_1t6ekab" name="no" sourceRef="ExclusiveGateway_0vu8gx6" targetRef="EndEvent_1i1g9s6" />
140 <bpmn:error id="Error_1erlsmy" name="MSO Workflow Exception" errorCode="MSOWorkflowException" />
141 <bpmndi:BPMNDiagram id="BPMNDiagram_1">
142 <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DeleteCustomE2EServiceInstance">
143 <bpmndi:BPMNShape id="StartEvent_00m8zen_di" bpmnElement="StartEvent_00m8zen">
144 <dc:Bounds x="577" y="209" width="36" height="36" />
146 <dc:Bounds x="560" y="250" width="70" height="24" />
149 <bpmndi:BPMNShape id="SubProcess_0amn8vu_di" bpmnElement="SubProcess_0amn8vu" isExpanded="true">
150 <dc:Bounds x="834" y="660" width="394" height="188" />
152 <bpmndi:BPMNShape id="CallActivity_1vyx9hu_di" bpmnElement="CallActivity_1vyx9hu">
153 <dc:Bounds x="1159" y="187" width="100" height="80" />
155 <bpmndi:BPMNShape id="EndEvent_0db8bs6_di" bpmnElement="EndEvent_0db8bs6">
156 <dc:Bounds x="1686" y="304" width="36" height="36" />
158 <dc:Bounds x="1696" y="340" width="22" height="12" />
161 <bpmndi:BPMNShape id="ScriptTask_0a63hms_di" bpmnElement="ScriptTask_0a63hms">
162 <dc:Bounds x="724" y="187" width="100" height="80" />
164 <bpmndi:BPMNShape id="ScriptTask_1fzpbop_di" bpmnElement="ScriptTask_1fzpbop">
165 <dc:Bounds x="1493" y="187" width="100" height="80" />
167 <bpmndi:BPMNShape id="CallActivity_1wx4ihe_di" bpmnElement="CallActivity_1wx4ihe">
168 <dc:Bounds x="1654" y="187" width="100" height="80" />
170 <bpmndi:BPMNShape id="SubProcess_1vbcima_di" bpmnElement="SubProcess_1vbcima" isExpanded="true">
171 <dc:Bounds x="736" y="374" width="679" height="194" />
173 <bpmndi:BPMNShape id="ScriptTask_1mao77y_di" bpmnElement="ScriptTask_1mao77y">
174 <dc:Bounds x="936" y="187" width="100" height="80" />
176 <bpmndi:BPMNShape id="ExclusiveGateway_0vu8gx6_di" bpmnElement="ExclusiveGateway_0vu8gx6" isMarkerVisible="true">
177 <dc:Bounds x="1358" y="202" width="50" height="50" />
179 <dc:Bounds x="1358" y="174" width="50" height="12" />
182 <bpmndi:BPMNShape id="EndEvent_1i1g9s6_di" bpmnElement="EndEvent_1i1g9s6">
183 <dc:Bounds x="1365" y="304" width="36" height="36" />
185 <dc:Bounds x="1293" y="340" width="90" height="12" />
188 <bpmndi:BPMNEdge id="SequenceFlow_1wxumid_di" bpmnElement="SequenceFlow_1wxumid">
189 <di:waypoint xsi:type="dc:Point" x="613" y="227" />
190 <di:waypoint xsi:type="dc:Point" x="724" y="227" />
192 <dc:Bounds x="623.5" y="206" width="90" height="12" />
195 <bpmndi:BPMNEdge id="SequenceFlow_0zf2qyk_di" bpmnElement="SequenceFlow_0zf2qyk">
196 <di:waypoint xsi:type="dc:Point" x="1036" y="227" />
197 <di:waypoint xsi:type="dc:Point" x="1159" y="227" />
199 <dc:Bounds x="1052.5" y="206" width="90" height="12" />
202 <bpmndi:BPMNEdge id="SequenceFlow_07hrbs0_di" bpmnElement="SequenceFlow_07hrbs0">
203 <di:waypoint xsi:type="dc:Point" x="1259" y="227" />
204 <di:waypoint xsi:type="dc:Point" x="1358" y="227" />
206 <dc:Bounds x="1263.5" y="206" width="90" height="12" />
209 <bpmndi:BPMNEdge id="SequenceFlow_1ab5l2q_di" bpmnElement="SequenceFlow_1ab5l2q">
210 <di:waypoint xsi:type="dc:Point" x="1704" y="267" />
211 <di:waypoint xsi:type="dc:Point" x="1704" y="304" />
213 <dc:Bounds x="1674" y="280" width="90" height="12" />
216 <bpmndi:BPMNEdge id="SequenceFlow_0yowshs_di" bpmnElement="SequenceFlow_0yowshs">
217 <di:waypoint xsi:type="dc:Point" x="824" y="227" />
218 <di:waypoint xsi:type="dc:Point" x="936" y="227" />
220 <dc:Bounds x="835" y="206" width="90" height="12" />
223 <bpmndi:BPMNEdge id="SequenceFlow_04urx2e_di" bpmnElement="SequenceFlow_04urx2e">
224 <di:waypoint xsi:type="dc:Point" x="1408" y="227" />
225 <di:waypoint xsi:type="dc:Point" x="1493" y="227" />
227 <dc:Bounds x="1410" y="203" width="20" height="12" />
230 <bpmndi:BPMNEdge id="SequenceFlow_1ii935p_di" bpmnElement="SequenceFlow_1ii935p">
231 <di:waypoint xsi:type="dc:Point" x="1593" y="227" />
232 <di:waypoint xsi:type="dc:Point" x="1654" y="227" />
234 <dc:Bounds x="1535" y="212" width="90" height="12" />
237 <bpmndi:BPMNEdge id="SequenceFlow_1t6ekab_di" bpmnElement="SequenceFlow_1t6ekab">
238 <di:waypoint xsi:type="dc:Point" x="1383" y="252" />
239 <di:waypoint xsi:type="dc:Point" x="1383" y="304" />
241 <dc:Bounds x="1391" y="277" width="15" height="12" />
244 <bpmndi:BPMNShape id="ScriptTask_1c6ogpt_di" bpmnElement="ScriptTask_1c6ogpt">
245 <dc:Bounds x="982" y="715" width="100" height="80" />
247 <bpmndi:BPMNShape id="StartEvent_121296y_di" bpmnElement="StartEvent_121296y">
248 <dc:Bounds x="867" y="737" width="36" height="36" />
250 <dc:Bounds x="795" y="778" width="90" height="12" />
253 <bpmndi:BPMNShape id="EndEvent_1dw3dwx_di" bpmnElement="EndEvent_1dw3dwx">
254 <dc:Bounds x="1143" y="737" width="36" height="36" />
256 <dc:Bounds x="1071" y="778" width="90" height="12" />
259 <bpmndi:BPMNShape id="StartEvent_0jybicw_di" bpmnElement="StartEvent_0jybicw">
260 <dc:Bounds x="752" y="460" width="36" height="36" />
262 <dc:Bounds x="680" y="501" width="90" height="12" />
265 <bpmndi:BPMNShape id="EndEvent_1jegbhy_di" bpmnElement="EndEvent_1jegbhy">
266 <dc:Bounds x="1331" y="460" width="36" height="36" />
268 <dc:Bounds x="1259" y="501" width="90" height="12" />
271 <bpmndi:BPMNShape id="ScriptTask_0so3xj0_di" bpmnElement="ScriptTask_0so3xj0">
272 <dc:Bounds x="1010" y="438" width="100" height="80" />
274 <bpmndi:BPMNShape id="CallActivity_1qhekgt_di" bpmnElement="CallActivity_1qhekgt">
275 <dc:Bounds x="1187" y="438" width="100" height="80" />
277 <bpmndi:BPMNShape id="ScriptTask_006nty7_di" bpmnElement="ScriptTask_006nty7">
278 <dc:Bounds x="832" y="438" width="100" height="80" />
280 <bpmndi:BPMNEdge id="SequenceFlow_0guajy5_di" bpmnElement="SequenceFlow_0guajy5">
281 <di:waypoint xsi:type="dc:Point" x="903" y="755" />
282 <di:waypoint xsi:type="dc:Point" x="982" y="755" />
284 <dc:Bounds x="856" y="755" width="90" height="12" />
287 <bpmndi:BPMNEdge id="SequenceFlow_0dbt753_di" bpmnElement="SequenceFlow_0dbt753">
288 <di:waypoint xsi:type="dc:Point" x="1082" y="755" />
289 <di:waypoint xsi:type="dc:Point" x="1143" y="755" />
291 <dc:Bounds x="1028" y="755" width="90" height="12" />
294 <bpmndi:BPMNEdge id="SequenceFlow_0for83z_di" bpmnElement="SequenceFlow_0for83z">
295 <di:waypoint xsi:type="dc:Point" x="788" y="478" />
296 <di:waypoint xsi:type="dc:Point" x="810" y="478" />
297 <di:waypoint xsi:type="dc:Point" x="810" y="478" />
298 <di:waypoint xsi:type="dc:Point" x="831" y="478" />
300 <dc:Bounds x="735" y="478" width="90" height="12" />
303 <bpmndi:BPMNEdge id="SequenceFlow_0hrazlh_di" bpmnElement="SequenceFlow_0hrazlh">
304 <di:waypoint xsi:type="dc:Point" x="1287" y="478" />
305 <di:waypoint xsi:type="dc:Point" x="1331" y="478" />
307 <dc:Bounds x="1219" y="463" width="90" height="12" />
310 <bpmndi:BPMNEdge id="SequenceFlow_1s1cbgf_di" bpmnElement="SequenceFlow_1s1cbgf">
311 <di:waypoint xsi:type="dc:Point" x="932" y="478" />
312 <di:waypoint xsi:type="dc:Point" x="959" y="478" />
313 <di:waypoint xsi:type="dc:Point" x="959" y="478" />
314 <di:waypoint xsi:type="dc:Point" x="1010" y="478" />
316 <dc:Bounds x="884" y="478" width="90" height="12" />
319 <bpmndi:BPMNEdge id="SequenceFlow_1py6yqz_di" bpmnElement="SequenceFlow_1py6yqz">
320 <di:waypoint xsi:type="dc:Point" x="1110" y="478" />
321 <di:waypoint xsi:type="dc:Point" x="1187" y="478" />
323 <dc:Bounds x="1060" y="463" width="90" height="12" />
327 </bpmndi:BPMNDiagram>