Remove unnecessary use of Calendar.getInstance()
[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="Authorization">#{BasicAuthHeaderValueDB}</camunda:entry>
30                 <camunda:entry key="content-type">aapplication/soap+xml</camunda:entry>
31               </camunda:map>
32             </camunda:inputParameter>
33             <camunda:inputParameter name="method">POST</camunda:inputParameter>
34             <camunda:outputParameter name="UPDVfModVol_createDBResponse">${response}</camunda:outputParameter>
35             <camunda:outputParameter name="UPDVfModVol_dbReturnCode">${statusCode}</camunda:outputParameter>
36           </camunda:inputOutput>
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?">
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">#{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" errorCode="MSOWorkflowException" name="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 height="37.0" width="37.0" x="191.0" y="131.0"/>
227         <bpmndi:BPMNLabel>
228           <dc:Bounds height="22.0" width="34.0" x="192.0" y="173.0"/>
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.0" y="149.0"/>
233         <di:waypoint xsi:type="dc:Point" x="268.0" y="149.0"/>
234         <di:waypoint xsi:type="dc:Point" x="268.0" y="150.0"/>
235         <di:waypoint xsi:type="dc:Point" x="295.0" y="150.0"/>
236         <bpmndi:BPMNLabel>
237           <dc:Bounds height="6.0" width="6.0" x="248.0" y="149.0"/>
238         </bpmndi:BPMNLabel>
239       </bpmndi:BPMNEdge>
240       <bpmndi:BPMNShape id="_BPMNShape_CallActivity_42" bpmnElement="CallActivity_callVNFAdapterRest">
241         <dc:Bounds height="80.0" width="100.0" x="591.0" y="420.0"/>
242       </bpmndi:BPMNShape>
243       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_230" bpmnElement="ScriptTask_postProcessTemp">
244         <dc:Bounds height="80.0" width="109.0" x="1318.0" y="420.0"/>
245       </bpmndi:BPMNShape>
246       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_231" bpmnElement="ScriptTask_preProcessRequest">
247         <dc:Bounds height="78.0" width="109.0" x="295.0" y="111.0"/>
248       </bpmndi:BPMNShape>
249       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_232" bpmnElement="ScriptTask_sendSynchResponse">
250         <dc:Bounds height="76.0" width="109.0" x="454.0" y="112.0"/>
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.0" y="150.0"/>
254         <di:waypoint xsi:type="dc:Point" x="454.0" y="150.0"/>
255         <bpmndi:BPMNLabel>
256           <dc:Bounds height="6.0" width="6.0" x="418.0" y="150.0"/>
257         </bpmndi:BPMNLabel>
258       </bpmndi:BPMNEdge>
259       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_233" bpmnElement="ScriptTask_prepDbInfraRequest">
260         <dc:Bounds height="80.0" width="109.0" x="730.0" y="420.0"/>
261       </bpmndi:BPMNShape>
262       <bpmndi:BPMNShape id="_BPMNShape_ServiceTask_101" bpmnElement="ServiceTask_callUpdateInfraDb">
263         <dc:Bounds height="80.0" width="109.0" x="868.0" y="420.0"/>
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.0" y="460.0"/>
267         <di:waypoint xsi:type="dc:Point" x="868.0" y="460.0"/>
268         <bpmndi:BPMNLabel>
269           <dc:Bounds height="6.0" width="6.0" x="853.0" y="491.0"/>
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.0" y="460.0"/>
274         <di:waypoint xsi:type="dc:Point" x="1014.0" y="460.0"/>
275         <bpmndi:BPMNLabel>
276           <dc:Bounds height="6.0" width="6.0" x="959.0" y="497.0"/>
277         </bpmndi:BPMNLabel>
278       </bpmndi:BPMNEdge>
279       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_234" bpmnElement="ScriptTask_prepCompletionHandlerRequest">
280         <dc:Bounds height="80.0" width="109.0" x="1014.0" y="420.0"/>
281       </bpmndi:BPMNShape>
282       <bpmndi:BPMNShape id="_BPMNShape_CallActivity_43" bpmnElement="CallActivity_completionHandler">
283         <dc:Bounds height="61.0" width="109.0" x="1162.0" y="429.0"/>
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.0" y="460.0"/>
287         <di:waypoint xsi:type="dc:Point" x="1162.0" y="459.0"/>
288         <bpmndi:BPMNLabel>
289           <dc:Bounds height="6.0" width="6.0" x="1134.0" y="477.0"/>
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.0" y="459.0"/>
294         <di:waypoint xsi:type="dc:Point" x="1318.0" y="460.0"/>
295         <bpmndi:BPMNLabel>
296           <dc:Bounds height="6.0" width="6.0" x="1216.0" y="521.0"/>
297         </bpmndi:BPMNLabel>
298       </bpmndi:BPMNEdge>
299       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_235" bpmnElement="ScriptTask_queryAAI">
300         <dc:Bounds height="73.0" width="109.0" x="742.0" y="113.0"/>
301       </bpmndi:BPMNShape>
302       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_126" bpmnElement="ExclusiveGateway_isTenantMatch" isMarkerVisible="true">
303         <dc:Bounds height="34.0" width="34.0" x="931.0" y="132.0"/>
304         <bpmndi:BPMNLabel>
305           <dc:Bounds height="22.0" width="102.0" x="898.0" y="113.0"/>
306         </bpmndi:BPMNLabel>
307       </bpmndi:BPMNShape>
308       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_236" bpmnElement="ScriptTask_tenantIdMismatch">
309         <dc:Bounds height="75.0" width="97.0" x="1064.0" y="112.0"/>
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.0" y="149.0"/>
313         <di:waypoint xsi:type="dc:Point" x="931.0" y="149.0"/>
314         <bpmndi:BPMNLabel>
315           <dc:Bounds height="6.0" width="6.0" x="877.0" y="149.0"/>
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.0" y="149.0"/>
320         <di:waypoint xsi:type="dc:Point" x="1064.0" y="149.0"/>
321         <bpmndi:BPMNLabel>
322           <dc:Bounds height="22.0" width="22.0" x="986.0" y="149.0"/>
323         </bpmndi:BPMNLabel>
324       </bpmndi:BPMNEdge>
325       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_169" bpmnElement="EndEvent_2">
326         <dc:Bounds height="49.0" width="49.0" x="1225.0" y="125.0"/>
327         <bpmndi:BPMNLabel>
328           <dc:Bounds height="0.0" width="0.0" x="1249.0" y="179.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.0" y="149.0"/>
333         <di:waypoint xsi:type="dc:Point" x="1225.0" y="149.0"/>
334         <bpmndi:BPMNLabel>
335           <dc:Bounds height="6.0" width="6.0" x="1179.0" y="149.0"/>
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.0" y="166.0"/>
340         <di:waypoint xsi:type="dc:Point" x="948.0" y="244.0"/>
341         <bpmndi:BPMNLabel>
342           <dc:Bounds height="22.0" width="29.0" x="915.0" y="173.0"/>
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.0" y="460.0"/>
347         <di:waypoint xsi:type="dc:Point" x="730.0" y="460.0"/>
348         <bpmndi:BPMNLabel>
349           <dc:Bounds height="6.0" width="6.0" x="712.0" y="531.0"/>
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.0" y="150.0"/>
354         <di:waypoint xsi:type="dc:Point" x="581.0" y="150.0"/>
355         <di:waypoint xsi:type="dc:Point" x="581.0" y="149.0"/>
356         <di:waypoint xsi:type="dc:Point" x="612.0" y="149.0"/>
357         <bpmndi:BPMNLabel>
358           <dc:Bounds height="6.0" width="6.0" x="578.0" y="150.0"/>
359         </bpmndi:BPMNLabel>
360       </bpmndi:BPMNEdge>
361       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_237" bpmnElement="ScriptTask_prepVnfRest">
362         <dc:Bounds height="80.0" width="109.0" x="454.0" y="420.0"/>
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.0" y="460.0"/>
366         <di:waypoint xsi:type="dc:Point" x="591.0" y="460.0"/>
367         <bpmndi:BPMNLabel>
368           <dc:Bounds height="6.0" width="6.0" x="446.0" y="460.0"/>
369         </bpmndi:BPMNLabel>
370       </bpmndi:BPMNEdge>
371       <bpmndi:BPMNShape id="_BPMNShape_SubProcess_18" bpmnElement="SubProcess_errorHandler" isExpanded="true">
372         <dc:Bounds height="187.0" width="781.0" x="250.0" y="786.0"/>
373       </bpmndi:BPMNShape>
374       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_63" bpmnElement="StartEvent_catchAllErrors">
375         <dc:Bounds height="37.0" width="37.0" x="301.0" y="844.0"/>
376         <bpmndi:BPMNLabel>
377           <dc:Bounds height="22.0" width="98.0" x="270.0" y="886.0"/>
378         </bpmndi:BPMNLabel>
379       </bpmndi:BPMNShape>
380       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_238" bpmnElement="ScriptTask_preFalloutHandler">
381         <dc:Bounds height="61.0" width="109.0" x="445.0" y="832.0"/>
382       </bpmndi:BPMNShape>
383       <bpmndi:BPMNShape id="_BPMNShape_CallActivity_44" bpmnElement="CallActivity_falloutHandler">
384         <dc:Bounds height="61.0" width="109.0" x="639.0" y="832.0"/>
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.0" y="862.0"/>
388         <di:waypoint xsi:type="dc:Point" x="639.0" y="862.0"/>
389         <bpmndi:BPMNLabel>
390           <dc:Bounds height="6.0" width="6.0" x="573.0" y="946.0"/>
391         </bpmndi:BPMNLabel>
392       </bpmndi:BPMNEdge>
393       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_170" bpmnElement="EndEvent_3">
394         <dc:Bounds height="37.0" width="37.0" x="862.0" y="844.0"/>
395         <bpmndi:BPMNLabel>
396           <dc:Bounds height="0.0" width="0.0" x="880.0" y="886.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.0" y="862.0"/>
401         <di:waypoint xsi:type="dc:Point" x="862.0" y="862.0"/>
402         <bpmndi:BPMNLabel>
403           <dc:Bounds height="6.0" width="6.0" x="765.0" y="1030.0"/>
404         </bpmndi:BPMNLabel>
405       </bpmndi:BPMNEdge>
406       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_171" bpmnElement="EndEvent_4">
407         <dc:Bounds height="43.0" width="43.0" x="1461.0" y="438.0"/>
408         <bpmndi:BPMNLabel>
409           <dc:Bounds height="22.0" width="50.0" x="1457.0" y="486.0"/>
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.0" y="460.0"/>
414         <di:waypoint xsi:type="dc:Point" x="1461.0" y="459.0"/>
415         <bpmndi:BPMNLabel>
416           <dc:Bounds height="6.0" width="6.0" x="1442.0" y="467.0"/>
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.0" y="862.0"/>
421         <di:waypoint xsi:type="dc:Point" x="445.0" y="862.0"/>
422         <bpmndi:BPMNLabel>
423           <dc:Bounds height="6.0" width="6.0" x="385.0" y="1030.0"/>
424         </bpmndi:BPMNLabel>
425       </bpmndi:BPMNEdge>
426       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_254" bpmnElement="ExclusiveGateway_1" isMarkerVisible="true">
427         <dc:Bounds height="34.0" width="34.0" x="931.0" y="244.0"/>
428         <bpmndi:BPMNLabel>
429           <dc:Bounds height="22.0" width="135.0" x="881.0" y="283.0"/>
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.0" y="261.0"/>
434         <di:waypoint xsi:type="dc:Point" x="634.0" y="261.0"/>
435         <di:waypoint xsi:type="dc:Point" x="634.0" y="262.0"/>
436         <di:waypoint xsi:type="dc:Point" x="405.0" y="262.0"/>
437         <bpmndi:BPMNLabel>
438           <dc:Bounds height="22.0" width="29.0" x="729.0" y="261.0"/>
439         </bpmndi:BPMNLabel>
440       </bpmndi:BPMNEdge>
441       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_313" bpmnElement="ScriptTask_queryAaiForVfModule">
442         <dc:Bounds height="80.0" width="109.0" x="297.0" y="222.0"/>
443       </bpmndi:BPMNShape>
444       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_255" bpmnElement="ExclusiveGateway_personaModelIdMatch" isMarkerVisible="true">
445         <dc:Bounds height="34.0" width="34.0" x="333.0" y="346.0"/>
446         <bpmndi:BPMNLabel>
447           <dc:Bounds height="22.0" width="156.0" x="272.0" y="385.0"/>
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.0" y="302.0"/>
452         <di:waypoint xsi:type="dc:Point" x="350.0" y="329.0"/>
453         <di:waypoint xsi:type="dc:Point" x="350.0" y="346.0"/>
454         <bpmndi:BPMNLabel>
455           <dc:Bounds height="6.0" width="6.0" x="347.0" y="318.0"/>
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.0" y="363.0"/>
460         <di:waypoint xsi:type="dc:Point" x="491.0" y="363.0"/>
461         <bpmndi:BPMNLabel>
462           <dc:Bounds height="22.0" width="29.0" x="398.0" y="363.0"/>
463         </bpmndi:BPMNLabel>
464       </bpmndi:BPMNEdge>
465       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_256" bpmnElement="ExclusiveGateway_2" isMarkerVisible="true">
466         <dc:Bounds height="34.0" width="34.0" x="491.0" y="346.0"/>
467         <bpmndi:BPMNLabel>
468           <dc:Bounds height="0.0" width="0.0" x="508.0" y="385.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.0" y="278.0"/>
473         <di:waypoint xsi:type="dc:Point" x="948.0" y="363.0"/>
474         <di:waypoint xsi:type="dc:Point" x="701.0" y="363.0"/>
475         <di:waypoint xsi:type="dc:Point" x="525.0" y="363.0"/>
476         <bpmndi:BPMNLabel>
477           <dc:Bounds height="22.0" width="22.0" x="795.0" y="363.0"/>
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.0" y="380.0"/>
482         <di:waypoint xsi:type="dc:Point" x="350.0" y="401.0"/>
483         <di:waypoint xsi:type="dc:Point" x="351.0" y="460.0"/>
484         <bpmndi:BPMNLabel>
485           <dc:Bounds height="22.0" width="22.0" x="350.0" y="409.0"/>
486         </bpmndi:BPMNLabel>
487       </bpmndi:BPMNEdge>
488       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_315" bpmnElement="ScriptTask_handlePersonaModelIdMismatch">
489         <dc:Bounds height="80.0" width="109.0" x="297.0" y="460.0"/>
490       </bpmndi:BPMNShape>
491       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_172" bpmnElement="EndEvent_personaModelIdMismatch">
492         <dc:Bounds height="43.0" width="43.0" x="330.0" y="600.0"/>
493         <bpmndi:BPMNLabel>
494           <dc:Bounds height="0.0" width="0.0" x="351.0" y="648.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.0" y="540.0"/>
499         <di:waypoint xsi:type="dc:Point" x="351.0" y="600.0"/>
500         <bpmndi:BPMNLabel>
501           <dc:Bounds height="6.0" width="6.0" x="348.0" y="560.0"/>
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.0" y="380.0"/>
506         <di:waypoint xsi:type="dc:Point" x="508.0" y="420.0"/>
507       </bpmndi:BPMNEdge>
508       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_318" bpmnElement="ScriptTask_queryAaiGenricVnf">
509         <dc:Bounds height="75.0" width="97.0" x="612.0" y="112.0"/>
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.0" y="149.0"/>
513         <di:waypoint xsi:type="dc:Point" x="742.0" y="149.0"/>
514       </bpmndi:BPMNEdge>
515     </bpmndi:BPMNPlane>
516   </bpmndi:BPMNDiagram>
517 </bpmn2:definitions>