blob: 6f3dceda84902d5cf6db221693204ef675eb938a [file] [log] [blame]
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -04001<?xml version="1.0" encoding="UTF-8"?>
Boslet, Corycd4e5b42020-03-25 16:04:41 -04002<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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.10.0">
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -04003 <bpmn:process id="DoCreateVfModuleVolumeRollback" name="DoCreateVfModuleVolumeRollback" isExecutable="true">
4 <bpmn:subProcess id="SubProcess_1p4663w" name="Sub-process for UnexpectedErrors" triggeredByEvent="true">
5 <bpmn:scriptTask id="ScriptTask_0by1uwk" name="Log / Print Unexpected Error" scriptFormat="groovy">
6 <bpmn:incoming>SequenceFlow_0xktw7v</bpmn:incoming>
7 <bpmn:outgoing>SequenceFlow_0soe5t3</bpmn:outgoing>
8 <bpmn:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
9def doCreateVfModuleVolumeRollback = new DoCreateVfModuleVolumeRollback()
10doCreateVfModuleVolumeRollback.processJavaException(execution)]]></bpmn:script>
11 </bpmn:scriptTask>
12 <bpmn:startEvent id="StartEvent_1j0eixl">
13 <bpmn:outgoing>SequenceFlow_0xktw7v</bpmn:outgoing>
14 <bpmn:errorEventDefinition />
15 </bpmn:startEvent>
16 <bpmn:endEvent id="EndEvent_0jxh015">
17 <bpmn:incoming>SequenceFlow_0soe5t3</bpmn:incoming>
18 </bpmn:endEvent>
19 <bpmn:sequenceFlow id="SequenceFlow_0xktw7v" name="" sourceRef="StartEvent_1j0eixl" targetRef="ScriptTask_0by1uwk" />
20 <bpmn:sequenceFlow id="SequenceFlow_0soe5t3" name="" sourceRef="ScriptTask_0by1uwk" targetRef="EndEvent_0jxh015" />
21 </bpmn:subProcess>
22 <bpmn:startEvent id="StartEvent_0128tti" name="Fault Start">
23 <bpmn:outgoing>SequenceFlow_0qreiaa</bpmn:outgoing>
24 <bpmn:errorEventDefinition />
25 </bpmn:startEvent>
26 <bpmn:exclusiveGateway id="ExclusiveGateway_128ycfs" name="Is RollBack On?" default="SequenceFlow_1wberw3">
27 <bpmn:incoming>SequenceFlow_1xah9es</bpmn:incoming>
28 <bpmn:outgoing>SequenceFlow_11y7faf</bpmn:outgoing>
29 <bpmn:outgoing>SequenceFlow_1wberw3</bpmn:outgoing>
30 </bpmn:exclusiveGateway>
31 <bpmn:exclusiveGateway id="ExclusiveGateway_03qps8q" name="Is Vnf Ok?" default="SequenceFlow_10dawse">
32 <bpmn:incoming>SequenceFlow_11y7faf</bpmn:incoming>
33 <bpmn:outgoing>SequenceFlow_0h7k68j</bpmn:outgoing>
34 <bpmn:outgoing>SequenceFlow_10dawse</bpmn:outgoing>
35 </bpmn:exclusiveGateway>
Boslet, Corycd4e5b42020-03-25 16:04:41 -040036 <bpmn:callActivity id="CallActivity_03pmk7v" name="Call VNF Adapter Rollback" calledElement="vnfAdapterTask">
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040037 <bpmn:extensionElements>
Boslet, Corycd4e5b42020-03-25 16:04:41 -040038 <camunda:in source="DCVFMODVOLRBK_rollbackVnfARequest" target="vnfAdapterTaskRequest" />
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040039 <camunda:out source="workflowException" target="workflowException" />
40 <camunda:in source="mso-request-id" target="mso-request-id" />
41 <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
42 </bpmn:extensionElements>
43 <bpmn:incoming>SequenceFlow_0h7k68j</bpmn:incoming>
44 <bpmn:outgoing>SequenceFlow_0bv04qn</bpmn:outgoing>
45 </bpmn:callActivity>
46 <bpmn:sequenceFlow id="SequenceFlow_0h7k68j" sourceRef="ExclusiveGateway_03qps8q" targetRef="CallActivity_03pmk7v">
47 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[#{execution.getVariable("DCVFMODVOLRBK_isCreateVnfRollbackNeeded") == "true"}]]></bpmn:conditionExpression>
48 </bpmn:sequenceFlow>
49 <bpmn:scriptTask id="ScriptTask_1numqm0" name="Delete Volume Group" scriptFormat="groovy">
50 <bpmn:incoming>SequenceFlow_0bv04qn</bpmn:incoming>
51 <bpmn:incoming>SequenceFlow_17k6oyz</bpmn:incoming>
52 <bpmn:outgoing>SequenceFlow_13nb3n0</bpmn:outgoing>
53 <bpmn:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
54def doCreateVfModuleVolumeRollback = new DoCreateVfModuleVolumeRollback()
55doCreateVfModuleVolumeRollback.executeMethod('callRESTDeleteAAIVolumeGroup', execution, isDebugLogEnabled)]]></bpmn:script>
56 </bpmn:scriptTask>
57 <bpmn:sequenceFlow id="SequenceFlow_0bv04qn" sourceRef="CallActivity_03pmk7v" targetRef="ScriptTask_1numqm0" />
58 <bpmn:sequenceFlow id="SequenceFlow_10dawse" sourceRef="ExclusiveGateway_03qps8q" targetRef="ExclusiveGateway_1dzejtx" />
59 <bpmn:sequenceFlow id="SequenceFlow_13nb3n0" sourceRef="ScriptTask_1numqm0" targetRef="EndEvent_11duf9p" />
60 <bpmn:exclusiveGateway id="ExclusiveGateway_1dzejtx" name="Is AAI Ok?" default="SequenceFlow_1do0853">
61 <bpmn:incoming>SequenceFlow_10dawse</bpmn:incoming>
62 <bpmn:outgoing>SequenceFlow_17k6oyz</bpmn:outgoing>
63 <bpmn:outgoing>SequenceFlow_1do0853</bpmn:outgoing>
64 </bpmn:exclusiveGateway>
65 <bpmn:sequenceFlow id="SequenceFlow_17k6oyz" sourceRef="ExclusiveGateway_1dzejtx" targetRef="ScriptTask_1numqm0">
66 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[#{execution.getVariable("DCVFMODVOLRBK_isAAIRollbackNeeded" ) == "true"}]]></bpmn:conditionExpression>
67 </bpmn:sequenceFlow>
68 <bpmn:sequenceFlow id="SequenceFlow_1do0853" sourceRef="ExclusiveGateway_1dzejtx" targetRef="EndEvent_1ddbl39" />
69 <bpmn:endEvent id="EndEvent_1ddbl39">
70 <bpmn:incoming>SequenceFlow_1do0853</bpmn:incoming>
71 <bpmn:incoming>SequenceFlow_1wberw3</bpmn:incoming>
72 </bpmn:endEvent>
73 <bpmn:endEvent id="EndEvent_11duf9p">
74 <bpmn:incoming>SequenceFlow_13nb3n0</bpmn:incoming>
75 </bpmn:endEvent>
76 <bpmn:sequenceFlow id="SequenceFlow_11y7faf" sourceRef="ExclusiveGateway_128ycfs" targetRef="ExclusiveGateway_03qps8q">
77 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[#{execution.getVariable("DCVFMODVOLRBK_backoutOnFailure") != "false"}]]></bpmn:conditionExpression>
78 </bpmn:sequenceFlow>
79 <bpmn:scriptTask id="ScriptTask_0uhy9lc" name="Pre process" scriptFormat="groovy">
80 <bpmn:incoming>SequenceFlow_0qreiaa</bpmn:incoming>
81 <bpmn:outgoing>SequenceFlow_1xah9es</bpmn:outgoing>
82 <bpmn:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
83def doCreateVfModuleVolumeRollback = new DoCreateVfModuleVolumeRollback()
84doCreateVfModuleVolumeRollback.preProcessRequest(execution)]]></bpmn:script>
85 </bpmn:scriptTask>
86 <bpmn:sequenceFlow id="SequenceFlow_1wberw3" sourceRef="ExclusiveGateway_128ycfs" targetRef="EndEvent_1ddbl39" />
87 <bpmn:sequenceFlow id="SequenceFlow_0qreiaa" sourceRef="StartEvent_0128tti" targetRef="ScriptTask_0uhy9lc" />
88 <bpmn:sequenceFlow id="SequenceFlow_1xah9es" sourceRef="ScriptTask_0uhy9lc" targetRef="ExclusiveGateway_128ycfs" />
89 </bpmn:process>
90 <bpmndi:BPMNDiagram id="BPMNDiagram_1">
91 <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DoCreateVfModuleVolumeRollback">
92 <bpmndi:BPMNShape id="SubProcess_1p4663w_di" bpmnElement="SubProcess_1p4663w" isExpanded="true">
93 <dc:Bounds x="293" y="165" width="394" height="188" />
94 </bpmndi:BPMNShape>
95 <bpmndi:BPMNShape id="ScriptTask_0by1uwk_di" bpmnElement="ScriptTask_0by1uwk">
96 <dc:Bounds x="441" y="220" width="100" height="80" />
97 </bpmndi:BPMNShape>
98 <bpmndi:BPMNShape id="StartEvent_1j0eixl_di" bpmnElement="StartEvent_1j0eixl">
99 <dc:Bounds x="326" y="242" width="36" height="36" />
100 <bpmndi:BPMNLabel>
101 <dc:Bounds x="344" y="283" width="0" height="0" />
102 </bpmndi:BPMNLabel>
103 </bpmndi:BPMNShape>
104 <bpmndi:BPMNShape id="EndEvent_0jxh015_di" bpmnElement="EndEvent_0jxh015">
105 <dc:Bounds x="602" y="242" width="36" height="36" />
106 <bpmndi:BPMNLabel>
107 <dc:Bounds x="620" y="283" width="0" height="0" />
108 </bpmndi:BPMNLabel>
109 </bpmndi:BPMNShape>
110 <bpmndi:BPMNEdge id="SequenceFlow_0xktw7v_di" bpmnElement="SequenceFlow_0xktw7v">
111 <di:waypoint xsi:type="dc:Point" x="362" y="260" />
112 <di:waypoint xsi:type="dc:Point" x="441" y="260" />
113 <bpmndi:BPMNLabel>
114 <dc:Bounds x="404" y="260" width="0" height="0" />
115 </bpmndi:BPMNLabel>
116 </bpmndi:BPMNEdge>
117 <bpmndi:BPMNEdge id="SequenceFlow_0soe5t3_di" bpmnElement="SequenceFlow_0soe5t3">
118 <di:waypoint xsi:type="dc:Point" x="541" y="260" />
119 <di:waypoint xsi:type="dc:Point" x="602" y="260" />
120 <bpmndi:BPMNLabel>
121 <dc:Bounds x="576" y="260" width="0" height="0" />
122 </bpmndi:BPMNLabel>
123 </bpmndi:BPMNEdge>
124 <bpmndi:BPMNShape id="StartEvent_0128tti_di" bpmnElement="StartEvent_0128tti">
125 <dc:Bounds x="173" y="-93" width="36" height="36" />
126 <bpmndi:BPMNLabel>
127 <dc:Bounds x="167" y="-52" width="50" height="12" />
128 </bpmndi:BPMNLabel>
129 </bpmndi:BPMNShape>
130 <bpmndi:BPMNShape id="ExclusiveGateway_128ycfs_di" bpmnElement="ExclusiveGateway_128ycfs" isMarkerVisible="true">
131 <dc:Bounds x="465" y="-100" width="50" height="50" />
132 <bpmndi:BPMNLabel>
133 <dc:Bounds x="450" y="-50" width="79" height="12" />
134 </bpmndi:BPMNLabel>
135 </bpmndi:BPMNShape>
136 <bpmndi:BPMNShape id="ExclusiveGateway_03qps8q_di" bpmnElement="ExclusiveGateway_03qps8q" isMarkerVisible="true">
137 <dc:Bounds x="607" y="-100" width="50" height="50" />
138 <bpmndi:BPMNLabel>
139 <dc:Bounds x="606" y="-50" width="52" height="12" />
140 </bpmndi:BPMNLabel>
141 </bpmndi:BPMNShape>
142 <bpmndi:BPMNShape id="CallActivity_03pmk7v_di" bpmnElement="CallActivity_03pmk7v">
143 <dc:Bounds x="786" y="-115" width="100" height="80" />
144 </bpmndi:BPMNShape>
145 <bpmndi:BPMNEdge id="SequenceFlow_0h7k68j_di" bpmnElement="SequenceFlow_0h7k68j">
146 <di:waypoint xsi:type="dc:Point" x="657" y="-75" />
147 <di:waypoint xsi:type="dc:Point" x="786" y="-75" />
148 <bpmndi:BPMNLabel>
149 <dc:Bounds x="722" y="-90" width="0" height="0" />
150 </bpmndi:BPMNLabel>
151 </bpmndi:BPMNEdge>
152 <bpmndi:BPMNShape id="ScriptTask_1numqm0_di" bpmnElement="ScriptTask_1numqm0">
153 <dc:Bounds x="998" y="-115" width="100" height="80" />
154 </bpmndi:BPMNShape>
155 <bpmndi:BPMNEdge id="SequenceFlow_0bv04qn_di" bpmnElement="SequenceFlow_0bv04qn">
156 <di:waypoint xsi:type="dc:Point" x="886" y="-75" />
157 <di:waypoint xsi:type="dc:Point" x="937" y="-75" />
158 <di:waypoint xsi:type="dc:Point" x="937" y="-75" />
159 <di:waypoint xsi:type="dc:Point" x="998" y="-75" />
160 <bpmndi:BPMNLabel>
161 <dc:Bounds x="952" y="-75" width="0" height="0" />
162 </bpmndi:BPMNLabel>
163 </bpmndi:BPMNEdge>
164 <bpmndi:BPMNEdge id="SequenceFlow_10dawse_di" bpmnElement="SequenceFlow_10dawse">
165 <di:waypoint xsi:type="dc:Point" x="632" y="-50" />
166 <di:waypoint xsi:type="dc:Point" x="632" y="40" />
167 <di:waypoint xsi:type="dc:Point" x="811" y="40" />
168 <bpmndi:BPMNLabel>
169 <dc:Bounds x="648" y="-5" width="0" height="0" />
170 </bpmndi:BPMNLabel>
171 </bpmndi:BPMNEdge>
172 <bpmndi:BPMNEdge id="SequenceFlow_13nb3n0_di" bpmnElement="SequenceFlow_13nb3n0">
173 <di:waypoint xsi:type="dc:Point" x="1098" y="-75" />
174 <di:waypoint xsi:type="dc:Point" x="1151" y="-75" />
175 <bpmndi:BPMNLabel>
176 <dc:Bounds x="1125" y="-90" width="0" height="0" />
177 </bpmndi:BPMNLabel>
178 </bpmndi:BPMNEdge>
179 <bpmndi:BPMNShape id="ExclusiveGateway_1dzejtx_di" bpmnElement="ExclusiveGateway_1dzejtx" isMarkerVisible="true">
180 <dc:Bounds x="811" y="15" width="50" height="50" />
181 <bpmndi:BPMNLabel>
182 <dc:Bounds x="809" y="65" width="53" height="12" />
183 </bpmndi:BPMNLabel>
184 </bpmndi:BPMNShape>
185 <bpmndi:BPMNEdge id="SequenceFlow_17k6oyz_di" bpmnElement="SequenceFlow_17k6oyz">
186 <di:waypoint xsi:type="dc:Point" x="861" y="40" />
187 <di:waypoint xsi:type="dc:Point" x="1048" y="40" />
188 <di:waypoint xsi:type="dc:Point" x="1048" y="-35" />
189 <bpmndi:BPMNLabel>
190 <dc:Bounds x="955" y="25" width="0" height="0" />
191 </bpmndi:BPMNLabel>
192 </bpmndi:BPMNEdge>
193 <bpmndi:BPMNEdge id="SequenceFlow_1do0853_di" bpmnElement="SequenceFlow_1do0853">
194 <di:waypoint xsi:type="dc:Point" x="836" y="65" />
195 <di:waypoint xsi:type="dc:Point" x="836" y="99" />
196 <bpmndi:BPMNLabel>
197 <dc:Bounds x="851" y="82" width="0" height="0" />
198 </bpmndi:BPMNLabel>
199 </bpmndi:BPMNEdge>
200 <bpmndi:BPMNShape id="EndEvent_0le8wga_di" bpmnElement="EndEvent_1ddbl39">
201 <dc:Bounds x="818" y="99" width="36" height="36" />
202 <bpmndi:BPMNLabel>
203 <dc:Bounds x="836" y="135" width="0" height="0" />
204 </bpmndi:BPMNLabel>
205 </bpmndi:BPMNShape>
206 <bpmndi:BPMNShape id="EndEvent_1iibjyo_di" bpmnElement="EndEvent_11duf9p">
207 <dc:Bounds x="1151" y="-93" width="36" height="36" />
208 <bpmndi:BPMNLabel>
209 <dc:Bounds x="1169" y="-57" width="0" height="0" />
210 </bpmndi:BPMNLabel>
211 </bpmndi:BPMNShape>
212 <bpmndi:BPMNEdge id="SequenceFlow_11y7faf_di" bpmnElement="SequenceFlow_11y7faf">
213 <di:waypoint xsi:type="dc:Point" x="515" y="-75" />
214 <di:waypoint xsi:type="dc:Point" x="607" y="-75" />
215 <bpmndi:BPMNLabel>
216 <dc:Bounds x="561" y="-90" width="0" height="0" />
217 </bpmndi:BPMNLabel>
218 </bpmndi:BPMNEdge>
219 <bpmndi:BPMNShape id="ScriptTask_0uhy9lc_di" bpmnElement="ScriptTask_0uhy9lc">
220 <dc:Bounds x="288" y="-115" width="100" height="80" />
221 </bpmndi:BPMNShape>
222 <bpmndi:BPMNEdge id="SequenceFlow_1wberw3_di" bpmnElement="SequenceFlow_1wberw3">
223 <di:waypoint xsi:type="dc:Point" x="490" y="-50" />
224 <di:waypoint xsi:type="dc:Point" x="490" y="117" />
225 <di:waypoint xsi:type="dc:Point" x="818" y="117" />
226 <bpmndi:BPMNLabel>
227 <dc:Bounds x="505" y="23.5" width="0" height="0" />
228 </bpmndi:BPMNLabel>
229 </bpmndi:BPMNEdge>
230 <bpmndi:BPMNEdge id="SequenceFlow_0qreiaa_di" bpmnElement="SequenceFlow_0qreiaa">
231 <di:waypoint xsi:type="dc:Point" x="209" y="-75" />
232 <di:waypoint xsi:type="dc:Point" x="288" y="-75" />
233 <bpmndi:BPMNLabel>
234 <dc:Bounds x="249" y="-100" width="0" height="0" />
235 </bpmndi:BPMNLabel>
236 </bpmndi:BPMNEdge>
237 <bpmndi:BPMNEdge id="SequenceFlow_1xah9es_di" bpmnElement="SequenceFlow_1xah9es">
238 <di:waypoint xsi:type="dc:Point" x="388" y="-75" />
239 <di:waypoint xsi:type="dc:Point" x="465" y="-75" />
240 <bpmndi:BPMNLabel>
241 <dc:Bounds x="427" y="-100" width="0" height="0" />
242 </bpmndi:BPMNLabel>
243 </bpmndi:BPMNEdge>
244 </bpmndi:BPMNPlane>
245 </bpmndi:BPMNDiagram>
246</bpmn:definitions>