Remove unnecessary use of Calendar.getInstance()
[so.git] / bpmn / MSOCommonBPMN / src / main / resources / subprocess / CreateAAIVfModule.bpmn
1 <?xml version="1.0" encoding="UTF-8"?>
2 <bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd" id="_Wblj8GyfEeWUWLTvug7ZOg" exporter="camunda modeler" exporterVersion="2.7.0" targetNamespace="http://camunda.org/schema/1.0/bpmn">
3   <bpmn2:process id="CreateAAIVfModule" name="CreateAAIVfModule" isExecutable="true">
4     <bpmn2:exclusiveGateway id="ExclusiveGateway_5" default="SequenceFlow_7">
5       <bpmn2:incoming>SequenceFlow_24</bpmn2:incoming>
6       <bpmn2:outgoing>SequenceFlow_6</bpmn2:outgoing>
7       <bpmn2:outgoing>SequenceFlow_7</bpmn2:outgoing>
8       <bpmn2:outgoing>SequenceFlow_28</bpmn2:outgoing>
9     </bpmn2:exclusiveGateway>
10     <bpmn2:sequenceFlow id="SequenceFlow_6" name="" sourceRef="ExclusiveGateway_5" targetRef="ExclusiveGateway_6">
11       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{(execution.getVariable("CAAIVfMod_newGenericVnf") == true && execution.getVariable("CAAIVfMod_queryGenericVnfResponseCode") == 404) || execution.getVariable("CAAIVfMod_isBaseVfModule") == true}]]></bpmn2:conditionExpression>
12     </bpmn2:sequenceFlow>
13     <bpmn2:sequenceFlow id="SequenceFlow_7" name="" sourceRef="ExclusiveGateway_5" targetRef="ScriptTask_2"/>
14     <bpmn2:exclusiveGateway id="ExclusiveGateway_3" default="SequenceFlow_22">
15       <bpmn2:incoming>SequenceFlow_39</bpmn2:incoming>
16       <bpmn2:outgoing>SequenceFlow_22</bpmn2:outgoing>
17       <bpmn2:outgoing>SequenceFlow_23</bpmn2:outgoing>
18     </bpmn2:exclusiveGateway>
19     <bpmn2:sequenceFlow id="SequenceFlow_22" name="" sourceRef="ExclusiveGateway_3" targetRef="ProcessAAISearch"/>
20     <bpmn2:sequenceFlow id="SequenceFlow_23" name="" sourceRef="ExclusiveGateway_3" targetRef="AAIQueryFailure">
21       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("CAAIVfMod_queryGenericVnfResponseCode") != 200 && execution.getVariable("CAAIVfMod_queryGenericVnfResponseCode") != 404}]]></bpmn2:conditionExpression>
22     </bpmn2:sequenceFlow>
23     <bpmn2:scriptTask id="AAIQueryFailure" name="AAI Query Failure" scriptFormat="groovy">
24       <bpmn2:incoming>SequenceFlow_23</bpmn2:incoming>
25       <bpmn2:outgoing>SequenceFlow_18</bpmn2:outgoing>
26       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
27 def cvm = new CreateAAIVfModule()
28 cvm.handleAAIQueryFailure(execution)]]></bpmn2:script>
29     </bpmn2:scriptTask>
30     <bpmn2:sequenceFlow id="SequenceFlow_18" name="" sourceRef="AAIQueryFailure" targetRef="EndEvent_7"/>
31     <bpmn2:endEvent id="EndEvent_7">
32       <bpmn2:incoming>SequenceFlow_18</bpmn2:incoming>
33       <bpmn2:errorEventDefinition id="_ErrorEventDefinition_68" errorRef="Error_1"/>
34     </bpmn2:endEvent>
35     <bpmn2:scriptTask id="ProcessAAISearch" name="Process AAI Generic Vnf Query" scriptFormat="groovy">
36       <bpmn2:incoming>SequenceFlow_22</bpmn2:incoming>
37       <bpmn2:outgoing>SequenceFlow_24</bpmn2:outgoing>
38       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
39 def cvm = new CreateAAIVfModule()
40 cvm.processAAIGenericVnfQuery(execution)]]></bpmn2:script>
41     </bpmn2:scriptTask>
42     <bpmn2:sequenceFlow id="SequenceFlow_24" name="" sourceRef="ProcessAAISearch" targetRef="ExclusiveGateway_5"/>
43     <bpmn2:exclusiveGateway id="ExclusiveGateway_1" default="SequenceFlow_5">
44       <bpmn2:incoming>SequenceFlow_8</bpmn2:incoming>
45       <bpmn2:outgoing>SequenceFlow_5</bpmn2:outgoing>
46       <bpmn2:outgoing>SequenceFlow_10</bpmn2:outgoing>
47     </bpmn2:exclusiveGateway>
48     <bpmn2:exclusiveGateway id="ExclusiveGateway_7">
49       <bpmn2:incoming>SequenceFlow_4</bpmn2:incoming>
50       <bpmn2:incoming>SequenceFlow_35</bpmn2:incoming>
51       <bpmn2:outgoing>SequenceFlow_8</bpmn2:outgoing>
52     </bpmn2:exclusiveGateway>
53     <bpmn2:sequenceFlow id="SequenceFlow_28" name="Generic Vnf does not exist&#xD;&#xA; and Vnf Id != null or&#xD;&#xA;Generic Vnf does exist&#xD;&#xA;and Vnf Id == null" sourceRef="ExclusiveGateway_5" targetRef="CreateGenericVnfFailure">
54       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{(execution.getVariable("CAAIVfMod_newGenericVnf") == false && execution.getVariable("CAAIVfMod_queryGenericVnfResponseCode") == 404) || (execution.getVariable("CAAIVfMod_newGenericVnf") == true && execution.getVariable("CAAIVfMod_queryGenericVnfResponseCode") == 200)}]]></bpmn2:conditionExpression>
55     </bpmn2:sequenceFlow>
56     <bpmn2:scriptTask id="CreateGenericVnfFailure" name="Create Generic Vnf Failure" scriptFormat="groovy">
57       <bpmn2:incoming>SequenceFlow_28</bpmn2:incoming>
58       <bpmn2:incoming>SequenceFlow_26</bpmn2:incoming>
59       <bpmn2:incoming>SequenceFlow_33</bpmn2:incoming>
60       <bpmn2:outgoing>SequenceFlow_29</bpmn2:outgoing>
61       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
62 def cvm = new CreateAAIVfModule()
63 cvm.handleCreateVfModuleFailure(execution)]]></bpmn2:script>
64     </bpmn2:scriptTask>
65     <bpmn2:endEvent id="EndEvent_8">
66       <bpmn2:incoming>SequenceFlow_29</bpmn2:incoming>
67       <bpmn2:errorEventDefinition id="_ErrorEventDefinition_69" errorRef="Error_1"/>
68     </bpmn2:endEvent>
69     <bpmn2:sequenceFlow id="SequenceFlow_29" name="" sourceRef="CreateGenericVnfFailure" targetRef="EndEvent_8"/>
70     <bpmn2:scriptTask id="ScriptTask_2" name="Parse For Add-on Module" scriptFormat="groovy">
71       <bpmn2:incoming>SequenceFlow_7</bpmn2:incoming>
72       <bpmn2:outgoing>SequenceFlow_31</bpmn2:outgoing>
73       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
74 def cvm = new CreateAAIVfModule()
75 cvm.parseForAddOnModule(execution)]]></bpmn2:script>
76     </bpmn2:scriptTask>
77     <bpmn2:sequenceFlow id="SequenceFlow_31" name="" sourceRef="ScriptTask_2" targetRef="ExclusiveGateway_4"/>
78     <bpmn2:scriptTask id="ScriptTask_8" name="Create Add-on Module" scriptFormat="groovy">
79       <bpmn2:incoming>SequenceFlow_34</bpmn2:incoming>
80       <bpmn2:outgoing>SequenceFlow_35</bpmn2:outgoing>
81       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
82 def cvm = new CreateAAIVfModule()
83 cvm.createVfModule(execution, false)]]></bpmn2:script>
84     </bpmn2:scriptTask>
85     <bpmn2:sequenceFlow id="SequenceFlow_35" name="" sourceRef="ScriptTask_8" targetRef="ExclusiveGateway_7"/>
86     <bpmn2:exclusiveGateway id="ExclusiveGateway_4" default="SequenceFlow_33">
87       <bpmn2:incoming>SequenceFlow_31</bpmn2:incoming>
88       <bpmn2:outgoing>SequenceFlow_33</bpmn2:outgoing>
89       <bpmn2:outgoing>SequenceFlow_34</bpmn2:outgoing>
90     </bpmn2:exclusiveGateway>
91     <bpmn2:sequenceFlow id="SequenceFlow_33" name="Vnf Module Exists&#xD;&#xA;" sourceRef="ExclusiveGateway_4" targetRef="CreateGenericVnfFailure"/>
92     <bpmn2:sequenceFlow id="SequenceFlow_34" name="" sourceRef="ExclusiveGateway_4" targetRef="ScriptTask_8">
93       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("CAAIVfMod_moduleExists") != true}]]></bpmn2:conditionExpression>
94     </bpmn2:sequenceFlow>
95     <bpmn2:scriptTask id="QueryAAIForGenericVnf" name="Query AAI for&#xD;&#xA;Generic Vnf" scriptFormat="groovy">
96       <bpmn2:incoming>SequenceFlow_38</bpmn2:incoming>
97       <bpmn2:outgoing>SequenceFlow_39</bpmn2:outgoing>
98       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
99 def cvm = new CreateAAIVfModule()
100 cvm.queryAAIForGenericVnf(execution)]]></bpmn2:script>
101     </bpmn2:scriptTask>
102     <bpmn2:sequenceFlow id="SequenceFlow_39" name="" sourceRef="QueryAAIForGenericVnf" targetRef="ExclusiveGateway_3"/>
103     <bpmn2:scriptTask id="InitializeVariables" name="Initialize Variables" scriptFormat="groovy">
104       <bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>
105       <bpmn2:outgoing>SequenceFlow_38</bpmn2:outgoing>
106       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
107 def cvm = new CreateAAIVfModule()
108 cvm.preProcessRequest(execution)]]></bpmn2:script>
109     </bpmn2:scriptTask>
110     <bpmn2:sequenceFlow id="SequenceFlow_38" name="" sourceRef="InitializeVariables" targetRef="QueryAAIForGenericVnf"/>
111     <bpmn2:endEvent id="EndEvent_2">
112       <bpmn2:incoming>SequenceFlow_2</bpmn2:incoming>
113       <bpmn2:errorEventDefinition id="_ErrorEventDefinition_50" errorRef="Error_1"/>
114     </bpmn2:endEvent>
115     <bpmn2:scriptTask id="CreateVfModuleFailure" name="Create Vf Module Failure" scriptFormat="groovy">
116       <bpmn2:incoming>SequenceFlow_5</bpmn2:incoming>
117       <bpmn2:outgoing>SequenceFlow_2</bpmn2:outgoing>
118       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
119 def cvm = new CreateAAIVfModule()
120 cvm.handleCreateVfModuleFailure(execution)]]></bpmn2:script>
121     </bpmn2:scriptTask>
122     <bpmn2:sequenceFlow id="SequenceFlow_2" name="" sourceRef="CreateVfModuleFailure" targetRef="EndEvent_2"/>
123     <bpmn2:sequenceFlow id="SequenceFlow_5" name="" sourceRef="ExclusiveGateway_1" targetRef="CreateVfModuleFailure"/>
124     <bpmn2:sequenceFlow id="SequenceFlow_8" name="" sourceRef="ExclusiveGateway_7" targetRef="ExclusiveGateway_1"/>
125     <bpmn2:endEvent id="EndEvent_1">
126       <bpmn2:incoming>SequenceFlow_10</bpmn2:incoming>
127     </bpmn2:endEvent>
128     <bpmn2:sequenceFlow id="SequenceFlow_10" name="" sourceRef="ExclusiveGateway_1" targetRef="EndEvent_1">
129       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("CAAIVfMod_createVfModuleResponseCode") == 200 || execution.getVariable("CAAIVfMod_createVfModuleResponseCode") == 201}]]></bpmn2:conditionExpression>
130     </bpmn2:sequenceFlow>
131     <bpmn2:exclusiveGateway id="ExclusiveGateway_2" default="SequenceFlow_26">
132       <bpmn2:incoming>SequenceFlow_20</bpmn2:incoming>
133       <bpmn2:incoming>SequenceFlow_13</bpmn2:incoming>
134       <bpmn2:outgoing>SequenceFlow_26</bpmn2:outgoing>
135       <bpmn2:outgoing>SequenceFlow_27</bpmn2:outgoing>
136     </bpmn2:exclusiveGateway>
137     <bpmn2:sequenceFlow id="SequenceFlow_26" name="Create Generic Vnf&#xD;&#xA;Failure" sourceRef="ExclusiveGateway_2" targetRef="CreateGenericVnfFailure"/>
138     <bpmn2:sequenceFlow id="SequenceFlow_27" name="" sourceRef="ExclusiveGateway_2" targetRef="ScriptTask_4">
139       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("CAAIVfMod_createGenericVnfResponseCode") == 200 || execution.getVariable("CAAIVfMod_createGenericVnfResponseCode") == 201}]]></bpmn2:conditionExpression>
140     </bpmn2:sequenceFlow>
141     <bpmn2:exclusiveGateway id="ExclusiveGateway_6" name="Is VID Request?" default="SequenceFlow_9">
142       <bpmn2:incoming>SequenceFlow_6</bpmn2:incoming>
143       <bpmn2:outgoing>SequenceFlow_9</bpmn2:outgoing>
144       <bpmn2:outgoing>SequenceFlow_11</bpmn2:outgoing>
145     </bpmn2:exclusiveGateway>
146     <bpmn2:sequenceFlow id="SequenceFlow_9" name="No" sourceRef="ExclusiveGateway_6" targetRef="ScriptTask_3"/>
147     <bpmn2:scriptTask id="ScriptTask_3" name="Create Generic Vnf" scriptFormat="groovy">
148       <bpmn2:incoming>SequenceFlow_9</bpmn2:incoming>
149       <bpmn2:outgoing>SequenceFlow_20</bpmn2:outgoing>
150       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
151 def cvm = new CreateAAIVfModule()
152 cvm.createGenericVnf(execution)]]></bpmn2:script>
153     </bpmn2:scriptTask>
154     <bpmn2:sequenceFlow id="SequenceFlow_20" name="" sourceRef="ScriptTask_3" targetRef="ExclusiveGateway_2"/>
155     <bpmn2:sequenceFlow id="SequenceFlow_11" name="Yes" sourceRef="ExclusiveGateway_6" targetRef="ScriptTask_1">
156       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("isVidRequest") =="true"}]]></bpmn2:conditionExpression>
157     </bpmn2:sequenceFlow>
158     <bpmn2:scriptTask id="ScriptTask_4" name="Create Base Module" scriptFormat="groovy">
159       <bpmn2:incoming>SequenceFlow_27</bpmn2:incoming>
160       <bpmn2:incoming>SequenceFlow_12</bpmn2:incoming>
161       <bpmn2:outgoing>SequenceFlow_4</bpmn2:outgoing>
162       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
163 def cvm = new CreateAAIVfModule()
164 cvm.createVfModule(execution, true)]]></bpmn2:script>
165     </bpmn2:scriptTask>
166     <bpmn2:sequenceFlow id="SequenceFlow_4" name="" sourceRef="ScriptTask_4" targetRef="ExclusiveGateway_7"/>
167     <bpmn2:startEvent id="StartEvent_1">
168       <bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>
169       <bpmn2:messageEventDefinition id="_MessageEventDefinition_6" messageRef="Message_1"/>
170     </bpmn2:startEvent>
171     <bpmn2:sequenceFlow id="SequenceFlow_1" name="" sourceRef="StartEvent_1" targetRef="InitializeVariables"/>
172     <bpmn2:scriptTask id="ScriptTask_1" name="Parse for Base Module" scriptFormat="groovy">
173       <bpmn2:incoming>SequenceFlow_11</bpmn2:incoming>
174       <bpmn2:outgoing>SequenceFlow_3</bpmn2:outgoing>
175       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
176 def cvm = new CreateAAIVfModule()
177 cvm.parseForBaseModule(execution)]]></bpmn2:script>
178     </bpmn2:scriptTask>
179     <bpmn2:sequenceFlow id="SequenceFlow_3" name="" sourceRef="ScriptTask_1" targetRef="ExclusiveGateway_8"/>
180     <bpmn2:exclusiveGateway id="ExclusiveGateway_8" default="SequenceFlow_13">
181       <bpmn2:incoming>SequenceFlow_3</bpmn2:incoming>
182       <bpmn2:outgoing>SequenceFlow_12</bpmn2:outgoing>
183       <bpmn2:outgoing>SequenceFlow_13</bpmn2:outgoing>
184     </bpmn2:exclusiveGateway>
185     <bpmn2:sequenceFlow id="SequenceFlow_12" name="" sourceRef="ExclusiveGateway_8" targetRef="ScriptTask_4">
186       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{(execution.getVariable("CAAIVfMod_baseModuleConflict") != true) && (execution.getVariable("CAAIVfMod_moduleExists") != true)}]]></bpmn2:conditionExpression>
187     </bpmn2:sequenceFlow>
188     <bpmn2:sequenceFlow id="SequenceFlow_13" name="Base Module Conflict" sourceRef="ExclusiveGateway_8" targetRef="ExclusiveGateway_2"/>
189   </bpmn2:process>
190   <bpmn2:message id="Message_1" name="CreateAAIVfModuleRequest"/>
191   <bpmn2:error id="Error_1" errorCode="MSOWorkflowException" name="MSO Workflow Exception"/>
192   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
193     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="CreateAAIVfModule">
194       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_37" bpmnElement="StartEvent_1">
195         <dc:Bounds height="36.0" width="36.0" x="65.0" y="240.0"/>
196         <bpmndi:BPMNLabel>
197           <dc:Bounds height="0.0" width="0.0" x="83.0" y="281.0"/>
198         </bpmndi:BPMNLabel>
199       </bpmndi:BPMNShape>
200       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_22" bpmnElement="InitializeVariables">
201         <dc:Bounds height="80.0" width="100.0" x="204.0" y="216.0"/>
202       </bpmndi:BPMNShape>
203       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="_BPMNShape_StartEvent_37" targetElement="_BPMNShape_ScriptTask_22">
204         <di:waypoint xsi:type="dc:Point" x="101.0" y="258.0"/>
205         <di:waypoint xsi:type="dc:Point" x="160.0" y="258.0"/>
206         <di:waypoint xsi:type="dc:Point" x="160.0" y="256.0"/>
207         <di:waypoint xsi:type="dc:Point" x="204.0" y="256.0"/>
208         <bpmndi:BPMNLabel>
209           <dc:Bounds height="6.0" width="6.0" x="123.0" y="258.0"/>
210         </bpmndi:BPMNLabel>
211       </bpmndi:BPMNEdge>
212       <bpmndi:BPMNShape id="_BPMNShape_Task_2" bpmnElement="ProcessAAISearch">
213         <dc:Bounds height="80.0" width="100.0" x="518.0" y="117.0"/>
214       </bpmndi:BPMNShape>
215       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_50" bpmnElement="ExclusiveGateway_5" isMarkerVisible="true">
216         <dc:Bounds height="50.0" width="50.0" x="630.0" y="230.0"/>
217         <bpmndi:BPMNLabel>
218           <dc:Bounds height="0.0" width="0.0" x="655.0" y="285.0"/>
219         </bpmndi:BPMNLabel>
220       </bpmndi:BPMNShape>
221       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_52" bpmnElement="ExclusiveGateway_7" isMarkerVisible="true">
222         <dc:Bounds height="50.0" width="50.0" x="1120.0" y="230.0"/>
223         <bpmndi:BPMNLabel>
224           <dc:Bounds height="0.0" width="0.0" x="1145.0" y="285.0"/>
225         </bpmndi:BPMNLabel>
226       </bpmndi:BPMNShape>
227       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_47" bpmnElement="ScriptTask_3">
228         <dc:Bounds height="80.0" width="100.0" x="718.0" y="93.0"/>
229       </bpmndi:BPMNShape>
230       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_7" bpmnElement="SequenceFlow_6" sourceElement="_BPMNShape_ExclusiveGateway_50" targetElement="_BPMNShape_ExclusiveGateway_225">
231         <di:waypoint xsi:type="dc:Point" x="655.0" y="230.0"/>
232         <di:waypoint xsi:type="dc:Point" x="655.0" y="88.0"/>
233         <bpmndi:BPMNLabel>
234           <dc:Bounds height="6.0" width="6.0" x="601.0" y="133.0"/>
235         </bpmndi:BPMNLabel>
236       </bpmndi:BPMNEdge>
237       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_48" bpmnElement="ScriptTask_2">
238         <dc:Bounds height="80.0" width="100.0" x="695.0" y="391.0"/>
239       </bpmndi:BPMNShape>
240       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_8" bpmnElement="SequenceFlow_7" sourceElement="_BPMNShape_ExclusiveGateway_50" targetElement="_BPMNShape_ScriptTask_48">
241         <di:waypoint xsi:type="dc:Point" x="655.0" y="280.0"/>
242         <di:waypoint xsi:type="dc:Point" x="655.0" y="431.0"/>
243         <di:waypoint xsi:type="dc:Point" x="695.0" y="431.0"/>
244         <bpmndi:BPMNLabel>
245           <dc:Bounds height="6.0" width="6.0" x="574.0" y="256.0"/>
246         </bpmndi:BPMNLabel>
247       </bpmndi:BPMNEdge>
248       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_54" bpmnElement="ExclusiveGateway_1" isMarkerVisible="true">
249         <dc:Bounds height="50.0" width="50.0" x="1216.0" y="230.0"/>
250         <bpmndi:BPMNLabel>
251           <dc:Bounds height="0.0" width="0.0" x="1241.0" y="285.0"/>
252         </bpmndi:BPMNLabel>
253       </bpmndi:BPMNShape>
254       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_120" bpmnElement="EndEvent_2">
255         <dc:Bounds height="36.0" width="36.0" x="1224.0" y="454.0"/>
256         <bpmndi:BPMNLabel>
257           <dc:Bounds height="0.0" width="0.0" x="1242.0" y="495.0"/>
258         </bpmndi:BPMNLabel>
259       </bpmndi:BPMNShape>
260       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_115" bpmnElement="ScriptTask_4">
261         <dc:Bounds height="80.0" width="100.0" x="996.0" y="24.0"/>
262       </bpmndi:BPMNShape>
263       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_5" bpmnElement="SequenceFlow_4" sourceElement="_BPMNShape_ScriptTask_115" targetElement="_BPMNShape_ExclusiveGateway_52">
264         <di:waypoint xsi:type="dc:Point" x="1096.0" y="64.0"/>
265         <di:waypoint xsi:type="dc:Point" x="1145.0" y="64.0"/>
266         <di:waypoint xsi:type="dc:Point" x="1145.0" y="177.0"/>
267         <di:waypoint xsi:type="dc:Point" x="1145.0" y="230.0"/>
268         <bpmndi:BPMNLabel>
269           <dc:Bounds height="6.0" width="6.0" x="1282.0" y="51.0"/>
270         </bpmndi:BPMNLabel>
271       </bpmndi:BPMNEdge>
272       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_86" bpmnElement="ExclusiveGateway_3" isMarkerVisible="true">
273         <dc:Bounds height="50.0" width="50.0" x="468.0" y="229.0"/>
274         <bpmndi:BPMNLabel>
275           <dc:Bounds height="0.0" width="0.0" x="493.0" y="284.0"/>
276         </bpmndi:BPMNLabel>
277       </bpmndi:BPMNShape>
278       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_23" bpmnElement="SequenceFlow_22" sourceElement="_BPMNShape_ExclusiveGateway_86" targetElement="_BPMNShape_Task_2">
279         <di:waypoint xsi:type="dc:Point" x="493.0" y="229.0"/>
280         <di:waypoint xsi:type="dc:Point" x="493.0" y="158.0"/>
281         <di:waypoint xsi:type="dc:Point" x="518.0" y="158.0"/>
282         <bpmndi:BPMNLabel>
283           <dc:Bounds height="6.0" width="6.0" x="490.0" y="192.0"/>
284         </bpmndi:BPMNLabel>
285       </bpmndi:BPMNEdge>
286       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_155" bpmnElement="AAIQueryFailure">
287         <dc:Bounds height="80.0" width="100.0" x="518.0" y="335.0"/>
288       </bpmndi:BPMNShape>
289       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_24" bpmnElement="SequenceFlow_23" sourceElement="_BPMNShape_ExclusiveGateway_86" targetElement="_BPMNShape_ScriptTask_155">
290         <di:waypoint xsi:type="dc:Point" x="493.0" y="279.0"/>
291         <di:waypoint xsi:type="dc:Point" x="493.0" y="297.0"/>
292         <di:waypoint xsi:type="dc:Point" x="568.0" y="297.0"/>
293         <di:waypoint xsi:type="dc:Point" x="568.0" y="335.0"/>
294         <bpmndi:BPMNLabel>
295           <dc:Bounds height="6.0" width="6.0" x="547.0" y="297.0"/>
296         </bpmndi:BPMNLabel>
297       </bpmndi:BPMNEdge>
298       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_25" bpmnElement="SequenceFlow_24" sourceElement="_BPMNShape_Task_2" targetElement="_BPMNShape_ExclusiveGateway_50">
299         <di:waypoint xsi:type="dc:Point" x="568.0" y="197.0"/>
300         <di:waypoint xsi:type="dc:Point" x="568.0" y="255.0"/>
301         <di:waypoint xsi:type="dc:Point" x="630.0" y="255.0"/>
302         <bpmndi:BPMNLabel>
303           <dc:Bounds height="6.0" width="6.0" x="565.0" y="250.0"/>
304         </bpmndi:BPMNLabel>
305       </bpmndi:BPMNEdge>
306       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_160" bpmnElement="EndEvent_7">
307         <dc:Bounds height="36.0" width="36.0" x="550.0" y="454.0"/>
308         <bpmndi:BPMNLabel>
309           <dc:Bounds height="0.0" width="0.0" x="568.0" y="495.0"/>
310         </bpmndi:BPMNLabel>
311       </bpmndi:BPMNShape>
312       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_18" bpmnElement="SequenceFlow_18" sourceElement="_BPMNShape_ScriptTask_155" targetElement="_BPMNShape_EndEvent_160">
313         <di:waypoint xsi:type="dc:Point" x="568.0" y="415.0"/>
314         <di:waypoint xsi:type="dc:Point" x="568.0" y="454.0"/>
315         <bpmndi:BPMNLabel>
316           <dc:Bounds height="6.0" width="6.0" x="565.0" y="426.0"/>
317         </bpmndi:BPMNLabel>
318       </bpmndi:BPMNEdge>
319       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_158" bpmnElement="CreateGenericVnfFailure">
320         <dc:Bounds height="80.0" width="100.0" x="837.0" y="213.0"/>
321       </bpmndi:BPMNShape>
322       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_99" bpmnElement="ExclusiveGateway_2" isMarkerVisible="true">
323         <dc:Bounds height="50.0" width="50.0" x="861.0" y="107.0"/>
324         <bpmndi:BPMNLabel>
325           <dc:Bounds height="0.0" width="0.0" x="886.0" y="162.0"/>
326         </bpmndi:BPMNLabel>
327       </bpmndi:BPMNShape>
328       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_20" bpmnElement="SequenceFlow_20" sourceElement="_BPMNShape_ScriptTask_47" targetElement="_BPMNShape_ExclusiveGateway_99">
329         <di:waypoint xsi:type="dc:Point" x="818.0" y="133.0"/>
330         <di:waypoint xsi:type="dc:Point" x="839.0" y="133.0"/>
331         <di:waypoint xsi:type="dc:Point" x="839.0" y="132.0"/>
332         <di:waypoint xsi:type="dc:Point" x="861.0" y="132.0"/>
333         <bpmndi:BPMNLabel>
334           <dc:Bounds height="6.0" width="6.0" x="839.0" y="132.0"/>
335         </bpmndi:BPMNLabel>
336       </bpmndi:BPMNEdge>
337       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_21" bpmnElement="SequenceFlow_26" sourceElement="_BPMNShape_ExclusiveGateway_99" targetElement="_BPMNShape_ScriptTask_158">
338         <di:waypoint xsi:type="dc:Point" x="886.0" y="157.0"/>
339         <di:waypoint xsi:type="dc:Point" x="887.0" y="213.0"/>
340         <bpmndi:BPMNLabel>
341           <dc:Bounds height="38.0" width="126.0" x="899.0" y="162.0"/>
342         </bpmndi:BPMNLabel>
343       </bpmndi:BPMNEdge>
344       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_27" bpmnElement="SequenceFlow_27" sourceElement="_BPMNShape_ExclusiveGateway_99" targetElement="_BPMNShape_ScriptTask_115">
345         <di:waypoint xsi:type="dc:Point" x="911.0" y="132.0"/>
346         <di:waypoint xsi:type="dc:Point" x="953.0" y="132.0"/>
347         <di:waypoint xsi:type="dc:Point" x="1045.0" y="132.0"/>
348         <di:waypoint xsi:type="dc:Point" x="1045.0" y="104.0"/>
349         <bpmndi:BPMNLabel>
350           <dc:Bounds height="6.0" width="6.0" x="959.0" y="132.0"/>
351         </bpmndi:BPMNLabel>
352       </bpmndi:BPMNEdge>
353       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_28" bpmnElement="SequenceFlow_28" sourceElement="_BPMNShape_ExclusiveGateway_50" targetElement="_BPMNShape_ScriptTask_158">
354         <di:waypoint xsi:type="dc:Point" x="680.0" y="255.0"/>
355         <di:waypoint xsi:type="dc:Point" x="758.0" y="255.0"/>
356         <di:waypoint xsi:type="dc:Point" x="758.0" y="253.0"/>
357         <di:waypoint xsi:type="dc:Point" x="837.0" y="253.0"/>
358         <bpmndi:BPMNLabel>
359           <dc:Bounds height="38.0" width="170.0" x="669.0" y="260.0"/>
360         </bpmndi:BPMNLabel>
361       </bpmndi:BPMNEdge>
362       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_161" bpmnElement="EndEvent_8">
363         <dc:Bounds height="36.0" width="36.0" x="987.0" y="235.0"/>
364       </bpmndi:BPMNShape>
365       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_29" bpmnElement="SequenceFlow_29" sourceElement="_BPMNShape_ScriptTask_158" targetElement="_BPMNShape_EndEvent_161">
366         <di:waypoint xsi:type="dc:Point" x="937.0" y="253.0"/>
367         <di:waypoint xsi:type="dc:Point" x="987.0" y="253.0"/>
368       </bpmndi:BPMNEdge>
369       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_100" bpmnElement="ExclusiveGateway_4" isMarkerVisible="true">
370         <dc:Bounds height="50.0" width="50.0" x="863.0" y="403.0"/>
371         <bpmndi:BPMNLabel>
372           <dc:Bounds height="0.0" width="0.0" x="888.0" y="458.0"/>
373         </bpmndi:BPMNLabel>
374       </bpmndi:BPMNShape>
375       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_31" bpmnElement="SequenceFlow_31" sourceElement="_BPMNShape_ScriptTask_48" targetElement="_BPMNShape_ExclusiveGateway_100">
376         <di:waypoint xsi:type="dc:Point" x="795.0" y="431.0"/>
377         <di:waypoint xsi:type="dc:Point" x="822.0" y="431.0"/>
378         <di:waypoint xsi:type="dc:Point" x="822.0" y="428.0"/>
379         <di:waypoint xsi:type="dc:Point" x="863.0" y="428.0"/>
380         <bpmndi:BPMNLabel>
381           <dc:Bounds height="6.0" width="6.0" x="817.0" y="431.0"/>
382         </bpmndi:BPMNLabel>
383       </bpmndi:BPMNEdge>
384       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_33" bpmnElement="SequenceFlow_33" sourceElement="_BPMNShape_ExclusiveGateway_100" targetElement="_BPMNShape_ScriptTask_158">
385         <di:waypoint xsi:type="dc:Point" x="888.0" y="403.0"/>
386         <di:waypoint xsi:type="dc:Point" x="888.0" y="348.0"/>
387         <di:waypoint xsi:type="dc:Point" x="887.0" y="348.0"/>
388         <di:waypoint xsi:type="dc:Point" x="887.0" y="293.0"/>
389         <bpmndi:BPMNLabel>
390           <dc:Bounds height="22.0" width="122.0" x="889.0" y="344.0"/>
391         </bpmndi:BPMNLabel>
392       </bpmndi:BPMNEdge>
393       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_159" bpmnElement="ScriptTask_8">
394         <dc:Bounds height="80.0" width="100.0" x="996.0" y="389.0"/>
395       </bpmndi:BPMNShape>
396       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_34" bpmnElement="SequenceFlow_34" sourceElement="_BPMNShape_ExclusiveGateway_100" targetElement="_BPMNShape_ScriptTask_159">
397         <di:waypoint xsi:type="dc:Point" x="913.0" y="428.0"/>
398         <di:waypoint xsi:type="dc:Point" x="954.0" y="428.0"/>
399         <di:waypoint xsi:type="dc:Point" x="954.0" y="429.0"/>
400         <di:waypoint xsi:type="dc:Point" x="996.0" y="429.0"/>
401         <bpmndi:BPMNLabel>
402           <dc:Bounds height="6.0" width="6.0" x="955.0" y="429.0"/>
403         </bpmndi:BPMNLabel>
404       </bpmndi:BPMNEdge>
405       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_35" bpmnElement="SequenceFlow_35" sourceElement="_BPMNShape_ScriptTask_159" targetElement="_BPMNShape_ExclusiveGateway_52">
406         <di:waypoint xsi:type="dc:Point" x="1096.0" y="429.0"/>
407         <di:waypoint xsi:type="dc:Point" x="1108.0" y="429.0"/>
408         <di:waypoint xsi:type="dc:Point" x="1145.0" y="429.0"/>
409         <di:waypoint xsi:type="dc:Point" x="1145.0" y="280.0"/>
410         <bpmndi:BPMNLabel>
411           <dc:Bounds height="6.0" width="6.0" x="1142.0" y="379.0"/>
412         </bpmndi:BPMNLabel>
413       </bpmndi:BPMNEdge>
414       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_160" bpmnElement="QueryAAIForGenericVnf">
415         <dc:Bounds height="80.0" width="100.0" x="336.0" y="216.0"/>
416       </bpmndi:BPMNShape>
417       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_38" bpmnElement="SequenceFlow_38" sourceElement="_BPMNShape_ScriptTask_22" targetElement="_BPMNShape_ScriptTask_160">
418         <di:waypoint xsi:type="dc:Point" x="304.0" y="256.0"/>
419         <di:waypoint xsi:type="dc:Point" x="336.0" y="256.0"/>
420         <bpmndi:BPMNLabel>
421           <dc:Bounds height="6.0" width="6.0" x="324.0" y="256.0"/>
422         </bpmndi:BPMNLabel>
423       </bpmndi:BPMNEdge>
424       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_39" bpmnElement="SequenceFlow_39" sourceElement="_BPMNShape_ScriptTask_160" targetElement="_BPMNShape_ExclusiveGateway_86">
425         <di:waypoint xsi:type="dc:Point" x="436.0" y="256.0"/>
426         <di:waypoint xsi:type="dc:Point" x="452.0" y="256.0"/>
427         <di:waypoint xsi:type="dc:Point" x="452.0" y="254.0"/>
428         <di:waypoint xsi:type="dc:Point" x="468.0" y="254.0"/>
429         <bpmndi:BPMNLabel>
430           <dc:Bounds height="6.0" width="6.0" x="449.0" y="255.0"/>
431         </bpmndi:BPMNLabel>
432       </bpmndi:BPMNEdge>
433       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_161" bpmnElement="CreateVfModuleFailure">
434         <dc:Bounds height="80.0" width="100.0" x="1192.0" y="324.0"/>
435       </bpmndi:BPMNShape>
436       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_2" bpmnElement="SequenceFlow_2" sourceElement="_BPMNShape_ScriptTask_161" targetElement="_BPMNShape_EndEvent_120">
437         <di:waypoint xsi:type="dc:Point" x="1242.0" y="404.0"/>
438         <di:waypoint xsi:type="dc:Point" x="1242.0" y="454.0"/>
439       </bpmndi:BPMNEdge>
440       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_3" bpmnElement="SequenceFlow_5" sourceElement="_BPMNShape_ExclusiveGateway_54" targetElement="_BPMNShape_ScriptTask_161">
441         <di:waypoint xsi:type="dc:Point" x="1241.0" y="280.0"/>
442         <di:waypoint xsi:type="dc:Point" x="1241.0" y="302.0"/>
443         <di:waypoint xsi:type="dc:Point" x="1242.0" y="302.0"/>
444         <di:waypoint xsi:type="dc:Point" x="1242.0" y="324.0"/>
445       </bpmndi:BPMNEdge>
446       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_6" bpmnElement="SequenceFlow_8" sourceElement="_BPMNShape_ExclusiveGateway_52" targetElement="_BPMNShape_ExclusiveGateway_54">
447         <di:waypoint xsi:type="dc:Point" x="1170.0" y="255.0"/>
448         <di:waypoint xsi:type="dc:Point" x="1216.0" y="255.0"/>
449       </bpmndi:BPMNEdge>
450       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_164" bpmnElement="EndEvent_1">
451         <dc:Bounds height="36.0" width="36.0" x="1316.0" y="237.0"/>
452       </bpmndi:BPMNShape>
453       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_10" bpmnElement="SequenceFlow_10" sourceElement="_BPMNShape_ExclusiveGateway_54" targetElement="_BPMNShape_EndEvent_164">
454         <di:waypoint xsi:type="dc:Point" x="1266.0" y="255.0"/>
455         <di:waypoint xsi:type="dc:Point" x="1316.0" y="255.0"/>
456       </bpmndi:BPMNEdge>
457       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_225" bpmnElement="ExclusiveGateway_6" isMarkerVisible="true">
458         <dc:Bounds height="50.0" width="50.0" x="630.0" y="38.0"/>
459         <bpmndi:BPMNLabel>
460           <dc:Bounds height="22.0" width="100.0" x="617.0" y="18.0"/>
461         </bpmndi:BPMNLabel>
462       </bpmndi:BPMNShape>
463       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_9" bpmnElement="SequenceFlow_9" sourceElement="_BPMNShape_ExclusiveGateway_225" targetElement="_BPMNShape_ScriptTask_47">
464         <di:waypoint xsi:type="dc:Point" x="680.0" y="64.0"/>
465         <di:waypoint xsi:type="dc:Point" x="699.0" y="64.0"/>
466         <di:waypoint xsi:type="dc:Point" x="699.0" y="133.0"/>
467         <di:waypoint xsi:type="dc:Point" x="718.0" y="133.0"/>
468         <bpmndi:BPMNLabel>
469           <dc:Bounds height="22.0" width="22.0" x="669.0" y="93.0"/>
470         </bpmndi:BPMNLabel>
471       </bpmndi:BPMNEdge>
472       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_11" bpmnElement="SequenceFlow_11" sourceElement="_BPMNShape_ExclusiveGateway_225" targetElement="_BPMNShape_ScriptTask_162">
473         <di:waypoint xsi:type="dc:Point" x="680.0" y="63.0"/>
474         <di:waypoint xsi:type="dc:Point" x="702.0" y="63.0"/>
475         <di:waypoint xsi:type="dc:Point" x="702.0" y="40.0"/>
476         <di:waypoint xsi:type="dc:Point" x="724.0" y="40.0"/>
477         <bpmndi:BPMNLabel>
478           <dc:Bounds height="22.0" width="29.0" x="688.0" y="54.0"/>
479         </bpmndi:BPMNLabel>
480       </bpmndi:BPMNEdge>
481       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_226" bpmnElement="ExclusiveGateway_8" isMarkerVisible="true">
482         <dc:Bounds height="50.0" width="50.0" x="863.0" y="14.0"/>
483         <bpmndi:BPMNLabel>
484           <dc:Bounds height="0.0" width="0.0" x="888.0" y="69.0"/>
485         </bpmndi:BPMNLabel>
486       </bpmndi:BPMNShape>
487       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_162" bpmnElement="ScriptTask_1">
488         <dc:Bounds height="80.0" width="100.0" x="724.0" y="0.0"/>
489       </bpmndi:BPMNShape>
490       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_4" bpmnElement="SequenceFlow_3" sourceElement="_BPMNShape_ScriptTask_162" targetElement="_BPMNShape_ExclusiveGateway_226">
491         <di:waypoint xsi:type="dc:Point" x="824.0" y="40.0"/>
492         <di:waypoint xsi:type="dc:Point" x="843.0" y="40.0"/>
493         <di:waypoint xsi:type="dc:Point" x="843.0" y="39.0"/>
494         <di:waypoint xsi:type="dc:Point" x="863.0" y="39.0"/>
495         <bpmndi:BPMNLabel>
496           <dc:Bounds height="6.0" width="6.0" x="840.0" y="39.0"/>
497         </bpmndi:BPMNLabel>
498       </bpmndi:BPMNEdge>
499       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_12" bpmnElement="SequenceFlow_12" sourceElement="_BPMNShape_ExclusiveGateway_226" targetElement="_BPMNShape_ScriptTask_115">
500         <di:waypoint xsi:type="dc:Point" x="913.0" y="39.0"/>
501         <di:waypoint xsi:type="dc:Point" x="954.0" y="39.0"/>
502         <di:waypoint xsi:type="dc:Point" x="954.0" y="64.0"/>
503         <di:waypoint xsi:type="dc:Point" x="996.0" y="64.0"/>
504         <bpmndi:BPMNLabel>
505           <dc:Bounds height="6.0" width="6.0" x="951.0" y="52.0"/>
506         </bpmndi:BPMNLabel>
507       </bpmndi:BPMNEdge>
508       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_13" bpmnElement="SequenceFlow_13" sourceElement="_BPMNShape_ExclusiveGateway_226" targetElement="_BPMNShape_ExclusiveGateway_99">
509         <di:waypoint xsi:type="dc:Point" x="888.0" y="64.0"/>
510         <di:waypoint xsi:type="dc:Point" x="888.0" y="85.0"/>
511         <di:waypoint xsi:type="dc:Point" x="886.0" y="85.0"/>
512         <di:waypoint xsi:type="dc:Point" x="886.0" y="107.0"/>
513         <bpmndi:BPMNLabel>
514           <dc:Bounds height="6.0" width="6.0" x="884.0" y="85.0"/>
515         </bpmndi:BPMNLabel>
516       </bpmndi:BPMNEdge>
517     </bpmndi:BPMNPlane>
518   </bpmndi:BPMNDiagram>
519 </bpmn2:definitions>