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="Process_1">
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="1121" y="187" width="100" height="80" />
155 <bpmndi:BPMNShape id="EndEvent_0db8bs6_di" bpmnElement="EndEvent_0db8bs6">
156 <dc:Bounds x="1646" y="304" width="36" height="36" />
158 <dc:Bounds x="1657" y="340" width="19" height="12" />
161 <bpmndi:BPMNShape id="ScriptTask_0a63hms_di" bpmnElement="ScriptTask_0a63hms">
162 <dc:Bounds x="741" y="187" width="100" height="80" />
164 <bpmndi:BPMNShape id="ScriptTask_1fzpbop_di" bpmnElement="ScriptTask_1fzpbop">
165 <dc:Bounds x="1453" y="187" width="100" height="80" />
167 <bpmndi:BPMNShape id="CallActivity_1wx4ihe_di" bpmnElement="CallActivity_1wx4ihe">
168 <dc:Bounds x="1614" 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="920" y="187" width="100" height="80" />
176 <bpmndi:BPMNShape id="ExclusiveGateway_0vu8gx6_di" bpmnElement="ExclusiveGateway_0vu8gx6" isMarkerVisible="true">
177 <dc:Bounds x="1318" y="202" width="50" height="50" />
179 <dc:Bounds x="1318" y="174" width="49" height="12" />
182 <bpmndi:BPMNShape id="EndEvent_1i1g9s6_di" bpmnElement="EndEvent_1i1g9s6">
183 <dc:Bounds x="1325" y="304" width="36" height="36" />
185 <dc:Bounds x="1298" y="340" width="0" 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="741" y="227" />
192 <dc:Bounds x="587" y="212" width="90" height="12" />
195 <bpmndi:BPMNEdge id="SequenceFlow_0zf2qyk_di" bpmnElement="SequenceFlow_0zf2qyk">
196 <di:waypoint xsi:type="dc:Point" x="1020" y="227" />
197 <di:waypoint xsi:type="dc:Point" x="1073" y="227" />
198 <di:waypoint xsi:type="dc:Point" x="1073" y="227" />
199 <di:waypoint xsi:type="dc:Point" x="1121" y="227" />
201 <dc:Bounds x="1043" y="227" width="0" height="12" />
204 <bpmndi:BPMNEdge id="SequenceFlow_07hrbs0_di" bpmnElement="SequenceFlow_07hrbs0">
205 <di:waypoint xsi:type="dc:Point" x="1221" y="227" />
206 <di:waypoint xsi:type="dc:Point" x="1318" y="227" />
208 <dc:Bounds x="1225.5" y="212" width="0" height="12" />
211 <bpmndi:BPMNEdge id="SequenceFlow_1ab5l2q_di" bpmnElement="SequenceFlow_1ab5l2q">
212 <di:waypoint xsi:type="dc:Point" x="1664" y="267" />
213 <di:waypoint xsi:type="dc:Point" x="1664" y="304" />
215 <dc:Bounds x="1634" y="279.5" width="90" height="12" />
218 <bpmndi:BPMNEdge id="SequenceFlow_0yowshs_di" bpmnElement="SequenceFlow_0yowshs">
219 <di:waypoint xsi:type="dc:Point" x="841" y="227" />
220 <di:waypoint xsi:type="dc:Point" x="920" y="227" />
222 <dc:Bounds x="835.5" y="206" width="90" height="12" />
225 <bpmndi:BPMNEdge id="SequenceFlow_04urx2e_di" bpmnElement="SequenceFlow_04urx2e">
226 <di:waypoint xsi:type="dc:Point" x="1368" y="227" />
227 <di:waypoint xsi:type="dc:Point" x="1453" y="227" />
229 <dc:Bounds x="1370.25" y="203" width="18" height="12" />
232 <bpmndi:BPMNEdge id="SequenceFlow_1ii935p_di" bpmnElement="SequenceFlow_1ii935p">
233 <di:waypoint xsi:type="dc:Point" x="1553" y="227" />
234 <di:waypoint xsi:type="dc:Point" x="1614" y="227" />
236 <dc:Bounds x="1495" y="212" width="90" height="12" />
239 <bpmndi:BPMNEdge id="SequenceFlow_1t6ekab_di" bpmnElement="SequenceFlow_1t6ekab">
240 <di:waypoint xsi:type="dc:Point" x="1343" y="252" />
241 <di:waypoint xsi:type="dc:Point" x="1343" y="277" />
242 <di:waypoint xsi:type="dc:Point" x="1343" y="277" />
243 <di:waypoint xsi:type="dc:Point" x="1343" y="304" />
245 <dc:Bounds x="1352" y="277" width="12" height="12" />
248 <bpmndi:BPMNShape id="ScriptTask_1c6ogpt_di" bpmnElement="ScriptTask_1c6ogpt">
249 <dc:Bounds x="982" y="715" width="100" height="80" />
251 <bpmndi:BPMNShape id="StartEvent_121296y_di" bpmnElement="StartEvent_121296y">
252 <dc:Bounds x="867" y="737" width="36" height="36" />
254 <dc:Bounds x="795" y="778" width="90" height="12" />
257 <bpmndi:BPMNShape id="EndEvent_1dw3dwx_di" bpmnElement="EndEvent_1dw3dwx">
258 <dc:Bounds x="1143" y="737" width="36" height="36" />
260 <dc:Bounds x="1071" y="778" width="90" height="12" />
263 <bpmndi:BPMNShape id="StartEvent_0jybicw_di" bpmnElement="StartEvent_0jybicw">
264 <dc:Bounds x="752" y="460" width="36" height="36" />
266 <dc:Bounds x="680" y="501" width="90" height="12" />
269 <bpmndi:BPMNShape id="EndEvent_1jegbhy_di" bpmnElement="EndEvent_1jegbhy">
270 <dc:Bounds x="1331" y="460" width="36" height="36" />
272 <dc:Bounds x="1259" y="501" width="90" height="12" />
275 <bpmndi:BPMNShape id="ScriptTask_0so3xj0_di" bpmnElement="ScriptTask_0so3xj0">
276 <dc:Bounds x="1010" y="438" width="100" height="80" />
278 <bpmndi:BPMNShape id="CallActivity_1qhekgt_di" bpmnElement="CallActivity_1qhekgt">
279 <dc:Bounds x="1187" y="438" width="100" height="80" />
281 <bpmndi:BPMNShape id="ScriptTask_006nty7_di" bpmnElement="ScriptTask_006nty7">
282 <dc:Bounds x="832" y="438" width="100" height="80" />
284 <bpmndi:BPMNEdge id="SequenceFlow_0guajy5_di" bpmnElement="SequenceFlow_0guajy5">
285 <di:waypoint xsi:type="dc:Point" x="903" y="755" />
286 <di:waypoint xsi:type="dc:Point" x="982" y="755" />
288 <dc:Bounds x="856" y="755" width="90" height="12" />
291 <bpmndi:BPMNEdge id="SequenceFlow_0dbt753_di" bpmnElement="SequenceFlow_0dbt753">
292 <di:waypoint xsi:type="dc:Point" x="1082" y="755" />
293 <di:waypoint xsi:type="dc:Point" x="1143" y="755" />
295 <dc:Bounds x="1028" y="755" width="90" height="12" />
298 <bpmndi:BPMNEdge id="SequenceFlow_0for83z_di" bpmnElement="SequenceFlow_0for83z">
299 <di:waypoint xsi:type="dc:Point" x="788" y="478" />
300 <di:waypoint xsi:type="dc:Point" x="810" y="478" />
301 <di:waypoint xsi:type="dc:Point" x="810" y="478" />
302 <di:waypoint xsi:type="dc:Point" x="831" y="478" />
304 <dc:Bounds x="735" y="478" width="90" height="12" />
307 <bpmndi:BPMNEdge id="SequenceFlow_0hrazlh_di" bpmnElement="SequenceFlow_0hrazlh">
308 <di:waypoint xsi:type="dc:Point" x="1287" y="478" />
309 <di:waypoint xsi:type="dc:Point" x="1331" y="478" />
311 <dc:Bounds x="1219" y="463" width="90" height="12" />
314 <bpmndi:BPMNEdge id="SequenceFlow_1s1cbgf_di" bpmnElement="SequenceFlow_1s1cbgf">
315 <di:waypoint xsi:type="dc:Point" x="932" y="478" />
316 <di:waypoint xsi:type="dc:Point" x="959" y="478" />
317 <di:waypoint xsi:type="dc:Point" x="959" y="478" />
318 <di:waypoint xsi:type="dc:Point" x="1010" y="478" />
320 <dc:Bounds x="884" y="478" width="90" height="12" />
323 <bpmndi:BPMNEdge id="SequenceFlow_1py6yqz_di" bpmnElement="SequenceFlow_1py6yqz">
324 <di:waypoint xsi:type="dc:Point" x="1110" y="478" />
325 <di:waypoint xsi:type="dc:Point" x="1187" y="478" />
327 <dc:Bounds x="1060" y="463" width="90" height="12" />
331 </bpmndi:BPMNDiagram>