15b5bc7fcf75ee137f36a7df81221a2a7927c104
[so.git] / bpmn / MSOInfrastructureBPMN / src / main / resources / process / UpdateVfModuleVolumeInfraV1.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" id="_ZBLUcCkQEeaY6ZhIaNLwzg" targetNamespace="http://camunda.org/schema/1.0/bpmn" exporter="Camunda Modeler" exporterVersion="1.4.0" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd">
3   <bpmn2:process id="UpdateVfModuleVolumeInfraV1" name="UpdateVfModuleVolumeInfraV1" isExecutable="true">
4     <bpmn2:endEvent id="EndEvent_4" name="TheEnd">
5       <bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>
6       <bpmn2:terminateEventDefinition id="TerminateEventDefinition_1" />
7     </bpmn2:endEvent>
8     <bpmn2:callActivity id="CallActivity_completionHandler" name="Completion Handler" calledElement="CompleteMsoProcess">
9       <bpmn2:extensionElements>
10         <camunda:in source="UPDVfModVol_CompletionHandlerRequest" target="CompleteMsoProcessRequest" />
11         <camunda:in source="mso-request-id" target="mso-request-id" />
12         <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
13         <camunda:out source="CMSO_ResponseCode" target="UPDVfModVol_CMSO_ResponseCode" />
14         <camunda:out source="CMSO_ErrorResponse" target="UPDVfModVol_CMSO_ErrorResponse" />
15       </bpmn2:extensionElements>
16       <bpmn2:incoming>SequenceFlow_13</bpmn2:incoming>
17       <bpmn2:outgoing>SequenceFlow_14</bpmn2:outgoing>
18     </bpmn2:callActivity>
19     <bpmn2:sequenceFlow id="SequenceFlow_14" name="" sourceRef="CallActivity_completionHandler" targetRef="ScriptTask_postProcessTemp" />
20     <bpmn2:serviceTask id="ServiceTask_callUpdateInfraDb" name="Call Update Infra DB">
21       <bpmn2:extensionElements>
22         <camunda:connector>
23           <camunda:inputOutput>
24             <camunda:inputParameter name="url">${URN_mso_openecomp_adapters_db_endpoint}</camunda:inputParameter>
25             <camunda:inputParameter name="payload">${UPDVfModVol_updateInfraRequest}</camunda:inputParameter>
26             <camunda:inputParameter name="headers">
27               <camunda:map>
28                 <camunda:entry key="content-type">aapplication/soap+xml</camunda:entry>
29                 <camunda:entry key="Authorization">#{BasicAuthHeaderValueDB}</camunda:entry>
30               </camunda:map>
31             </camunda:inputParameter>
32             <camunda:inputParameter name="method">POST</camunda:inputParameter>
33             <camunda:outputParameter name="UPDVfModVol_createDBResponse">${response}</camunda:outputParameter>
34             <camunda:outputParameter name="UPDVfModVol_dbReturnCode">${statusCode}</camunda:outputParameter>
35           </camunda:inputOutput>
36           <camunda:connectorId>http-connector</camunda:connectorId>
37         </camunda:connector>
38       </bpmn2:extensionElements>
39       <bpmn2:incoming>SequenceFlow_11</bpmn2:incoming>
40       <bpmn2:outgoing>SequenceFlow_12</bpmn2:outgoing>
41     </bpmn2:serviceTask>
42     <bpmn2:sequenceFlow id="SequenceFlow_12" name="" sourceRef="ServiceTask_callUpdateInfraDb" targetRef="ScriptTask_prepCompletionHandlerRequest" />
43     <bpmn2:scriptTask id="ScriptTask_prepVnfRest" name="Prepare VNF Adapter Rest Request" scriptFormat="groovy">
44       <bpmn2:incoming>SequenceFlow_22</bpmn2:incoming>
45       <bpmn2:outgoing>SequenceFlow_21</bpmn2:outgoing>
46       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
47 def uvmv = new UpdateVfModuleVolumeInfraV1()
48 uvmv.executeMethod('prepVnfAdapterRest', execution, isDebugLogEnabled)]]></bpmn2:script>
49     </bpmn2:scriptTask>
50     <bpmn2:sequenceFlow id="SequenceFlow_21" name="" sourceRef="ScriptTask_prepVnfRest" targetRef="CallActivity_callVNFAdapterRest" />
51     <bpmn2:scriptTask id="ScriptTask_prepCompletionHandlerRequest" name="Prep Completion Handler Request" scriptFormat="groovy">
52       <bpmn2:incoming>SequenceFlow_12</bpmn2:incoming>
53       <bpmn2:outgoing>SequenceFlow_13</bpmn2:outgoing>
54       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
55 def uvmv = new UpdateVfModuleVolumeInfraV1()
56 uvmv.executeMethod('prepCompletionHandlerRequest', execution, UPDVfModVol_requestId, 'UPDATE', UPDVfModVol_source, isDebugLogEnabled)]]></bpmn2:script>
57     </bpmn2:scriptTask>
58     <bpmn2:sequenceFlow id="SequenceFlow_13" name="" sourceRef="ScriptTask_prepCompletionHandlerRequest" targetRef="CallActivity_completionHandler" />
59     <bpmn2:callActivity id="CallActivity_callVNFAdapterRest" name="VNFAdapterRest" calledElement="vnfAdapterRestV1">
60       <bpmn2:extensionElements>
61         <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
62         <camunda:in source="mso-request-id" target="mso-request-id" />
63         <camunda:out source="vnfAdapterRestV1Response" target="UPDVfModVol_vnfAdapterRestResponse" />
64         <camunda:out source="WorkflowException" target="WorkflowException" />
65         <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
66         <camunda:in source="UPDVfModVol_vnfAdapterRestRequest" target="vnfAdapterRestV1Request" />
67       </bpmn2:extensionElements>
68       <bpmn2:incoming>SequenceFlow_21</bpmn2:incoming>
69       <bpmn2:outgoing>SequenceFlow_19</bpmn2:outgoing>
70     </bpmn2:callActivity>
71     <bpmn2:sequenceFlow id="SequenceFlow_19" name="" sourceRef="CallActivity_callVNFAdapterRest" targetRef="ScriptTask_prepDbInfraRequest" />
72     <bpmn2:scriptTask id="ScriptTask_prepDbInfraRequest" name="Prep DB Infra Request" scriptFormat="groovy">
73       <bpmn2:incoming>SequenceFlow_19</bpmn2:incoming>
74       <bpmn2:outgoing>SequenceFlow_11</bpmn2:outgoing>
75       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
76 def uvmv = new UpdateVfModuleVolumeInfraV1()
77 uvmv.executeMethod('prepDbInfraDbRequest', execution, isDebugLogEnabled)]]></bpmn2:script>
78     </bpmn2:scriptTask>
79     <bpmn2:sequenceFlow id="SequenceFlow_11" name="" sourceRef="ScriptTask_prepDbInfraRequest" targetRef="ServiceTask_callUpdateInfraDb" />
80     <bpmn2:scriptTask id="ScriptTask_postProcessTemp" name="Set Success" scriptFormat="groovy">
81       <bpmn2:incoming>SequenceFlow_14</bpmn2:incoming>
82       <bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>
83       <bpmn2:script><![CDATA[// The following variable is checked by the unit test
84 execution.setVariable("UpdateVfModuleVolumeSuccessIndicator", true)]]></bpmn2:script>
85     </bpmn2:scriptTask>
86     <bpmn2:sequenceFlow id="SequenceFlow_1" name="" sourceRef="ScriptTask_postProcessTemp" targetRef="EndEvent_4" />
87     <bpmn2:exclusiveGateway id="ExclusiveGateway_2">
88       <bpmn2:incoming>SequenceFlow_noVfModuleRelation</bpmn2:incoming>
89       <bpmn2:incoming>SequenceFlow_personaModelIdMatchYes</bpmn2:incoming>
90       <bpmn2:outgoing>SequenceFlow_22</bpmn2:outgoing>
91     </bpmn2:exclusiveGateway>
92     <bpmn2:subProcess id="SubProcess_errorHandler" name="Error Handler" triggeredByEvent="true">
93       <bpmn2:startEvent id="StartEvent_catchAllErrors" name="Catch All Errors">
94         <bpmn2:outgoing>SequenceFlow_7</bpmn2:outgoing>
95         <bpmn2:errorEventDefinition id="_ErrorEventDefinition_77" />
96       </bpmn2:startEvent>
97       <bpmn2:endEvent id="EndEvent_3">
98         <bpmn2:incoming>SequenceFlow_6</bpmn2:incoming>
99         <bpmn2:terminateEventDefinition id="_TerminateEventDefinition_11" />
100       </bpmn2:endEvent>
101       <bpmn2:sequenceFlow id="SequenceFlow_7" name="" sourceRef="StartEvent_catchAllErrors" targetRef="ScriptTask_preFalloutHandler" />
102       <bpmn2:scriptTask id="ScriptTask_preFalloutHandler" name="Fallout Handler (prep)" scriptFormat="groovy">
103         <bpmn2:incoming>SequenceFlow_7</bpmn2:incoming>
104         <bpmn2:outgoing>SequenceFlow_4</bpmn2:outgoing>
105         <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
106 def uvmv = new UpdateVfModuleVolumeInfraV1()
107 uvmv.executeMethod('prepFalloutHandler', execution, isDebugLogEnabled)]]></bpmn2:script>
108       </bpmn2:scriptTask>
109       <bpmn2:sequenceFlow id="SequenceFlow_4" name="" sourceRef="ScriptTask_preFalloutHandler" targetRef="CallActivity_falloutHandler" />
110       <bpmn2:callActivity id="CallActivity_falloutHandler" name="Fallout Handler" calledElement="FalloutHandler">
111         <bpmn2:extensionElements>
112           <camunda:in source="UPDVfModVol_FalloutHandlerRequest" target="FalloutHandlerRequest" />
113           <camunda:in source="mso-request-id" target="mso-request-id" />
114           <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
115           <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
116           <camunda:out source="FH_ResponseCode" target="UPDVfModVol_FH_ResponseCode" />
117           <camunda:out source="FH_ErrorResponse" target="UPDVfModVol_FH_ErrorResponse" />
118           <camunda:out source="FalloutHandlerResponse" target="UPDVfModVol_FalloutHandlerResponse" />
119         </bpmn2:extensionElements>
120         <bpmn2:incoming>SequenceFlow_4</bpmn2:incoming>
121         <bpmn2:outgoing>SequenceFlow_6</bpmn2:outgoing>
122       </bpmn2:callActivity>
123       <bpmn2:sequenceFlow id="SequenceFlow_6" name="" sourceRef="CallActivity_falloutHandler" targetRef="EndEvent_3" />
124     </bpmn2:subProcess>
125     <bpmn2:sequenceFlow id="SequenceFlow_22" name="" sourceRef="ExclusiveGateway_2" targetRef="ScriptTask_prepVnfRest" />
126     <bpmn2:exclusiveGateway id="ExclusiveGateway_personaModelIdMatch" name="Persona Model ID match?" default="SequenceFlow_personaModelidMatchNo">
127       <bpmn2:incoming>SequenceFlow_8</bpmn2:incoming>
128       <bpmn2:outgoing>SequenceFlow_personaModelIdMatchYes</bpmn2:outgoing>
129       <bpmn2:outgoing>SequenceFlow_personaModelidMatchNo</bpmn2:outgoing>
130     </bpmn2:exclusiveGateway>
131     <bpmn2:sequenceFlow id="SequenceFlow_personaModelIdMatchYes" name="Yes" sourceRef="ExclusiveGateway_personaModelIdMatch" targetRef="ExclusiveGateway_2">
132       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression">#{UPDVfModVol_modelInvariantId == UPDVfModVol_personaModelId}</bpmn2:conditionExpression>
133     </bpmn2:sequenceFlow>
134     <bpmn2:sequenceFlow id="SequenceFlow_personaModelidMatchNo" name="No" sourceRef="ExclusiveGateway_personaModelIdMatch" targetRef="ScriptTask_handlePersonaModelIdMismatch" />
135     <bpmn2:scriptTask id="ScriptTask_queryAaiForVfModule" name="Query AAI for VF Module" scriptFormat="groovy">
136       <bpmn2:incoming>SequenceFlow_YesVfModuleRelation</bpmn2:incoming>
137       <bpmn2:outgoing>SequenceFlow_8</bpmn2:outgoing>
138       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
139 def uvmv = new UpdateVfModuleVolumeInfraV1()
140 uvmv.executeMethod('queryAAIForVfModule', execution, isDebugLogEnabled)]]></bpmn2:script>
141     </bpmn2:scriptTask>
142     <bpmn2:sequenceFlow id="SequenceFlow_8" name="" sourceRef="ScriptTask_queryAaiForVfModule" targetRef="ExclusiveGateway_personaModelIdMatch" />
143     <bpmn2:scriptTask id="ScriptTask_handlePersonaModelIdMismatch" name="Handle Persona Model ID Mismatch" scriptFormat="groovy">
144       <bpmn2:incoming>SequenceFlow_personaModelidMatchNo</bpmn2:incoming>
145       <bpmn2:outgoing>SequenceFlow_18</bpmn2:outgoing>
146       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
147 def uvmv = new UpdateVfModuleVolumeInfraV1()
148 uvmv.executeMethod('handlePersonaModelIdMismatch', execution, isDebugLogEnabled)]]></bpmn2:script>
149     </bpmn2:scriptTask>
150     <bpmn2:sequenceFlow id="SequenceFlow_18" name="" sourceRef="ScriptTask_handlePersonaModelIdMismatch" targetRef="EndEvent_personaModelIdMismatch" />
151     <bpmn2:endEvent id="EndEvent_personaModelIdMismatch">
152       <bpmn2:incoming>SequenceFlow_18</bpmn2:incoming>
153       <bpmn2:errorEventDefinition id="ErrorEventDefinition_1" errorRef="Error_1" />
154     </bpmn2:endEvent>
155     <bpmn2:scriptTask id="ScriptTask_preProcessRequest" name="Pre-process Request" scriptFormat="groovy">
156       <bpmn2:incoming>SequenceFlow_3</bpmn2:incoming>
157       <bpmn2:outgoing>SequenceFlow_2</bpmn2:outgoing>
158       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
159 def uvmv = new UpdateVfModuleVolumeInfraV1()
160 uvmv.executeMethod('preProcessRequest', execution, isDebugLogEnabled)]]></bpmn2:script>
161     </bpmn2:scriptTask>
162     <bpmn2:sequenceFlow id="SequenceFlow_2" name="" sourceRef="ScriptTask_preProcessRequest" targetRef="ScriptTask_sendSynchResponse" />
163     <bpmn2:startEvent id="StartEvent_1" name="Start">
164       <bpmn2:outgoing>SequenceFlow_3</bpmn2:outgoing>
165     </bpmn2:startEvent>
166     <bpmn2:sequenceFlow id="SequenceFlow_3" name="" sourceRef="StartEvent_1" targetRef="ScriptTask_preProcessRequest" />
167     <bpmn2:scriptTask id="ScriptTask_sendSynchResponse" name="Send Synch Response" scriptFormat="groovy">
168       <bpmn2:incoming>SequenceFlow_2</bpmn2:incoming>
169       <bpmn2:outgoing>SequenceFlow_20</bpmn2:outgoing>
170       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
171 def uvmv = new UpdateVfModuleVolumeInfraV1()
172 uvmv.executeMethod('sendSynchResponse', execution, isDebugLogEnabled)]]></bpmn2:script>
173     </bpmn2:scriptTask>
174     <bpmn2:sequenceFlow id="SequenceFlow_20" name="" sourceRef="ScriptTask_sendSynchResponse" targetRef="ScriptTask_queryAaiGenricVnf" />
175     <bpmn2:exclusiveGateway id="ExclusiveGateway_1" name="VF-MODULE relation?" default="SequenceFlow_noVfModuleRelation">
176       <bpmn2:incoming>SequenceFlow_tenantIsMatch</bpmn2:incoming>
177       <bpmn2:outgoing>SequenceFlow_YesVfModuleRelation</bpmn2:outgoing>
178       <bpmn2:outgoing>SequenceFlow_noVfModuleRelation</bpmn2:outgoing>
179     </bpmn2:exclusiveGateway>
180     <bpmn2:sequenceFlow id="SequenceFlow_YesVfModuleRelation" name="Yes" sourceRef="ExclusiveGateway_1" targetRef="ScriptTask_queryAaiForVfModule">
181       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{UPDVfModVol_relatedVfModuleLink != ''}]]></bpmn2:conditionExpression>
182     </bpmn2:sequenceFlow>
183     <bpmn2:sequenceFlow id="SequenceFlow_noVfModuleRelation" name="No" sourceRef="ExclusiveGateway_1" targetRef="ExclusiveGateway_2" />
184     <bpmn2:exclusiveGateway id="ExclusiveGateway_isTenantMatch" name="TenantId Match?" default="SequenceFlow_NoTenantMatch">
185       <bpmn2:incoming>SequenceFlow_15</bpmn2:incoming>
186       <bpmn2:outgoing>SequenceFlow_NoTenantMatch</bpmn2:outgoing>
187       <bpmn2:outgoing>SequenceFlow_tenantIsMatch</bpmn2:outgoing>
188     </bpmn2:exclusiveGateway>
189     <bpmn2:sequenceFlow id="SequenceFlow_NoTenantMatch" name="No" sourceRef="ExclusiveGateway_isTenantMatch" targetRef="ScriptTask_tenantIdMismatch" />
190     <bpmn2:sequenceFlow id="SequenceFlow_tenantIsMatch" name="Yes" sourceRef="ExclusiveGateway_isTenantMatch" targetRef="ExclusiveGateway_1">
191       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression">#{UPDVfModVol_tenantId == UPDVfModVol_volumeGroupTenantId}</bpmn2:conditionExpression>
192     </bpmn2:sequenceFlow>
193     <bpmn2:scriptTask id="ScriptTask_tenantIdMismatch" name="Handle TenantId Mismatch" scriptFormat="groovy">
194       <bpmn2:incoming>SequenceFlow_NoTenantMatch</bpmn2:incoming>
195       <bpmn2:outgoing>SequenceFlow_17</bpmn2:outgoing>
196       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
197 def uvmv = new UpdateVfModuleVolumeInfraV1()
198 uvmv.executeMethod('handleTenantIdMismatch', execution, isDebugLogEnabled)]]></bpmn2:script>
199     </bpmn2:scriptTask>
200     <bpmn2:sequenceFlow id="SequenceFlow_17" name="" sourceRef="ScriptTask_tenantIdMismatch" targetRef="EndEvent_2" />
201     <bpmn2:endEvent id="EndEvent_2">
202       <bpmn2:incoming>SequenceFlow_17</bpmn2:incoming>
203       <bpmn2:errorEventDefinition id="_ErrorEventDefinition_76" errorRef="Error_1" />
204     </bpmn2:endEvent>
205     <bpmn2:scriptTask id="ScriptTask_queryAAI" name="Query AAI for Volume Group Info" scriptFormat="groovy">
206       <bpmn2:incoming>SequenceFlow_5</bpmn2:incoming>
207       <bpmn2:outgoing>SequenceFlow_15</bpmn2:outgoing>
208       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
209 def uvmv = new UpdateVfModuleVolumeInfraV1()
210 uvmv.executeMethod('queryAAIForVolumeGroup', execution, isDebugLogEnabled)]]></bpmn2:script>
211     </bpmn2:scriptTask>
212     <bpmn2:sequenceFlow id="SequenceFlow_15" name="" sourceRef="ScriptTask_queryAAI" targetRef="ExclusiveGateway_isTenantMatch" />
213     <bpmn2:scriptTask id="ScriptTask_queryAaiGenricVnf" name="Query AAI for Generic VNF" scriptFormat="groovy">
214       <bpmn2:incoming>SequenceFlow_20</bpmn2:incoming>
215       <bpmn2:outgoing>SequenceFlow_5</bpmn2:outgoing>
216       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
217 def uvmv = new UpdateVfModuleVolumeInfraV1()
218 uvmv.executeMethod('queryAAIForGenericVnf', execution, isDebugLogEnabled)]]></bpmn2:script>
219     </bpmn2:scriptTask>
220     <bpmn2:sequenceFlow id="SequenceFlow_5" name="" sourceRef="ScriptTask_queryAaiGenricVnf" targetRef="ScriptTask_queryAAI" />
221   </bpmn2:process>
222   <bpmn2:error id="Error_1" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
223   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
224     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="UpdateVfModuleVolumeInfraV1">
225       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_62" bpmnElement="StartEvent_1">
226         <dc:Bounds x="191" y="131" width="37" height="37" />
227         <bpmndi:BPMNLabel>
228           <dc:Bounds x="192" y="173" width="34" height="22" />
229         </bpmndi:BPMNLabel>
230       </bpmndi:BPMNShape>
231       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_3" bpmnElement="SequenceFlow_3" sourceElement="_BPMNShape_StartEvent_62" targetElement="_BPMNShape_ScriptTask_231">
232         <di:waypoint xsi:type="dc:Point" x="227" y="149" />
233         <di:waypoint xsi:type="dc:Point" x="268" y="149" />
234         <di:waypoint xsi:type="dc:Point" x="268" y="150" />
235         <di:waypoint xsi:type="dc:Point" x="295" y="150" />
236         <bpmndi:BPMNLabel>
237           <dc:Bounds x="248" y="149" width="6" height="6" />
238         </bpmndi:BPMNLabel>
239       </bpmndi:BPMNEdge>
240       <bpmndi:BPMNShape id="_BPMNShape_CallActivity_42" bpmnElement="CallActivity_callVNFAdapterRest">
241         <dc:Bounds x="591" y="420" width="100" height="80" />
242       </bpmndi:BPMNShape>
243       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_230" bpmnElement="ScriptTask_postProcessTemp">
244         <dc:Bounds x="1318" y="420" width="109" height="80" />
245       </bpmndi:BPMNShape>
246       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_231" bpmnElement="ScriptTask_preProcessRequest">
247         <dc:Bounds x="295" y="111" width="109" height="78" />
248       </bpmndi:BPMNShape>
249       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_232" bpmnElement="ScriptTask_sendSynchResponse">
250         <dc:Bounds x="454" y="112" width="109" height="76" />
251       </bpmndi:BPMNShape>
252       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_2" bpmnElement="SequenceFlow_2" sourceElement="_BPMNShape_ScriptTask_231" targetElement="_BPMNShape_ScriptTask_232">
253         <di:waypoint xsi:type="dc:Point" x="403" y="150" />
254         <di:waypoint xsi:type="dc:Point" x="454" y="150" />
255         <bpmndi:BPMNLabel>
256           <dc:Bounds x="418" y="150" width="6" height="6" />
257         </bpmndi:BPMNLabel>
258       </bpmndi:BPMNEdge>
259       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_233" bpmnElement="ScriptTask_prepDbInfraRequest">
260         <dc:Bounds x="730" y="420" width="109" height="80" />
261       </bpmndi:BPMNShape>
262       <bpmndi:BPMNShape id="_BPMNShape_ServiceTask_101" bpmnElement="ServiceTask_callUpdateInfraDb">
263         <dc:Bounds x="868" y="420" width="109" height="80" />
264       </bpmndi:BPMNShape>
265       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_11" bpmnElement="SequenceFlow_11" sourceElement="_BPMNShape_ScriptTask_233" targetElement="_BPMNShape_ServiceTask_101">
266         <di:waypoint xsi:type="dc:Point" x="838" y="460" />
267         <di:waypoint xsi:type="dc:Point" x="868" y="460" />
268         <bpmndi:BPMNLabel>
269           <dc:Bounds x="853" y="491" width="6" height="6" />
270         </bpmndi:BPMNLabel>
271       </bpmndi:BPMNEdge>
272       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_12" bpmnElement="SequenceFlow_12" sourceElement="_BPMNShape_ServiceTask_101" targetElement="_BPMNShape_ScriptTask_234">
273         <di:waypoint xsi:type="dc:Point" x="976" y="460" />
274         <di:waypoint xsi:type="dc:Point" x="1014" y="460" />
275         <bpmndi:BPMNLabel>
276           <dc:Bounds x="959" y="497" width="6" height="6" />
277         </bpmndi:BPMNLabel>
278       </bpmndi:BPMNEdge>
279       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_234" bpmnElement="ScriptTask_prepCompletionHandlerRequest">
280         <dc:Bounds x="1014" y="420" width="109" height="80" />
281       </bpmndi:BPMNShape>
282       <bpmndi:BPMNShape id="_BPMNShape_CallActivity_43" bpmnElement="CallActivity_completionHandler">
283         <dc:Bounds x="1162" y="429" width="109" height="61" />
284       </bpmndi:BPMNShape>
285       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_13" bpmnElement="SequenceFlow_13" sourceElement="_BPMNShape_ScriptTask_234" targetElement="_BPMNShape_CallActivity_43">
286         <di:waypoint xsi:type="dc:Point" x="1122" y="460" />
287         <di:waypoint xsi:type="dc:Point" x="1162" y="459" />
288         <bpmndi:BPMNLabel>
289           <dc:Bounds x="1134" y="477" width="6" height="6" />
290         </bpmndi:BPMNLabel>
291       </bpmndi:BPMNEdge>
292       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_14" bpmnElement="SequenceFlow_14" sourceElement="_BPMNShape_CallActivity_43" targetElement="_BPMNShape_ScriptTask_230">
293         <di:waypoint xsi:type="dc:Point" x="1270" y="459" />
294         <di:waypoint xsi:type="dc:Point" x="1318" y="460" />
295         <bpmndi:BPMNLabel>
296           <dc:Bounds x="1216" y="521" width="6" height="6" />
297         </bpmndi:BPMNLabel>
298       </bpmndi:BPMNEdge>
299       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_235" bpmnElement="ScriptTask_queryAAI">
300         <dc:Bounds x="742" y="113" width="109" height="73" />
301       </bpmndi:BPMNShape>
302       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_126" bpmnElement="ExclusiveGateway_isTenantMatch" isMarkerVisible="true">
303         <dc:Bounds x="931" y="132" width="34" height="34" />
304         <bpmndi:BPMNLabel>
305           <dc:Bounds x="898" y="113" width="102" height="22" />
306         </bpmndi:BPMNLabel>
307       </bpmndi:BPMNShape>
308       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_236" bpmnElement="ScriptTask_tenantIdMismatch">
309         <dc:Bounds x="1064" y="112" width="97" height="75" />
310       </bpmndi:BPMNShape>
311       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_15" bpmnElement="SequenceFlow_15" sourceElement="_BPMNShape_ScriptTask_235" targetElement="_BPMNShape_ExclusiveGateway_126">
312         <di:waypoint xsi:type="dc:Point" x="850" y="149" />
313         <di:waypoint xsi:type="dc:Point" x="931" y="149" />
314         <bpmndi:BPMNLabel>
315           <dc:Bounds x="877" y="149" width="6" height="6" />
316         </bpmndi:BPMNLabel>
317       </bpmndi:BPMNEdge>
318       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_16" bpmnElement="SequenceFlow_NoTenantMatch" sourceElement="_BPMNShape_ExclusiveGateway_126" targetElement="_BPMNShape_ScriptTask_236">
319         <di:waypoint xsi:type="dc:Point" x="965" y="149" />
320         <di:waypoint xsi:type="dc:Point" x="1064" y="149" />
321         <bpmndi:BPMNLabel>
322           <dc:Bounds x="986" y="149" width="22" height="22" />
323         </bpmndi:BPMNLabel>
324       </bpmndi:BPMNEdge>
325       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_169" bpmnElement="EndEvent_2">
326         <dc:Bounds x="1225" y="125" width="49" height="49" />
327         <bpmndi:BPMNLabel>
328           <dc:Bounds x="1249" y="179" width="0" height="0" />
329         </bpmndi:BPMNLabel>
330       </bpmndi:BPMNShape>
331       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_17" bpmnElement="SequenceFlow_17" sourceElement="_BPMNShape_ScriptTask_236" targetElement="_BPMNShape_EndEvent_169">
332         <di:waypoint xsi:type="dc:Point" x="1160" y="149" />
333         <di:waypoint xsi:type="dc:Point" x="1225" y="149" />
334         <bpmndi:BPMNLabel>
335           <dc:Bounds x="1179" y="149" width="6" height="6" />
336         </bpmndi:BPMNLabel>
337       </bpmndi:BPMNEdge>
338       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_18" bpmnElement="SequenceFlow_tenantIsMatch" sourceElement="_BPMNShape_ExclusiveGateway_126" targetElement="_BPMNShape_ExclusiveGateway_254">
339         <di:waypoint xsi:type="dc:Point" x="948" y="166" />
340         <di:waypoint xsi:type="dc:Point" x="948" y="244" />
341         <bpmndi:BPMNLabel>
342           <dc:Bounds x="915" y="173" width="29" height="22" />
343         </bpmndi:BPMNLabel>
344       </bpmndi:BPMNEdge>
345       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_19" bpmnElement="SequenceFlow_19" sourceElement="_BPMNShape_CallActivity_42" targetElement="_BPMNShape_ScriptTask_233">
346         <di:waypoint xsi:type="dc:Point" x="691" y="460" />
347         <di:waypoint xsi:type="dc:Point" x="730" y="460" />
348         <bpmndi:BPMNLabel>
349           <dc:Bounds x="712" y="531" width="6" height="6" />
350         </bpmndi:BPMNLabel>
351       </bpmndi:BPMNEdge>
352       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_20" bpmnElement="SequenceFlow_20" sourceElement="_BPMNShape_ScriptTask_232" targetElement="_BPMNShape_ScriptTask_318">
353         <di:waypoint xsi:type="dc:Point" x="562" y="150" />
354         <di:waypoint xsi:type="dc:Point" x="581" y="150" />
355         <di:waypoint xsi:type="dc:Point" x="581" y="149" />
356         <di:waypoint xsi:type="dc:Point" x="612" y="149" />
357         <bpmndi:BPMNLabel>
358           <dc:Bounds x="578" y="150" width="6" height="6" />
359         </bpmndi:BPMNLabel>
360       </bpmndi:BPMNEdge>
361       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_237" bpmnElement="ScriptTask_prepVnfRest">
362         <dc:Bounds x="454" y="420" width="109" height="80" />
363       </bpmndi:BPMNShape>
364       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_21" bpmnElement="SequenceFlow_21" sourceElement="_BPMNShape_ScriptTask_237" targetElement="_BPMNShape_CallActivity_42">
365         <di:waypoint xsi:type="dc:Point" x="562" y="460" />
366         <di:waypoint xsi:type="dc:Point" x="591" y="460" />
367         <bpmndi:BPMNLabel>
368           <dc:Bounds x="446" y="460" width="6" height="6" />
369         </bpmndi:BPMNLabel>
370       </bpmndi:BPMNEdge>
371       <bpmndi:BPMNShape id="_BPMNShape_SubProcess_18" bpmnElement="SubProcess_errorHandler" isExpanded="true">
372         <dc:Bounds x="250" y="786" width="781" height="187" />
373       </bpmndi:BPMNShape>
374       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_63" bpmnElement="StartEvent_catchAllErrors">
375         <dc:Bounds x="301" y="844" width="37" height="37" />
376         <bpmndi:BPMNLabel>
377           <dc:Bounds x="270" y="886" width="98" height="22" />
378         </bpmndi:BPMNLabel>
379       </bpmndi:BPMNShape>
380       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_238" bpmnElement="ScriptTask_preFalloutHandler">
381         <dc:Bounds x="445" y="832" width="109" height="61" />
382       </bpmndi:BPMNShape>
383       <bpmndi:BPMNShape id="_BPMNShape_CallActivity_44" bpmnElement="CallActivity_falloutHandler">
384         <dc:Bounds x="639" y="832" width="109" height="61" />
385       </bpmndi:BPMNShape>
386       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_4" bpmnElement="SequenceFlow_4" sourceElement="_BPMNShape_ScriptTask_238" targetElement="_BPMNShape_CallActivity_44">
387         <di:waypoint xsi:type="dc:Point" x="553" y="862" />
388         <di:waypoint xsi:type="dc:Point" x="639" y="862" />
389         <bpmndi:BPMNLabel>
390           <dc:Bounds x="573" y="946" width="6" height="6" />
391         </bpmndi:BPMNLabel>
392       </bpmndi:BPMNEdge>
393       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_170" bpmnElement="EndEvent_3">
394         <dc:Bounds x="862" y="844" width="37" height="37" />
395         <bpmndi:BPMNLabel>
396           <dc:Bounds x="880" y="886" width="0" height="0" />
397         </bpmndi:BPMNLabel>
398       </bpmndi:BPMNShape>
399       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_6" bpmnElement="SequenceFlow_6" sourceElement="_BPMNShape_CallActivity_44" targetElement="_BPMNShape_EndEvent_170">
400         <di:waypoint xsi:type="dc:Point" x="747" y="862" />
401         <di:waypoint xsi:type="dc:Point" x="862" y="862" />
402         <bpmndi:BPMNLabel>
403           <dc:Bounds x="765" y="1030" width="6" height="6" />
404         </bpmndi:BPMNLabel>
405       </bpmndi:BPMNEdge>
406       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_171" bpmnElement="EndEvent_4">
407         <dc:Bounds x="1461" y="438" width="43" height="43" />
408         <bpmndi:BPMNLabel>
409           <dc:Bounds x="1457" y="486" width="50" height="22" />
410         </bpmndi:BPMNLabel>
411       </bpmndi:BPMNShape>
412       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="_BPMNShape_ScriptTask_230" targetElement="_BPMNShape_EndEvent_171">
413         <di:waypoint xsi:type="dc:Point" x="1426" y="460" />
414         <di:waypoint xsi:type="dc:Point" x="1461" y="459" />
415         <bpmndi:BPMNLabel>
416           <dc:Bounds x="1442" y="467" width="6" height="6" />
417         </bpmndi:BPMNLabel>
418       </bpmndi:BPMNEdge>
419       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_7" bpmnElement="SequenceFlow_7" sourceElement="_BPMNShape_StartEvent_63" targetElement="_BPMNShape_ScriptTask_238">
420         <di:waypoint xsi:type="dc:Point" x="337" y="862" />
421         <di:waypoint xsi:type="dc:Point" x="445" y="862" />
422         <bpmndi:BPMNLabel>
423           <dc:Bounds x="385" y="1030" width="6" height="6" />
424         </bpmndi:BPMNLabel>
425       </bpmndi:BPMNEdge>
426       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_254" bpmnElement="ExclusiveGateway_1" isMarkerVisible="true">
427         <dc:Bounds x="931" y="244" width="34" height="34" />
428         <bpmndi:BPMNLabel>
429           <dc:Bounds x="881" y="283" width="135" height="22" />
430         </bpmndi:BPMNLabel>
431       </bpmndi:BPMNShape>
432       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_5" bpmnElement="SequenceFlow_YesVfModuleRelation" sourceElement="_BPMNShape_ExclusiveGateway_254" targetElement="_BPMNShape_ScriptTask_313">
433         <di:waypoint xsi:type="dc:Point" x="931" y="261" />
434         <di:waypoint xsi:type="dc:Point" x="634" y="261" />
435         <di:waypoint xsi:type="dc:Point" x="634" y="262" />
436         <di:waypoint xsi:type="dc:Point" x="405" y="262" />
437         <bpmndi:BPMNLabel>
438           <dc:Bounds x="729" y="261" width="29" height="22" />
439         </bpmndi:BPMNLabel>
440       </bpmndi:BPMNEdge>
441       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_313" bpmnElement="ScriptTask_queryAaiForVfModule">
442         <dc:Bounds x="297" y="222" width="109" height="80" />
443       </bpmndi:BPMNShape>
444       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_255" bpmnElement="ExclusiveGateway_personaModelIdMatch" isMarkerVisible="true">
445         <dc:Bounds x="333" y="346" width="34" height="34" />
446         <bpmndi:BPMNLabel>
447           <dc:Bounds x="272" y="385" width="156" height="22" />
448         </bpmndi:BPMNLabel>
449       </bpmndi:BPMNShape>
450       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_8" bpmnElement="SequenceFlow_8" sourceElement="_BPMNShape_ScriptTask_313" targetElement="_BPMNShape_ExclusiveGateway_255">
451         <di:waypoint xsi:type="dc:Point" x="350" y="302" />
452         <di:waypoint xsi:type="dc:Point" x="350" y="329" />
453         <di:waypoint xsi:type="dc:Point" x="350" y="346" />
454         <bpmndi:BPMNLabel>
455           <dc:Bounds x="347" y="318" width="6" height="6" />
456         </bpmndi:BPMNLabel>
457       </bpmndi:BPMNEdge>
458       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_9" bpmnElement="SequenceFlow_personaModelIdMatchYes" sourceElement="_BPMNShape_ExclusiveGateway_255" targetElement="_BPMNShape_ExclusiveGateway_256">
459         <di:waypoint xsi:type="dc:Point" x="367" y="363" />
460         <di:waypoint xsi:type="dc:Point" x="491" y="363" />
461         <bpmndi:BPMNLabel>
462           <dc:Bounds x="398" y="363" width="29" height="22" />
463         </bpmndi:BPMNLabel>
464       </bpmndi:BPMNEdge>
465       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_256" bpmnElement="ExclusiveGateway_2" isMarkerVisible="true">
466         <dc:Bounds x="491" y="346" width="34" height="34" />
467         <bpmndi:BPMNLabel>
468           <dc:Bounds x="508" y="385" width="0" height="0" />
469         </bpmndi:BPMNLabel>
470       </bpmndi:BPMNShape>
471       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_10" bpmnElement="SequenceFlow_noVfModuleRelation" sourceElement="_BPMNShape_ExclusiveGateway_254" targetElement="_BPMNShape_ExclusiveGateway_256">
472         <di:waypoint xsi:type="dc:Point" x="948" y="278" />
473         <di:waypoint xsi:type="dc:Point" x="948" y="363" />
474         <di:waypoint xsi:type="dc:Point" x="701" y="363" />
475         <di:waypoint xsi:type="dc:Point" x="525" y="363" />
476         <bpmndi:BPMNLabel>
477           <dc:Bounds x="795" y="363" width="22" height="22" />
478         </bpmndi:BPMNLabel>
479       </bpmndi:BPMNEdge>
480       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_22" bpmnElement="SequenceFlow_personaModelidMatchNo" sourceElement="_BPMNShape_ExclusiveGateway_255" targetElement="_BPMNShape_ScriptTask_315">
481         <di:waypoint xsi:type="dc:Point" x="350" y="380" />
482         <di:waypoint xsi:type="dc:Point" x="350" y="401" />
483         <di:waypoint xsi:type="dc:Point" x="351" y="460" />
484         <bpmndi:BPMNLabel>
485           <dc:Bounds x="350" y="409" width="22" height="22" />
486         </bpmndi:BPMNLabel>
487       </bpmndi:BPMNEdge>
488       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_315" bpmnElement="ScriptTask_handlePersonaModelIdMismatch">
489         <dc:Bounds x="297" y="460" width="109" height="80" />
490       </bpmndi:BPMNShape>
491       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_172" bpmnElement="EndEvent_personaModelIdMismatch">
492         <dc:Bounds x="330" y="600" width="43" height="43" />
493         <bpmndi:BPMNLabel>
494           <dc:Bounds x="351" y="648" width="0" height="0" />
495         </bpmndi:BPMNLabel>
496       </bpmndi:BPMNShape>
497       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_24" bpmnElement="SequenceFlow_18" sourceElement="_BPMNShape_ScriptTask_315" targetElement="_BPMNShape_EndEvent_172">
498         <di:waypoint xsi:type="dc:Point" x="351" y="540" />
499         <di:waypoint xsi:type="dc:Point" x="351" y="600" />
500         <bpmndi:BPMNLabel>
501           <dc:Bounds x="348" y="560" width="6" height="6" />
502         </bpmndi:BPMNLabel>
503       </bpmndi:BPMNEdge>
504       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_25" bpmnElement="SequenceFlow_22" sourceElement="_BPMNShape_ExclusiveGateway_256" targetElement="_BPMNShape_ScriptTask_237">
505         <di:waypoint xsi:type="dc:Point" x="508" y="380" />
506         <di:waypoint xsi:type="dc:Point" x="508" y="420" />
507       </bpmndi:BPMNEdge>
508       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_318" bpmnElement="ScriptTask_queryAaiGenricVnf">
509         <dc:Bounds x="612" y="112" width="97" height="75" />
510       </bpmndi:BPMNShape>
511       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_23" bpmnElement="SequenceFlow_5" sourceElement="_BPMNShape_ScriptTask_318" targetElement="_BPMNShape_ScriptTask_235">
512         <di:waypoint xsi:type="dc:Point" x="708" y="149" />
513         <di:waypoint xsi:type="dc:Point" x="742" y="149" />
514       </bpmndi:BPMNEdge>
515     </bpmndi:BPMNPlane>
516   </bpmndi:BPMNDiagram>
517 </bpmn2:definitions>