Merge "added fragment support to generated objects"
[so.git] / bpmn / so-bpmn-infrastructure-flows / src / main / resources / subprocess / DoCreateVfModuleVolumeRollback.bpmn
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: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="3.7.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>import org.onap.so.bpmn.infrastructure.scripts.*
9 def doCreateVfModuleVolumeRollback = new DoCreateVfModuleVolumeRollback()
10 doCreateVfModuleVolumeRollback.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="openstackAdapterTask">
37       <bpmn:extensionElements>
38         <camunda:in source="DCVFMODVOLRBK_rollbackVnfARequest" target="openstackAdapterTaskRequest" />
39         <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">#{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>import org.onap.so.bpmn.infrastructure.scripts.*
54 def doCreateVfModuleVolumeRollback = new DoCreateVfModuleVolumeRollback()
55 doCreateVfModuleVolumeRollback.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">#{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">#{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>import org.onap.so.bpmn.infrastructure.scripts.*
83 def doCreateVfModuleVolumeRollback = new DoCreateVfModuleVolumeRollback()
84 doCreateVfModuleVolumeRollback.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="365" width="394" height="188" />
94       </bpmndi:BPMNShape>
95       <bpmndi:BPMNShape id="ScriptTask_0by1uwk_di" bpmnElement="ScriptTask_0by1uwk">
96         <dc:Bounds x="441" y="420" width="100" height="80" />
97       </bpmndi:BPMNShape>
98       <bpmndi:BPMNShape id="StartEvent_1j0eixl_di" bpmnElement="StartEvent_1j0eixl">
99         <dc:Bounds x="326" y="442" 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="442" 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 x="362" y="460" />
112         <di:waypoint x="441" y="460" />
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 x="541" y="460" />
119         <di:waypoint x="602" y="460" />
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="107" width="36" height="36" />
126         <bpmndi:BPMNLabel>
127           <dc:Bounds x="166" y="148" width="52" height="14" />
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="150" width="79" height="14" />
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="150" width="52" height="14" />
140         </bpmndi:BPMNLabel>
141       </bpmndi:BPMNShape>
142       <bpmndi:BPMNShape id="CallActivity_03pmk7v_di" bpmnElement="CallActivity_03pmk7v">
143         <dc:Bounds x="786" y="85" width="100" height="80" />
144       </bpmndi:BPMNShape>
145       <bpmndi:BPMNEdge id="SequenceFlow_0h7k68j_di" bpmnElement="SequenceFlow_0h7k68j">
146         <di:waypoint x="657" y="125" />
147         <di:waypoint x="786" y="125" />
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="85" width="100" height="80" />
154       </bpmndi:BPMNShape>
155       <bpmndi:BPMNEdge id="SequenceFlow_0bv04qn_di" bpmnElement="SequenceFlow_0bv04qn">
156         <di:waypoint x="886" y="125" />
157         <di:waypoint x="937" y="125" />
158         <di:waypoint x="937" y="125" />
159         <di:waypoint x="998" y="125" />
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 x="632" y="150" />
166         <di:waypoint x="632" y="240" />
167         <di:waypoint x="811" y="240" />
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 x="1098" y="125" />
174         <di:waypoint x="1151" y="125" />
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="215" width="50" height="50" />
181         <bpmndi:BPMNLabel>
182           <dc:Bounds x="809" y="265" width="53" height="14" />
183         </bpmndi:BPMNLabel>
184       </bpmndi:BPMNShape>
185       <bpmndi:BPMNEdge id="SequenceFlow_17k6oyz_di" bpmnElement="SequenceFlow_17k6oyz">
186         <di:waypoint x="861" y="240" />
187         <di:waypoint x="1048" y="240" />
188         <di:waypoint x="1048" y="165" />
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 x="836" y="265" />
195         <di:waypoint x="836" y="299" />
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="299" 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="107" 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 x="515" y="125" />
214         <di:waypoint x="607" y="125" />
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="85" width="100" height="80" />
221       </bpmndi:BPMNShape>
222       <bpmndi:BPMNEdge id="SequenceFlow_1wberw3_di" bpmnElement="SequenceFlow_1wberw3">
223         <di:waypoint x="490" y="150" />
224         <di:waypoint x="490" y="317" />
225         <di:waypoint x="818" y="317" />
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 x="209" y="125" />
232         <di:waypoint x="288" y="125" />
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 x="388" y="125" />
239         <di:waypoint x="465" y="125" />
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>