96c0681c48c1dc1aa3f6beb571e706d2629ff51a
[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" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd" id="_ZBLUcCkQEeaY6ZhIaNLwzg" exporter="camunda modeler" exporterVersion="2.7.0" targetNamespace="http://camunda.org/schema/1.0/bpmn">
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:connectorId>http-connector</camunda:connectorId>
24           <camunda:inputOutput>
25             <camunda:inputParameter name="url">${URN_mso_adapters_db_endpoint}</camunda:inputParameter>
26             <camunda:inputParameter name="payload">${UPDVfModVol_updateInfraRequest}</camunda:inputParameter>
27             <camunda:inputParameter name="headers">
28               <camunda:map>
29                 <camunda:entry key="content-type">aapplication/soap+xml</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:connector>
37       </bpmn2:extensionElements>
38       <bpmn2:incoming>SequenceFlow_11</bpmn2:incoming>
39       <bpmn2:outgoing>SequenceFlow_12</bpmn2:outgoing>
40     </bpmn2:serviceTask>
41     <bpmn2:sequenceFlow id="SequenceFlow_12" name="" sourceRef="ServiceTask_callUpdateInfraDb" targetRef="ScriptTask_prepCompletionHandlerRequest"/>
42     <bpmn2:scriptTask id="ScriptTask_prepVnfRest" name="Prepare VNF Adapter Rest Request" scriptFormat="groovy">
43       <bpmn2:incoming>SequenceFlow_22</bpmn2:incoming>
44       <bpmn2:outgoing>SequenceFlow_21</bpmn2:outgoing>
45       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
46 def uvmv = new UpdateVfModuleVolumeInfraV1()
47 uvmv.executeMethod('prepVnfAdapterRest', execution, isDebugLogEnabled)]]></bpmn2:script>
48     </bpmn2:scriptTask>
49     <bpmn2:sequenceFlow id="SequenceFlow_21" name="" sourceRef="ScriptTask_prepVnfRest" targetRef="CallActivity_callVNFAdapterRest"/>
50     <bpmn2:scriptTask id="ScriptTask_prepCompletionHandlerRequest" name="Prep Completion Handler Request" scriptFormat="groovy">
51       <bpmn2:incoming>SequenceFlow_12</bpmn2:incoming>
52       <bpmn2:outgoing>SequenceFlow_13</bpmn2:outgoing>
53       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
54 def uvmv = new UpdateVfModuleVolumeInfraV1()
55 uvmv.executeMethod('prepCompletionHandlerRequest', execution, UPDVfModVol_requestId, 'UPDATE', UPDVfModVol_source, isDebugLogEnabled)]]></bpmn2:script>
56     </bpmn2:scriptTask>
57     <bpmn2:sequenceFlow id="SequenceFlow_13" name="" sourceRef="ScriptTask_prepCompletionHandlerRequest" targetRef="CallActivity_completionHandler"/>
58     <bpmn2:callActivity id="CallActivity_callVNFAdapterRest" name="VNFAdapterRest" calledElement="vnfAdapterRestV1">
59       <bpmn2:extensionElements>
60         <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled"/>
61         <camunda:in source="mso-request-id" target="mso-request-id"/>
62         <camunda:out source="vnfAdapterRestV1Response" target="UPDVfModVol_vnfAdapterRestResponse"/>
63         <camunda:out source="WorkflowException" target="WorkflowException"/>
64         <camunda:in source="mso-service-instance-id" target="mso-service-instance-id"/>
65         <camunda:in source="UPDVfModVol_vnfAdapterRestRequest" target="vnfAdapterRestV1Request"/>
66       </bpmn2:extensionElements>
67       <bpmn2:incoming>SequenceFlow_21</bpmn2:incoming>
68       <bpmn2:outgoing>SequenceFlow_19</bpmn2:outgoing>
69     </bpmn2:callActivity>
70     <bpmn2:sequenceFlow id="SequenceFlow_19" name="" sourceRef="CallActivity_callVNFAdapterRest" targetRef="ScriptTask_prepDbInfraRequest"/>
71     <bpmn2:scriptTask id="ScriptTask_prepDbInfraRequest" name="Prep DB Infra Request" scriptFormat="groovy">
72       <bpmn2:incoming>SequenceFlow_19</bpmn2:incoming>
73       <bpmn2:outgoing>SequenceFlow_11</bpmn2:outgoing>
74       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
75 def uvmv = new UpdateVfModuleVolumeInfraV1()
76 uvmv.executeMethod('prepDbInfraDbRequest', execution, isDebugLogEnabled)]]></bpmn2:script>
77     </bpmn2:scriptTask>
78     <bpmn2:sequenceFlow id="SequenceFlow_11" name="" sourceRef="ScriptTask_prepDbInfraRequest" targetRef="ServiceTask_callUpdateInfraDb"/>
79     <bpmn2:scriptTask id="ScriptTask_postProcessTemp" name="Set Success" scriptFormat="groovy">
80       <bpmn2:incoming>SequenceFlow_14</bpmn2:incoming>
81       <bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>
82       <bpmn2:script><![CDATA[// The following variable is checked by the unit test
83 execution.setVariable("UpdateVfModuleVolumeSuccessIndicator", true)]]></bpmn2:script>
84     </bpmn2:scriptTask>
85     <bpmn2:sequenceFlow id="SequenceFlow_1" name="" sourceRef="ScriptTask_postProcessTemp" targetRef="EndEvent_4"/>
86     <bpmn2:exclusiveGateway id="ExclusiveGateway_2">
87       <bpmn2:incoming>SequenceFlow_noVfModuleRelation</bpmn2:incoming>
88       <bpmn2:incoming>SequenceFlow_personaModelIdMatchYes</bpmn2:incoming>
89       <bpmn2:outgoing>SequenceFlow_22</bpmn2:outgoing>
90     </bpmn2:exclusiveGateway>
91     <bpmn2:subProcess id="SubProcess_errorHandler" name="Error Handler" triggeredByEvent="true">
92       <bpmn2:startEvent id="StartEvent_catchAllErrors" name="Catch All Errors">
93         <bpmn2:outgoing>SequenceFlow_7</bpmn2:outgoing>
94         <bpmn2:errorEventDefinition id="_ErrorEventDefinition_77"/>
95       </bpmn2:startEvent>
96       <bpmn2:endEvent id="EndEvent_3">
97         <bpmn2:incoming>SequenceFlow_6</bpmn2:incoming>
98         <bpmn2:terminateEventDefinition id="_TerminateEventDefinition_11"/>
99       </bpmn2:endEvent>
100       <bpmn2:sequenceFlow id="SequenceFlow_7" name="" sourceRef="StartEvent_catchAllErrors" targetRef="ScriptTask_preFalloutHandler"/>
101       <bpmn2:scriptTask id="ScriptTask_preFalloutHandler" name="Fallout Handler (prep)" scriptFormat="groovy">
102         <bpmn2:incoming>SequenceFlow_7</bpmn2:incoming>
103         <bpmn2:outgoing>SequenceFlow_4</bpmn2:outgoing>
104         <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
105 def uvmv = new UpdateVfModuleVolumeInfraV1()
106 uvmv.executeMethod('prepFalloutHandler', execution, isDebugLogEnabled)]]></bpmn2:script>
107       </bpmn2:scriptTask>
108       <bpmn2:sequenceFlow id="SequenceFlow_4" name="" sourceRef="ScriptTask_preFalloutHandler" targetRef="CallActivity_falloutHandler"/>
109       <bpmn2:callActivity id="CallActivity_falloutHandler" name="Fallout Handler" calledElement="FalloutHandler">
110         <bpmn2:extensionElements>
111           <camunda:in source="UPDVfModVol_FalloutHandlerRequest" target="FalloutHandlerRequest"/>
112           <camunda:in source="mso-request-id" target="mso-request-id"/>
113           <camunda:in source="mso-service-instance-id" target="mso-service-instance-id"/>
114           <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled"/>
115           <camunda:out source="FH_ResponseCode" target="UPDVfModVol_FH_ResponseCode"/>
116           <camunda:out source="FH_ErrorResponse" target="UPDVfModVol_FH_ErrorResponse"/>
117           <camunda:out source="FalloutHandlerResponse" target="UPDVfModVol_FalloutHandlerResponse"/>
118         </bpmn2:extensionElements>
119         <bpmn2:incoming>SequenceFlow_4</bpmn2:incoming>
120         <bpmn2:outgoing>SequenceFlow_6</bpmn2:outgoing>
121       </bpmn2:callActivity>
122       <bpmn2:sequenceFlow id="SequenceFlow_6" name="" sourceRef="CallActivity_falloutHandler" targetRef="EndEvent_3"/>
123     </bpmn2:subProcess>
124     <bpmn2:sequenceFlow id="SequenceFlow_22" name="" sourceRef="ExclusiveGateway_2" targetRef="ScriptTask_prepVnfRest"/>
125     <bpmn2:exclusiveGateway id="ExclusiveGateway_personaModelIdMatch" name="Persona Model ID match?">
126       <bpmn2:incoming>SequenceFlow_8</bpmn2:incoming>
127       <bpmn2:outgoing>SequenceFlow_personaModelIdMatchYes</bpmn2:outgoing>
128       <bpmn2:outgoing>SequenceFlow_personaModelidMatchNo</bpmn2:outgoing>
129     </bpmn2:exclusiveGateway>
130     <bpmn2:sequenceFlow id="SequenceFlow_personaModelIdMatchYes" name="Yes" sourceRef="ExclusiveGateway_personaModelIdMatch" targetRef="ExclusiveGateway_2">
131       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression">#{UPDVfModVol_modelInvariantId == UPDVfModVol_personaModelId}</bpmn2:conditionExpression>
132     </bpmn2:sequenceFlow>
133     <bpmn2:sequenceFlow id="SequenceFlow_personaModelidMatchNo" name="No" sourceRef="ExclusiveGateway_personaModelIdMatch" targetRef="ScriptTask_handlePersonaModelIdMismatch"/>
134     <bpmn2:scriptTask id="ScriptTask_queryAaiForVfModule" name="Query AAI for VF Module" scriptFormat="groovy">
135       <bpmn2:incoming>SequenceFlow_YesVfModuleRelation</bpmn2:incoming>
136       <bpmn2:outgoing>SequenceFlow_8</bpmn2:outgoing>
137       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
138 def uvmv = new UpdateVfModuleVolumeInfraV1()
139 uvmv.executeMethod('queryAAIForVfModule', execution, isDebugLogEnabled)]]></bpmn2:script>
140     </bpmn2:scriptTask>
141     <bpmn2:sequenceFlow id="SequenceFlow_8" name="" sourceRef="ScriptTask_queryAaiForVfModule" targetRef="ExclusiveGateway_personaModelIdMatch"/>
142     <bpmn2:scriptTask id="ScriptTask_handlePersonaModelIdMismatch" name="Handle Persona Model ID Mismatch" scriptFormat="groovy">
143       <bpmn2:incoming>SequenceFlow_personaModelidMatchNo</bpmn2:incoming>
144       <bpmn2:outgoing>SequenceFlow_18</bpmn2:outgoing>
145       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
146 def uvmv = new UpdateVfModuleVolumeInfraV1()
147 uvmv.executeMethod('handlePersonaModelIdMismatch', execution, isDebugLogEnabled)]]></bpmn2:script>
148     </bpmn2:scriptTask>
149     <bpmn2:sequenceFlow id="SequenceFlow_18" name="" sourceRef="ScriptTask_handlePersonaModelIdMismatch" targetRef="EndEvent_personaModelIdMismatch"/>
150     <bpmn2:endEvent id="EndEvent_personaModelIdMismatch">
151       <bpmn2:incoming>SequenceFlow_18</bpmn2:incoming>
152       <bpmn2:errorEventDefinition id="ErrorEventDefinition_1" errorRef="Error_1"/>
153     </bpmn2:endEvent>
154     <bpmn2:scriptTask id="ScriptTask_preProcessRequest" name="Pre-process Request" scriptFormat="groovy">
155       <bpmn2:incoming>SequenceFlow_3</bpmn2:incoming>
156       <bpmn2:outgoing>SequenceFlow_2</bpmn2:outgoing>
157       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
158 def uvmv = new UpdateVfModuleVolumeInfraV1()
159 uvmv.executeMethod('preProcessRequest', execution, isDebugLogEnabled)]]></bpmn2:script>
160     </bpmn2:scriptTask>
161     <bpmn2:sequenceFlow id="SequenceFlow_2" name="" sourceRef="ScriptTask_preProcessRequest" targetRef="ScriptTask_sendSynchResponse"/>
162     <bpmn2:startEvent id="StartEvent_1" name="Start">
163       <bpmn2:outgoing>SequenceFlow_3</bpmn2:outgoing>
164     </bpmn2:startEvent>
165     <bpmn2:sequenceFlow id="SequenceFlow_3" name="" sourceRef="StartEvent_1" targetRef="ScriptTask_preProcessRequest"/>
166     <bpmn2:scriptTask id="ScriptTask_sendSynchResponse" name="Send Synch Response" scriptFormat="groovy">
167       <bpmn2:incoming>SequenceFlow_2</bpmn2:incoming>
168       <bpmn2:outgoing>SequenceFlow_20</bpmn2:outgoing>
169       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
170 def uvmv = new UpdateVfModuleVolumeInfraV1()
171 uvmv.executeMethod('sendSynchResponse', execution, isDebugLogEnabled)]]></bpmn2:script>
172     </bpmn2:scriptTask>
173     <bpmn2:sequenceFlow id="SequenceFlow_20" name="" sourceRef="ScriptTask_sendSynchResponse" targetRef="ScriptTask_queryAaiGenricVnf"/>
174     <bpmn2:exclusiveGateway id="ExclusiveGateway_1" name="VF-MODULE relation?" default="SequenceFlow_noVfModuleRelation">
175       <bpmn2:incoming>SequenceFlow_tenantIsMatch</bpmn2:incoming>
176       <bpmn2:outgoing>SequenceFlow_YesVfModuleRelation</bpmn2:outgoing>
177       <bpmn2:outgoing>SequenceFlow_noVfModuleRelation</bpmn2:outgoing>
178     </bpmn2:exclusiveGateway>
179     <bpmn2:sequenceFlow id="SequenceFlow_YesVfModuleRelation" name="Yes" sourceRef="ExclusiveGateway_1" targetRef="ScriptTask_queryAaiForVfModule">
180       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression">#{UPDVfModVol_relatedVfModuleLink != ''}</bpmn2:conditionExpression>
181     </bpmn2:sequenceFlow>
182     <bpmn2:sequenceFlow id="SequenceFlow_noVfModuleRelation" name="No" sourceRef="ExclusiveGateway_1" targetRef="ExclusiveGateway_2"/>
183     <bpmn2:exclusiveGateway id="ExclusiveGateway_isTenantMatch" name="TenantId Match?" default="SequenceFlow_NoTenantMatch">
184       <bpmn2:incoming>SequenceFlow_15</bpmn2:incoming>
185       <bpmn2:outgoing>SequenceFlow_NoTenantMatch</bpmn2:outgoing>
186       <bpmn2:outgoing>SequenceFlow_tenantIsMatch</bpmn2:outgoing>
187     </bpmn2:exclusiveGateway>
188     <bpmn2:sequenceFlow id="SequenceFlow_NoTenantMatch" name="No" sourceRef="ExclusiveGateway_isTenantMatch" targetRef="ScriptTask_tenantIdMismatch"/>
189     <bpmn2:sequenceFlow id="SequenceFlow_tenantIsMatch" name="Yes" sourceRef="ExclusiveGateway_isTenantMatch" targetRef="ExclusiveGateway_1">
190       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression">#{UPDVfModVol_tenantId == UPDVfModVol_volumeGroupTenantId}</bpmn2:conditionExpression>
191     </bpmn2:sequenceFlow>
192     <bpmn2:scriptTask id="ScriptTask_tenantIdMismatch" name="Handle TenantId Mismatch" scriptFormat="groovy">
193       <bpmn2:incoming>SequenceFlow_NoTenantMatch</bpmn2:incoming>
194       <bpmn2:outgoing>SequenceFlow_17</bpmn2:outgoing>
195       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
196 def uvmv = new UpdateVfModuleVolumeInfraV1()
197 uvmv.executeMethod('handleTenantIdMismatch', execution, isDebugLogEnabled)]]></bpmn2:script>
198     </bpmn2:scriptTask>
199     <bpmn2:sequenceFlow id="SequenceFlow_17" name="" sourceRef="ScriptTask_tenantIdMismatch" targetRef="EndEvent_2"/>
200     <bpmn2:endEvent id="EndEvent_2">
201       <bpmn2:incoming>SequenceFlow_17</bpmn2:incoming>
202       <bpmn2:errorEventDefinition id="_ErrorEventDefinition_76" errorRef="Error_1"/>
203     </bpmn2:endEvent>
204     <bpmn2:scriptTask id="ScriptTask_queryAAI" name="Query AAI for Volume Group Info" scriptFormat="groovy">
205       <bpmn2:incoming>SequenceFlow_5</bpmn2:incoming>
206       <bpmn2:outgoing>SequenceFlow_15</bpmn2:outgoing>
207       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
208 def uvmv = new UpdateVfModuleVolumeInfraV1()
209 uvmv.executeMethod('queryAAIForVolumeGroup', execution, isDebugLogEnabled)]]></bpmn2:script>
210     </bpmn2:scriptTask>
211     <bpmn2:sequenceFlow id="SequenceFlow_15" name="" sourceRef="ScriptTask_queryAAI" targetRef="ExclusiveGateway_isTenantMatch"/>
212     <bpmn2:scriptTask id="ScriptTask_queryAaiGenricVnf" name="Query AAI for Generic VNF" scriptFormat="groovy">
213       <bpmn2:incoming>SequenceFlow_20</bpmn2:incoming>
214       <bpmn2:outgoing>SequenceFlow_5</bpmn2:outgoing>
215       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
216 def uvmv = new UpdateVfModuleVolumeInfraV1()
217 uvmv.executeMethod('queryAAIForGenericVnf', execution, isDebugLogEnabled)]]></bpmn2:script>
218     </bpmn2:scriptTask>
219     <bpmn2:sequenceFlow id="SequenceFlow_5" name="" sourceRef="ScriptTask_queryAaiGenricVnf" targetRef="ScriptTask_queryAAI"/>
220   </bpmn2:process>
221   <bpmn2:error id="Error_1" errorCode="MSOWorkflowException" name="MSOWorkflowException"/>
222   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
223     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="UpdateVfModuleVolumeInfraV1">
224       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_62" bpmnElement="StartEvent_1">
225         <dc:Bounds height="37.0" width="37.0" x="191.0" y="131.0"/>
226         <bpmndi:BPMNLabel>
227           <dc:Bounds height="22.0" width="34.0" x="192.0" y="173.0"/>
228         </bpmndi:BPMNLabel>
229       </bpmndi:BPMNShape>
230       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_3" bpmnElement="SequenceFlow_3" sourceElement="_BPMNShape_StartEvent_62" targetElement="_BPMNShape_ScriptTask_231">
231         <di:waypoint xsi:type="dc:Point" x="227.0" y="149.0"/>
232         <di:waypoint xsi:type="dc:Point" x="268.0" y="149.0"/>
233         <di:waypoint xsi:type="dc:Point" x="268.0" y="150.0"/>
234         <di:waypoint xsi:type="dc:Point" x="295.0" y="150.0"/>
235         <bpmndi:BPMNLabel>
236           <dc:Bounds height="6.0" width="6.0" x="248.0" y="149.0"/>
237         </bpmndi:BPMNLabel>
238       </bpmndi:BPMNEdge>
239       <bpmndi:BPMNShape id="_BPMNShape_CallActivity_42" bpmnElement="CallActivity_callVNFAdapterRest">
240         <dc:Bounds height="80.0" width="100.0" x="591.0" y="420.0"/>
241       </bpmndi:BPMNShape>
242       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_230" bpmnElement="ScriptTask_postProcessTemp">
243         <dc:Bounds height="80.0" width="109.0" x="1318.0" y="420.0"/>
244       </bpmndi:BPMNShape>
245       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_231" bpmnElement="ScriptTask_preProcessRequest">
246         <dc:Bounds height="78.0" width="109.0" x="295.0" y="111.0"/>
247       </bpmndi:BPMNShape>
248       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_232" bpmnElement="ScriptTask_sendSynchResponse">
249         <dc:Bounds height="76.0" width="109.0" x="454.0" y="112.0"/>
250       </bpmndi:BPMNShape>
251       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_2" bpmnElement="SequenceFlow_2" sourceElement="_BPMNShape_ScriptTask_231" targetElement="_BPMNShape_ScriptTask_232">
252         <di:waypoint xsi:type="dc:Point" x="403.0" y="150.0"/>
253         <di:waypoint xsi:type="dc:Point" x="454.0" y="150.0"/>
254         <bpmndi:BPMNLabel>
255           <dc:Bounds height="6.0" width="6.0" x="418.0" y="150.0"/>
256         </bpmndi:BPMNLabel>
257       </bpmndi:BPMNEdge>
258       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_233" bpmnElement="ScriptTask_prepDbInfraRequest">
259         <dc:Bounds height="80.0" width="109.0" x="730.0" y="420.0"/>
260       </bpmndi:BPMNShape>
261       <bpmndi:BPMNShape id="_BPMNShape_ServiceTask_101" bpmnElement="ServiceTask_callUpdateInfraDb">
262         <dc:Bounds height="80.0" width="109.0" x="868.0" y="420.0"/>
263       </bpmndi:BPMNShape>
264       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_11" bpmnElement="SequenceFlow_11" sourceElement="_BPMNShape_ScriptTask_233" targetElement="_BPMNShape_ServiceTask_101">
265         <di:waypoint xsi:type="dc:Point" x="838.0" y="460.0"/>
266         <di:waypoint xsi:type="dc:Point" x="868.0" y="460.0"/>
267         <bpmndi:BPMNLabel>
268           <dc:Bounds height="6.0" width="6.0" x="853.0" y="491.0"/>
269         </bpmndi:BPMNLabel>
270       </bpmndi:BPMNEdge>
271       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_12" bpmnElement="SequenceFlow_12" sourceElement="_BPMNShape_ServiceTask_101" targetElement="_BPMNShape_ScriptTask_234">
272         <di:waypoint xsi:type="dc:Point" x="976.0" y="460.0"/>
273         <di:waypoint xsi:type="dc:Point" x="1014.0" y="460.0"/>
274         <bpmndi:BPMNLabel>
275           <dc:Bounds height="6.0" width="6.0" x="959.0" y="497.0"/>
276         </bpmndi:BPMNLabel>
277       </bpmndi:BPMNEdge>
278       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_234" bpmnElement="ScriptTask_prepCompletionHandlerRequest">
279         <dc:Bounds height="80.0" width="109.0" x="1014.0" y="420.0"/>
280       </bpmndi:BPMNShape>
281       <bpmndi:BPMNShape id="_BPMNShape_CallActivity_43" bpmnElement="CallActivity_completionHandler">
282         <dc:Bounds height="61.0" width="109.0" x="1162.0" y="429.0"/>
283       </bpmndi:BPMNShape>
284       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_13" bpmnElement="SequenceFlow_13" sourceElement="_BPMNShape_ScriptTask_234" targetElement="_BPMNShape_CallActivity_43">
285         <di:waypoint xsi:type="dc:Point" x="1122.0" y="460.0"/>
286         <di:waypoint xsi:type="dc:Point" x="1162.0" y="459.0"/>
287         <bpmndi:BPMNLabel>
288           <dc:Bounds height="6.0" width="6.0" x="1134.0" y="477.0"/>
289         </bpmndi:BPMNLabel>
290       </bpmndi:BPMNEdge>
291       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_14" bpmnElement="SequenceFlow_14" sourceElement="_BPMNShape_CallActivity_43" targetElement="_BPMNShape_ScriptTask_230">
292         <di:waypoint xsi:type="dc:Point" x="1270.0" y="459.0"/>
293         <di:waypoint xsi:type="dc:Point" x="1318.0" y="460.0"/>
294         <bpmndi:BPMNLabel>
295           <dc:Bounds height="6.0" width="6.0" x="1216.0" y="521.0"/>
296         </bpmndi:BPMNLabel>
297       </bpmndi:BPMNEdge>
298       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_235" bpmnElement="ScriptTask_queryAAI">
299         <dc:Bounds height="73.0" width="109.0" x="742.0" y="113.0"/>
300       </bpmndi:BPMNShape>
301       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_126" bpmnElement="ExclusiveGateway_isTenantMatch" isMarkerVisible="true">
302         <dc:Bounds height="34.0" width="34.0" x="931.0" y="132.0"/>
303         <bpmndi:BPMNLabel>
304           <dc:Bounds height="22.0" width="102.0" x="898.0" y="113.0"/>
305         </bpmndi:BPMNLabel>
306       </bpmndi:BPMNShape>
307       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_236" bpmnElement="ScriptTask_tenantIdMismatch">
308         <dc:Bounds height="75.0" width="97.0" x="1064.0" y="112.0"/>
309       </bpmndi:BPMNShape>
310       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_15" bpmnElement="SequenceFlow_15" sourceElement="_BPMNShape_ScriptTask_235" targetElement="_BPMNShape_ExclusiveGateway_126">
311         <di:waypoint xsi:type="dc:Point" x="850.0" y="149.0"/>
312         <di:waypoint xsi:type="dc:Point" x="931.0" y="149.0"/>
313         <bpmndi:BPMNLabel>
314           <dc:Bounds height="6.0" width="6.0" x="877.0" y="149.0"/>
315         </bpmndi:BPMNLabel>
316       </bpmndi:BPMNEdge>
317       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_16" bpmnElement="SequenceFlow_NoTenantMatch" sourceElement="_BPMNShape_ExclusiveGateway_126" targetElement="_BPMNShape_ScriptTask_236">
318         <di:waypoint xsi:type="dc:Point" x="965.0" y="149.0"/>
319         <di:waypoint xsi:type="dc:Point" x="1064.0" y="149.0"/>
320         <bpmndi:BPMNLabel>
321           <dc:Bounds height="22.0" width="22.0" x="986.0" y="149.0"/>
322         </bpmndi:BPMNLabel>
323       </bpmndi:BPMNEdge>
324       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_169" bpmnElement="EndEvent_2">
325         <dc:Bounds height="49.0" width="49.0" x="1225.0" y="125.0"/>
326         <bpmndi:BPMNLabel>
327           <dc:Bounds height="0.0" width="0.0" x="1249.0" y="179.0"/>
328         </bpmndi:BPMNLabel>
329       </bpmndi:BPMNShape>
330       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_17" bpmnElement="SequenceFlow_17" sourceElement="_BPMNShape_ScriptTask_236" targetElement="_BPMNShape_EndEvent_169">
331         <di:waypoint xsi:type="dc:Point" x="1160.0" y="149.0"/>
332         <di:waypoint xsi:type="dc:Point" x="1225.0" y="149.0"/>
333         <bpmndi:BPMNLabel>
334           <dc:Bounds height="6.0" width="6.0" x="1179.0" y="149.0"/>
335         </bpmndi:BPMNLabel>
336       </bpmndi:BPMNEdge>
337       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_18" bpmnElement="SequenceFlow_tenantIsMatch" sourceElement="_BPMNShape_ExclusiveGateway_126" targetElement="_BPMNShape_ExclusiveGateway_254">
338         <di:waypoint xsi:type="dc:Point" x="948.0" y="166.0"/>
339         <di:waypoint xsi:type="dc:Point" x="948.0" y="244.0"/>
340         <bpmndi:BPMNLabel>
341           <dc:Bounds height="22.0" width="29.0" x="915.0" y="173.0"/>
342         </bpmndi:BPMNLabel>
343       </bpmndi:BPMNEdge>
344       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_19" bpmnElement="SequenceFlow_19" sourceElement="_BPMNShape_CallActivity_42" targetElement="_BPMNShape_ScriptTask_233">
345         <di:waypoint xsi:type="dc:Point" x="691.0" y="460.0"/>
346         <di:waypoint xsi:type="dc:Point" x="730.0" y="460.0"/>
347         <bpmndi:BPMNLabel>
348           <dc:Bounds height="6.0" width="6.0" x="712.0" y="531.0"/>
349         </bpmndi:BPMNLabel>
350       </bpmndi:BPMNEdge>
351       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_20" bpmnElement="SequenceFlow_20" sourceElement="_BPMNShape_ScriptTask_232" targetElement="_BPMNShape_ScriptTask_318">
352         <di:waypoint xsi:type="dc:Point" x="562.0" y="150.0"/>
353         <di:waypoint xsi:type="dc:Point" x="581.0" y="150.0"/>
354         <di:waypoint xsi:type="dc:Point" x="581.0" y="149.0"/>
355         <di:waypoint xsi:type="dc:Point" x="612.0" y="149.0"/>
356         <bpmndi:BPMNLabel>
357           <dc:Bounds height="6.0" width="6.0" x="578.0" y="150.0"/>
358         </bpmndi:BPMNLabel>
359       </bpmndi:BPMNEdge>
360       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_237" bpmnElement="ScriptTask_prepVnfRest">
361         <dc:Bounds height="80.0" width="109.0" x="454.0" y="420.0"/>
362       </bpmndi:BPMNShape>
363       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_21" bpmnElement="SequenceFlow_21" sourceElement="_BPMNShape_ScriptTask_237" targetElement="_BPMNShape_CallActivity_42">
364         <di:waypoint xsi:type="dc:Point" x="562.0" y="460.0"/>
365         <di:waypoint xsi:type="dc:Point" x="591.0" y="460.0"/>
366         <bpmndi:BPMNLabel>
367           <dc:Bounds height="6.0" width="6.0" x="446.0" y="460.0"/>
368         </bpmndi:BPMNLabel>
369       </bpmndi:BPMNEdge>
370       <bpmndi:BPMNShape id="_BPMNShape_SubProcess_18" bpmnElement="SubProcess_errorHandler" isExpanded="true">
371         <dc:Bounds height="187.0" width="781.0" x="250.0" y="786.0"/>
372       </bpmndi:BPMNShape>
373       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_63" bpmnElement="StartEvent_catchAllErrors">
374         <dc:Bounds height="37.0" width="37.0" x="301.0" y="844.0"/>
375         <bpmndi:BPMNLabel>
376           <dc:Bounds height="22.0" width="98.0" x="270.0" y="886.0"/>
377         </bpmndi:BPMNLabel>
378       </bpmndi:BPMNShape>
379       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_238" bpmnElement="ScriptTask_preFalloutHandler">
380         <dc:Bounds height="61.0" width="109.0" x="445.0" y="832.0"/>
381       </bpmndi:BPMNShape>
382       <bpmndi:BPMNShape id="_BPMNShape_CallActivity_44" bpmnElement="CallActivity_falloutHandler">
383         <dc:Bounds height="61.0" width="109.0" x="639.0" y="832.0"/>
384       </bpmndi:BPMNShape>
385       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_4" bpmnElement="SequenceFlow_4" sourceElement="_BPMNShape_ScriptTask_238" targetElement="_BPMNShape_CallActivity_44">
386         <di:waypoint xsi:type="dc:Point" x="553.0" y="862.0"/>
387         <di:waypoint xsi:type="dc:Point" x="639.0" y="862.0"/>
388         <bpmndi:BPMNLabel>
389           <dc:Bounds height="6.0" width="6.0" x="573.0" y="946.0"/>
390         </bpmndi:BPMNLabel>
391       </bpmndi:BPMNEdge>
392       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_170" bpmnElement="EndEvent_3">
393         <dc:Bounds height="37.0" width="37.0" x="862.0" y="844.0"/>
394         <bpmndi:BPMNLabel>
395           <dc:Bounds height="0.0" width="0.0" x="880.0" y="886.0"/>
396         </bpmndi:BPMNLabel>
397       </bpmndi:BPMNShape>
398       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_6" bpmnElement="SequenceFlow_6" sourceElement="_BPMNShape_CallActivity_44" targetElement="_BPMNShape_EndEvent_170">
399         <di:waypoint xsi:type="dc:Point" x="747.0" y="862.0"/>
400         <di:waypoint xsi:type="dc:Point" x="862.0" y="862.0"/>
401         <bpmndi:BPMNLabel>
402           <dc:Bounds height="6.0" width="6.0" x="765.0" y="1030.0"/>
403         </bpmndi:BPMNLabel>
404       </bpmndi:BPMNEdge>
405       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_171" bpmnElement="EndEvent_4">
406         <dc:Bounds height="43.0" width="43.0" x="1461.0" y="438.0"/>
407         <bpmndi:BPMNLabel>
408           <dc:Bounds height="22.0" width="50.0" x="1457.0" y="486.0"/>
409         </bpmndi:BPMNLabel>
410       </bpmndi:BPMNShape>
411       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="_BPMNShape_ScriptTask_230" targetElement="_BPMNShape_EndEvent_171">
412         <di:waypoint xsi:type="dc:Point" x="1426.0" y="460.0"/>
413         <di:waypoint xsi:type="dc:Point" x="1461.0" y="459.0"/>
414         <bpmndi:BPMNLabel>
415           <dc:Bounds height="6.0" width="6.0" x="1442.0" y="467.0"/>
416         </bpmndi:BPMNLabel>
417       </bpmndi:BPMNEdge>
418       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_7" bpmnElement="SequenceFlow_7" sourceElement="_BPMNShape_StartEvent_63" targetElement="_BPMNShape_ScriptTask_238">
419         <di:waypoint xsi:type="dc:Point" x="337.0" y="862.0"/>
420         <di:waypoint xsi:type="dc:Point" x="445.0" y="862.0"/>
421         <bpmndi:BPMNLabel>
422           <dc:Bounds height="6.0" width="6.0" x="385.0" y="1030.0"/>
423         </bpmndi:BPMNLabel>
424       </bpmndi:BPMNEdge>
425       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_254" bpmnElement="ExclusiveGateway_1" isMarkerVisible="true">
426         <dc:Bounds height="34.0" width="34.0" x="931.0" y="244.0"/>
427         <bpmndi:BPMNLabel>
428           <dc:Bounds height="22.0" width="135.0" x="881.0" y="283.0"/>
429         </bpmndi:BPMNLabel>
430       </bpmndi:BPMNShape>
431       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_5" bpmnElement="SequenceFlow_YesVfModuleRelation" sourceElement="_BPMNShape_ExclusiveGateway_254" targetElement="_BPMNShape_ScriptTask_313">
432         <di:waypoint xsi:type="dc:Point" x="931.0" y="261.0"/>
433         <di:waypoint xsi:type="dc:Point" x="634.0" y="261.0"/>
434         <di:waypoint xsi:type="dc:Point" x="634.0" y="262.0"/>
435         <di:waypoint xsi:type="dc:Point" x="405.0" y="262.0"/>
436         <bpmndi:BPMNLabel>
437           <dc:Bounds height="22.0" width="29.0" x="729.0" y="261.0"/>
438         </bpmndi:BPMNLabel>
439       </bpmndi:BPMNEdge>
440       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_313" bpmnElement="ScriptTask_queryAaiForVfModule">
441         <dc:Bounds height="80.0" width="109.0" x="297.0" y="222.0"/>
442       </bpmndi:BPMNShape>
443       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_255" bpmnElement="ExclusiveGateway_personaModelIdMatch" isMarkerVisible="true">
444         <dc:Bounds height="34.0" width="34.0" x="333.0" y="346.0"/>
445         <bpmndi:BPMNLabel>
446           <dc:Bounds height="22.0" width="156.0" x="272.0" y="385.0"/>
447         </bpmndi:BPMNLabel>
448       </bpmndi:BPMNShape>
449       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_8" bpmnElement="SequenceFlow_8" sourceElement="_BPMNShape_ScriptTask_313" targetElement="_BPMNShape_ExclusiveGateway_255">
450         <di:waypoint xsi:type="dc:Point" x="350.0" y="302.0"/>
451         <di:waypoint xsi:type="dc:Point" x="350.0" y="329.0"/>
452         <di:waypoint xsi:type="dc:Point" x="350.0" y="346.0"/>
453         <bpmndi:BPMNLabel>
454           <dc:Bounds height="6.0" width="6.0" x="347.0" y="318.0"/>
455         </bpmndi:BPMNLabel>
456       </bpmndi:BPMNEdge>
457       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_9" bpmnElement="SequenceFlow_personaModelIdMatchYes" sourceElement="_BPMNShape_ExclusiveGateway_255" targetElement="_BPMNShape_ExclusiveGateway_256">
458         <di:waypoint xsi:type="dc:Point" x="367.0" y="363.0"/>
459         <di:waypoint xsi:type="dc:Point" x="491.0" y="363.0"/>
460         <bpmndi:BPMNLabel>
461           <dc:Bounds height="22.0" width="29.0" x="398.0" y="363.0"/>
462         </bpmndi:BPMNLabel>
463       </bpmndi:BPMNEdge>
464       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_256" bpmnElement="ExclusiveGateway_2" isMarkerVisible="true">
465         <dc:Bounds height="34.0" width="34.0" x="491.0" y="346.0"/>
466         <bpmndi:BPMNLabel>
467           <dc:Bounds height="0.0" width="0.0" x="508.0" y="385.0"/>
468         </bpmndi:BPMNLabel>
469       </bpmndi:BPMNShape>
470       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_10" bpmnElement="SequenceFlow_noVfModuleRelation" sourceElement="_BPMNShape_ExclusiveGateway_254" targetElement="_BPMNShape_ExclusiveGateway_256">
471         <di:waypoint xsi:type="dc:Point" x="948.0" y="278.0"/>
472         <di:waypoint xsi:type="dc:Point" x="948.0" y="363.0"/>
473         <di:waypoint xsi:type="dc:Point" x="701.0" y="363.0"/>
474         <di:waypoint xsi:type="dc:Point" x="525.0" y="363.0"/>
475         <bpmndi:BPMNLabel>
476           <dc:Bounds height="22.0" width="22.0" x="795.0" y="363.0"/>
477         </bpmndi:BPMNLabel>
478       </bpmndi:BPMNEdge>
479       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_22" bpmnElement="SequenceFlow_personaModelidMatchNo" sourceElement="_BPMNShape_ExclusiveGateway_255" targetElement="_BPMNShape_ScriptTask_315">
480         <di:waypoint xsi:type="dc:Point" x="350.0" y="380.0"/>
481         <di:waypoint xsi:type="dc:Point" x="350.0" y="401.0"/>
482         <di:waypoint xsi:type="dc:Point" x="351.0" y="460.0"/>
483         <bpmndi:BPMNLabel>
484           <dc:Bounds height="22.0" width="22.0" x="350.0" y="409.0"/>
485         </bpmndi:BPMNLabel>
486       </bpmndi:BPMNEdge>
487       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_315" bpmnElement="ScriptTask_handlePersonaModelIdMismatch">
488         <dc:Bounds height="80.0" width="109.0" x="297.0" y="460.0"/>
489       </bpmndi:BPMNShape>
490       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_172" bpmnElement="EndEvent_personaModelIdMismatch">
491         <dc:Bounds height="43.0" width="43.0" x="330.0" y="600.0"/>
492         <bpmndi:BPMNLabel>
493           <dc:Bounds height="0.0" width="0.0" x="351.0" y="648.0"/>
494         </bpmndi:BPMNLabel>
495       </bpmndi:BPMNShape>
496       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_24" bpmnElement="SequenceFlow_18" sourceElement="_BPMNShape_ScriptTask_315" targetElement="_BPMNShape_EndEvent_172">
497         <di:waypoint xsi:type="dc:Point" x="351.0" y="540.0"/>
498         <di:waypoint xsi:type="dc:Point" x="351.0" y="600.0"/>
499         <bpmndi:BPMNLabel>
500           <dc:Bounds height="6.0" width="6.0" x="348.0" y="560.0"/>
501         </bpmndi:BPMNLabel>
502       </bpmndi:BPMNEdge>
503       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_25" bpmnElement="SequenceFlow_22" sourceElement="_BPMNShape_ExclusiveGateway_256" targetElement="_BPMNShape_ScriptTask_237">
504         <di:waypoint xsi:type="dc:Point" x="508.0" y="380.0"/>
505         <di:waypoint xsi:type="dc:Point" x="508.0" y="420.0"/>
506       </bpmndi:BPMNEdge>
507       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_318" bpmnElement="ScriptTask_queryAaiGenricVnf">
508         <dc:Bounds height="75.0" width="97.0" x="612.0" y="112.0"/>
509       </bpmndi:BPMNShape>
510       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_23" bpmnElement="SequenceFlow_5" sourceElement="_BPMNShape_ScriptTask_318" targetElement="_BPMNShape_ScriptTask_235">
511         <di:waypoint xsi:type="dc:Point" x="708.0" y="149.0"/>
512         <di:waypoint xsi:type="dc:Point" x="742.0" y="149.0"/>
513       </bpmndi:BPMNEdge>
514     </bpmndi:BPMNPlane>
515   </bpmndi:BPMNDiagram>
516 </bpmn2:definitions>