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