[MSO-8] Update the maven dependency
[so.git] / bpmn / MSOInfrastructureBPMN / src / main / resources / process / UpdateNetworkInstanceInfra.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="_MagIIMOUEeW8asg-vCEgWQ" 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="UpdateNetworkInstanceInfra" name="UpdateNetworkInstanceInfra" isExecutable="true">
4     <bpmn2:startEvent id="updateNetwork_startEvent" name="Start Flow">
5       <bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>
6     </bpmn2:startEvent>
7     <bpmn2:sequenceFlow id="SequenceFlow_1" name="" sourceRef="updateNetwork_startEvent" targetRef="preProcessRequest_ScriptTask" />
8     <bpmn2:scriptTask id="prepareSDNCTopoRequest_ScriptTask" name="Prepare SDNC Topology Request" scriptFormat="groovy">
9       <bpmn2:incoming>SequenceFlow_32</bpmn2:incoming>
10       <bpmn2:outgoing>SequenceFlow_11</bpmn2:outgoing>
11       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
12 def UpdateNetworkInstanceInfra = new UpdateNetworkInstanceInfra()
13 UpdateNetworkInstanceInfra.prepareSDNCRequest(execution)
14 ]]></bpmn2:script>
15     </bpmn2:scriptTask>
16     <bpmn2:sequenceFlow id="SequenceFlow_11" name="" sourceRef="prepareSDNCTopoRequest_ScriptTask" targetRef="callAssignSDNCAdapter_CallActivity" />
17     <bpmn2:scriptTask id="validateSDNCResponse_ScriptTask" name="Validate SDNC Response" scriptFormat="groovy">
18       <bpmn2:incoming>SequenceFlow_12</bpmn2:incoming>
19       <bpmn2:outgoing>SequenceFlow_5</bpmn2:outgoing>
20       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
21 def UpdateNetworkInstanceInfra = new UpdateNetworkInstanceInfra()
22 UpdateNetworkInstanceInfra.validateSDNCResponse(execution)]]></bpmn2:script>
23     </bpmn2:scriptTask>
24     <bpmn2:exclusiveGateway id="isSdncTopoOk_ExclusiveGateway" name="Is SDNC Ok?" default="sdncTopoNo_SequenceFlow">
25       <bpmn2:incoming>SequenceFlow_5</bpmn2:incoming>
26       <bpmn2:outgoing>sdncTopoNo_SequenceFlow</bpmn2:outgoing>
27       <bpmn2:outgoing>sdncTopoYes_SequenceFlow</bpmn2:outgoing>
28     </bpmn2:exclusiveGateway>
29     <bpmn2:sequenceFlow id="sdncTopoNo_SequenceFlow" name="No" sourceRef="isSdncTopoOk_ExclusiveGateway" targetRef="sndcError_EndEvent" />
30     <bpmn2:sequenceFlow id="sdncTopoYes_SequenceFlow" name="Yes" sourceRef="isSdncTopoOk_ExclusiveGateway" targetRef="callRESTReQuery1NetworkID_ScriptTask">
31       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("UPDNETI_sdncResponseSuccess" ) == true}]]></bpmn2:conditionExpression>
32     </bpmn2:sequenceFlow>
33     <bpmn2:sequenceFlow id="SequenceFlow_5" name="" sourceRef="validateSDNCResponse_ScriptTask" targetRef="isSdncTopoOk_ExclusiveGateway" />
34     <bpmn2:boundaryEvent id="BoundaryEvent_4" name="" attachedToRef="validateSDNCResponse_ScriptTask">
35       <bpmn2:outgoing>SequenceFlow_34</bpmn2:outgoing>
36       <bpmn2:errorEventDefinition id="_ErrorEventDefinition_84" errorRef="Error_2" />
37     </bpmn2:boundaryEvent>
38     <bpmn2:sequenceFlow id="SequenceFlow_34" name="" sourceRef="BoundaryEvent_4" targetRef="sndcError_EndEvent" />
39     <bpmn2:endEvent id="sndcError_EndEvent" name="SNDC Error">
40       <bpmn2:incoming>sdncTopoNo_SequenceFlow</bpmn2:incoming>
41       <bpmn2:incoming>SequenceFlow_34</bpmn2:incoming>
42       <bpmn2:errorEventDefinition id="_ErrorEventDefinition_57" errorRef="Error_2" />
43     </bpmn2:endEvent>
44     <bpmn2:callActivity id="callRollbackSDNCAdapter_CallActivity" name="Call Rollback SDNC Adapter" isForCompensation="true" calledElement="sdncAdapter">
45       <bpmn2:extensionElements>
46         <camunda:in source="UPDNETI_rollbackSDNCRequest" target="sdncAdapterWorkflowRequest" />
47         <camunda:in source="mso-request-id" target="mso-request-id" />
48         <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
49         <camunda:out source="SDNCA_ResponseCode" target="UPDNETI_rollbackSDNCReturnCode" />
50         <camunda:out source="sdncAdapterResponse" target="UPDNETI_rollbackSDNCResponse" />
51       </bpmn2:extensionElements>
52     </bpmn2:callActivity>
53     <bpmn2:boundaryEvent id="sndcCompensation_BoundaryEvent" attachedToRef="callAssignSDNCAdapter_CallActivity">
54       <bpmn2:compensateEventDefinition id="CompensateEventDefinition_1" waitForCompletion="true" />
55     </bpmn2:boundaryEvent>
56     <bpmn2:callActivity id="callAssignSDNCAdapter_CallActivity" name="Call SDNC Assign Adapter V1 Sub-process" calledElement="sdncAdapter">
57       <bpmn2:extensionElements>
58         <camunda:in source="UPDNETI_changeAssignSDNCRequest" target="sdncAdapterWorkflowRequest" />
59         <camunda:out source="sdncAdapterResponse" target="UPDNETI_changeAssignSDNCResponse" />
60         <camunda:out source="SDNCA_ResponseCode" target="UPDNETI_sdncReturnCode" />
61         <camunda:in source="mso-request-id" target="mso-request-id" />
62         <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
63         <camunda:out source="WorkflowException" target="UPDNETI_WorkflowException" />
64         <camunda:out source="SDNCA_SuccessIndicator" target="SDNCA_SuccessIndicator" />
65         <camunda:in variables="all" />
66       </bpmn2:extensionElements>
67       <bpmn2:incoming>SequenceFlow_11</bpmn2:incoming>
68       <bpmn2:outgoing>SequenceFlow_12</bpmn2:outgoing>
69     </bpmn2:callActivity>
70     <bpmn2:sequenceFlow id="SequenceFlow_12" name="" sourceRef="callAssignSDNCAdapter_CallActivity" targetRef="validateSDNCResponse_ScriptTask" />
71     <bpmn2:scriptTask id="postProcessAndCompletionRequest_ScriptTask" name="Post Process &#38; Completion Request" scriptFormat="groovy">
72       <bpmn2:incoming>SequenceFlow_27</bpmn2:incoming>
73       <bpmn2:outgoing>SequenceFlow_29</bpmn2:outgoing>
74       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
75 def UpdateNetworkInstanceInfra = new UpdateNetworkInstanceInfra()
76 UpdateNetworkInstanceInfra.postProcessResponse(execution)]]></bpmn2:script>
77     </bpmn2:scriptTask>
78     <bpmn2:sequenceFlow id="SequenceFlow_29" name="" sourceRef="postProcessAndCompletionRequest_ScriptTask" targetRef="callCompleteMsoProcess_CallActivity" />
79     <bpmn2:subProcess id="subProcessException_SubProcess" name="Subprocess For Exception / FalloutHandler " triggeredByEvent="true">
80       <bpmn2:exclusiveGateway id="isRollbackOn_Network_ExclusiveGateway" name="Is Rollback On?" default="isRollbackOn_NoNetwork_SequenceFlow">
81         <bpmn2:incoming>SequenceFlow_23</bpmn2:incoming>
82         <bpmn2:outgoing>isRollbackOn_YesNetwork_SequenceFlow</bpmn2:outgoing>
83         <bpmn2:outgoing>isRollbackOn_NoNetwork_SequenceFlow</bpmn2:outgoing>
84       </bpmn2:exclusiveGateway>
85       <bpmn2:sequenceFlow id="isRollbackOn_YesNetwork_SequenceFlow" name="Yes" sourceRef="isRollbackOn_Network_ExclusiveGateway" targetRef="isPONR_ExclusiveGateway">
86         <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("UPDNETI_rollbackEnabled") == true}]]></bpmn2:conditionExpression>
87       </bpmn2:sequenceFlow>
88       <bpmn2:sequenceFlow id="isRollbackOn_NoNetwork_SequenceFlow" name="No" sourceRef="isRollbackOn_Network_ExclusiveGateway" targetRef="InclusiveGateway_6" />
89       <bpmn2:startEvent id="subProcessStart_StartEvent" name="Fault Start">
90         <bpmn2:outgoing>SequenceFlow_23</bpmn2:outgoing>
91         <bpmn2:errorEventDefinition id="ErrorEventDefinition_1" errorRef="Error_2" />
92       </bpmn2:startEvent>
93       <bpmn2:sequenceFlow id="SequenceFlow_23" name="" sourceRef="subProcessStart_StartEvent" targetRef="isRollbackOn_Network_ExclusiveGateway" />
94       <bpmn2:exclusiveGateway id="isPONR_ExclusiveGateway" name="isPONR?" default="isPONR_No_SequenceFlow">
95         <bpmn2:incoming>isRollbackOn_YesNetwork_SequenceFlow</bpmn2:incoming>
96         <bpmn2:outgoing>isPONR_Yes_SequenceFlow</bpmn2:outgoing>
97         <bpmn2:outgoing>isPONR_No_SequenceFlow</bpmn2:outgoing>
98       </bpmn2:exclusiveGateway>
99       <bpmn2:sequenceFlow id="isPONR_Yes_SequenceFlow" name="Yes" sourceRef="isPONR_ExclusiveGateway" targetRef="InclusiveGateway_6">
100         <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("UPDNETI_isPONR") == true}]]></bpmn2:conditionExpression>
101       </bpmn2:sequenceFlow>
102       <bpmn2:sequenceFlow id="isPONR_No_SequenceFlow" name="No" sourceRef="isPONR_ExclusiveGateway" targetRef="isNetworkOk_ExclusiveGateway" />
103       <bpmn2:exclusiveGateway id="isNetworkOk_ExclusiveGateway" name="is Network Ok?" default="isNetworkOk_No_SequenceFlow">
104         <bpmn2:incoming>isPONR_No_SequenceFlow</bpmn2:incoming>
105         <bpmn2:outgoing>isNetworkOk_No_SequenceFlow</bpmn2:outgoing>
106         <bpmn2:outgoing>isNetworkOk_Yes_SequenceFlow</bpmn2:outgoing>
107       </bpmn2:exclusiveGateway>
108       <bpmn2:sequenceFlow id="isNetworkOk_No_SequenceFlow" name="No" sourceRef="isNetworkOk_ExclusiveGateway" targetRef="sdncOk_ExclusiveGateway" />
109       <bpmn2:sequenceFlow id="isNetworkOk_Yes_SequenceFlow" name="Yes" sourceRef="isNetworkOk_ExclusiveGateway" targetRef="sdncOk_ExclusiveGateway">
110         <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("UPDNETI_isNetworkRollbackNeeded") == true}]]></bpmn2:conditionExpression>
111       </bpmn2:sequenceFlow>
112       <bpmn2:exclusiveGateway id="sdncOk_ExclusiveGateway" name="is Sdnc Ok?" default="sdncOk_No_ExclusiveGateway">
113         <bpmn2:incoming>isNetworkOk_No_SequenceFlow</bpmn2:incoming>
114         <bpmn2:incoming>isNetworkOk_Yes_SequenceFlow</bpmn2:incoming>
115         <bpmn2:outgoing>sdncOk_Yeso_ExclusiveGateway</bpmn2:outgoing>
116         <bpmn2:outgoing>sdncOk_No_ExclusiveGateway</bpmn2:outgoing>
117       </bpmn2:exclusiveGateway>
118       <bpmn2:sequenceFlow id="sdncOk_Yeso_ExclusiveGateway" name="Yes" sourceRef="sdncOk_ExclusiveGateway" targetRef="prepareSDNCRollbackRequest_ScriptTask">
119         <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("UPDNETI_isSdncRollbackNeeded" ) == true}]]></bpmn2:conditionExpression>
120       </bpmn2:sequenceFlow>
121       <bpmn2:sequenceFlow id="sdncOk_No_ExclusiveGateway" name="No" sourceRef="sdncOk_ExclusiveGateway" targetRef="validateRollbacksResponse_ScriptTask_2" />
122       <bpmn2:scriptTask id="prepareSDNCRollbackRequest_ScriptTask" name="Prepare SDNCRollback Request" scriptFormat="groovy">
123         <bpmn2:incoming>sdncOk_Yeso_ExclusiveGateway</bpmn2:incoming>
124         <bpmn2:outgoing>SequenceFlow_53</bpmn2:outgoing>
125         <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
126 def UpdateNetworkInstanceInfra = new UpdateNetworkInstanceInfra()
127 UpdateNetworkInstanceInfra.prepareSDNCRollbackRequest(execution)]]></bpmn2:script>
128       </bpmn2:scriptTask>
129       <bpmn2:sequenceFlow id="SequenceFlow_53" name="" sourceRef="prepareSDNCRollbackRequest_ScriptTask" targetRef="sdncTopoRollback_IntermediateThrowEvent" />
130       <bpmn2:intermediateThrowEvent id="sdncTopoRollback_IntermediateThrowEvent" name="SDNC Rollback">
131         <bpmn2:incoming>SequenceFlow_53</bpmn2:incoming>
132         <bpmn2:outgoing>SequenceFlow_55</bpmn2:outgoing>
133         <bpmn2:compensateEventDefinition id="sndc_CompensateEventDefinition" waitForCompletion="true" activityRef="callRollbackSDNCAdapter_CallActivity" />
134       </bpmn2:intermediateThrowEvent>
135       <bpmn2:sequenceFlow id="SequenceFlow_55" name="" sourceRef="sdncTopoRollback_IntermediateThrowEvent" targetRef="validateRollbacksResponse_ScriptTask_2" />
136       <bpmn2:scriptTask id="prepareDBInfraErrorRequest_ScriptTask" name="Prepare DB Infra Error" scriptFormat="groovy">
137         <bpmn2:incoming>SequenceFlow_47</bpmn2:incoming>
138         <bpmn2:outgoing>SequenceFlow_22</bpmn2:outgoing>
139         <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
140 def UpdateNetworkInstanceInfra = new UpdateNetworkInstanceInfra()
141 UpdateNetworkInstanceInfra.prepareDBRequestError(execution)]]></bpmn2:script>
142       </bpmn2:scriptTask>
143       <bpmn2:sequenceFlow id="SequenceFlow_22" name="" sourceRef="prepareDBInfraErrorRequest_ScriptTask" targetRef="callDBInfraErrorUpdate_ServiceTask_1" />
144       <bpmn2:serviceTask id="callDBInfraErrorUpdate_ServiceTask_1" name="Call DB Infra Error Update">
145         <bpmn2:extensionElements>
146           <camunda:connector>
147             <camunda:inputOutput>
148               <camunda:inputParameter name="url">${URN_mso_adapters_db_endpoint}</camunda:inputParameter>
149               <camunda:inputParameter name="payload">${UPDNETI_updateDBRequest}</camunda:inputParameter>
150               <camunda:inputParameter name="headers">
151                 <camunda:map>
152                         <camunda:entry key="Authorization">#{BasicAuthHeaderValueDB}</camunda:entry>
153                   <camunda:entry key="content-type">application/soap+xml</camunda:entry>
154                 </camunda:map>
155               </camunda:inputParameter>
156               <camunda:inputParameter name="method">POST</camunda:inputParameter>
157               <camunda:outputParameter name="UPDNETI_updateDBResponse">${response}</camunda:outputParameter>
158               <camunda:outputParameter name="UPDNETI_dbReturnCode">${statusCode}</camunda:outputParameter>
159             </camunda:inputOutput>
160             <camunda:connectorId>http-connector</camunda:connectorId>
161           </camunda:connector>
162         </bpmn2:extensionElements>
163         <bpmn2:incoming>SequenceFlow_22</bpmn2:incoming>
164         <bpmn2:outgoing>SequenceFlow_19</bpmn2:outgoing>
165       </bpmn2:serviceTask>
166       <bpmn2:sequenceFlow id="SequenceFlow_19" name="" sourceRef="callDBInfraErrorUpdate_ServiceTask_1" targetRef="prepareFalloutHandler_ScriptTask" />
167       <bpmn2:callActivity id="faultHandler_CallActivity" name="Call FalloutHandlerV1" calledElement="FalloutHandler">
168         <bpmn2:extensionElements>
169           <camunda:in variables="all" />
170           <camunda:out variables="all" />
171           <camunda:in source="UPDNETI_FalloutHandlerRequest" target="FalloutHandlerRequest" />
172           <camunda:in source="mso-request-id" target="mso-request-id" />
173           <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
174           <camunda:out source="FH_ResponseCode" target="FH_ResponseCode" />
175           <camunda:out source="FalloutHandlerResponse" target="FalloutHandlerResponse" />
176           <camunda:out source="FH_ErrorResponse" target="FH_ErrorResponse" />
177         </bpmn2:extensionElements>
178         <bpmn2:incoming>SequenceFlow_25</bpmn2:incoming>
179         <bpmn2:outgoing>SequenceFlow_18</bpmn2:outgoing>
180       </bpmn2:callActivity>
181       <bpmn2:sequenceFlow id="SequenceFlow_18" name="" sourceRef="faultHandler_CallActivity" targetRef="EndEvent_4" />
182       <bpmn2:endEvent id="EndEvent_4">
183         <bpmn2:incoming>SequenceFlow_18</bpmn2:incoming>
184       </bpmn2:endEvent>
185       <bpmn2:scriptTask id="validateRollbacksResponse_ScriptTask_2" name="Validate Rollback Responses" scriptFormat="groovy">
186         <bpmn2:incoming>SequenceFlow_55</bpmn2:incoming>
187         <bpmn2:incoming>sdncOk_No_ExclusiveGateway</bpmn2:incoming>
188         <bpmn2:outgoing>SequenceFlow_4</bpmn2:outgoing>
189         <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
190 def UpdateNetworkInstanceInfra = new UpdateNetworkInstanceInfra()
191 UpdateNetworkInstanceInfra.validateRollbackResponses(execution)]]></bpmn2:script>
192       </bpmn2:scriptTask>
193       <bpmn2:sequenceFlow id="SequenceFlow_4" name="" sourceRef="validateRollbacksResponse_ScriptTask_2" targetRef="InclusiveGateway_6" />
194       <bpmn2:inclusiveGateway id="InclusiveGateway_6">
195         <bpmn2:incoming>isRollbackOn_NoNetwork_SequenceFlow</bpmn2:incoming>
196         <bpmn2:incoming>isPONR_Yes_SequenceFlow</bpmn2:incoming>
197         <bpmn2:incoming>SequenceFlow_4</bpmn2:incoming>
198         <bpmn2:outgoing>SequenceFlow_47</bpmn2:outgoing>
199       </bpmn2:inclusiveGateway>
200       <bpmn2:sequenceFlow id="SequenceFlow_47" name="" sourceRef="InclusiveGateway_6" targetRef="prepareDBInfraErrorRequest_ScriptTask" />
201       <bpmn2:scriptTask id="prepareFalloutHandler_ScriptTask" name="Prepare FalloutHandler" scriptFormat="groovy">
202         <bpmn2:incoming>SequenceFlow_19</bpmn2:incoming>
203         <bpmn2:outgoing>SequenceFlow_25</bpmn2:outgoing>
204         <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
205 def buildErrorResponse = new UpdateNetworkInstanceInfra()
206 buildErrorResponse.buildErrorResponse(execution)
207 ]]></bpmn2:script>
208       </bpmn2:scriptTask>
209       <bpmn2:sequenceFlow id="SequenceFlow_25" name="" sourceRef="prepareFalloutHandler_ScriptTask" targetRef="faultHandler_CallActivity" />
210     </bpmn2:subProcess>
211     <bpmn2:scriptTask id="callRESTReQuery2NetworkID_ScriptTask" name="Call REST ReQuery2 Network Id in AAI" scriptFormat="groovy">
212       <bpmn2:incoming>SequenceFlow_13</bpmn2:incoming>
213       <bpmn2:outgoing>SequenceFlow_35</bpmn2:outgoing>
214       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
215 def UpdateNetworkInstanceInfra = new UpdateNetworkInstanceInfra()
216 UpdateNetworkInstanceInfra.callRESTReQueryAAINetworkId(execution)]]></bpmn2:script>
217     </bpmn2:scriptTask>
218     <bpmn2:sequenceFlow id="SequenceFlow_35" name="" sourceRef="callRESTReQuery2NetworkID_ScriptTask" targetRef="callRESTUpdateContrailNetwork_ScriptTask" />
219     <bpmn2:scriptTask id="callRESTUpdateContrailNetwork_ScriptTask" name="Call REST Update Contrail Network in AAI" scriptFormat="groovy">
220       <bpmn2:incoming>SequenceFlow_35</bpmn2:incoming>
221       <bpmn2:outgoing>SequenceFlow_46</bpmn2:outgoing>
222       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
223 def UpdateNetworkInstanceInfra = new UpdateNetworkInstanceInfra()
224 UpdateNetworkInstanceInfra.callRESTUpdateContrailAAINetwork(execution)]]></bpmn2:script>
225     </bpmn2:scriptTask>
226     <bpmn2:sequenceFlow id="SequenceFlow_46" name="PONR" sourceRef="callRESTUpdateContrailNetwork_ScriptTask" targetRef="prepareDBInfraRequest_ScriptTask" />
227     <bpmn2:scriptTask id="prepareDBInfraRequest_ScriptTask" name="Prepare DB Infra Request" scriptFormat="groovy">
228       <bpmn2:incoming>SequenceFlow_46</bpmn2:incoming>
229       <bpmn2:outgoing>SequenceFlow_37</bpmn2:outgoing>
230       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
231 def UpdateNetworkInstanceInfra = new UpdateNetworkInstanceInfra()
232 UpdateNetworkInstanceInfra.prepareDBRequest(execution)
233
234 ]]></bpmn2:script>
235     </bpmn2:scriptTask>
236     <bpmn2:sequenceFlow id="SequenceFlow_37" name="" sourceRef="prepareDBInfraRequest_ScriptTask" targetRef="callDBInfra_ServiceTask" />
237     <bpmn2:serviceTask id="callDBInfra_ServiceTask" name="Call DB Infra Update">
238       <bpmn2:extensionElements>
239         <camunda:connector>
240           <camunda:inputOutput>
241             <camunda:inputParameter name="url">${URN_mso_adapters_db_endpoint}</camunda:inputParameter>
242             <camunda:inputParameter name="payload">${UPDNETI_updateDBRequest}</camunda:inputParameter>
243             <camunda:inputParameter name="headers">
244               <camunda:map>
245                 <camunda:entry key="Authorization">#{BasicAuthHeaderValueDB}</camunda:entry>
246                 <camunda:entry key="content-type">application/soap+xml</camunda:entry>
247               </camunda:map>
248             </camunda:inputParameter>
249             <camunda:inputParameter name="method">POST</camunda:inputParameter>
250             <camunda:outputParameter name="UPDNETI_createDBResponse">${response}</camunda:outputParameter>
251             <camunda:outputParameter name="UPDNETI_dbReturnCode">${statusCode}</camunda:outputParameter>
252           </camunda:inputOutput>
253           <camunda:connectorId>http-connector</camunda:connectorId>
254         </camunda:connector>
255       </bpmn2:extensionElements>
256       <bpmn2:incoming>SequenceFlow_37</bpmn2:incoming>
257       <bpmn2:outgoing>SequenceFlow_27</bpmn2:outgoing>
258     </bpmn2:serviceTask>
259     <bpmn2:sequenceFlow id="SequenceFlow_27" name="" sourceRef="callDBInfra_ServiceTask" targetRef="postProcessAndCompletionRequest_ScriptTask" />
260     <bpmn2:callActivity id="callCompleteMsoProcess_CallActivity" name="Call CompleteMsoProcess" calledElement="CompleteMsoProcess">
261       <bpmn2:extensionElements>
262         <camunda:in variables="all" />
263         <camunda:out variables="all" />
264         <camunda:in source="UPDNETI_CompleteMsoProcessRequest" target="CompleteMsoProcessRequest" />
265         <camunda:in source="mso-request-id" target="mso-request-id" />
266         <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
267         <camunda:out source="CMSO_ResponseCode" target="CMSO_ResponseCode" />
268         <camunda:out source="CompleteMsoProcessResponse" target="CompleteMsoProcessResponse" />
269         <camunda:out source="CMSO_ErrorResponse" target="CMSO_ErrorResponse" />
270       </bpmn2:extensionElements>
271       <bpmn2:incoming>SequenceFlow_29</bpmn2:incoming>
272       <bpmn2:outgoing>SequenceFlow_17</bpmn2:outgoing>
273     </bpmn2:callActivity>
274     <bpmn2:sequenceFlow id="SequenceFlow_17" name="" sourceRef="callCompleteMsoProcess_CallActivity" targetRef="EndEvent_3" />
275     <bpmn2:endEvent id="EndEvent_3">
276       <bpmn2:incoming>SequenceFlow_17</bpmn2:incoming>
277     </bpmn2:endEvent>
278     <bpmn2:subProcess id="unexpectedErrors_SubProcess" name="Sub-process for UnexpectedErrors" triggeredByEvent="true">
279       <bpmn2:scriptTask id="ScriptTask_1" name="Log / Print Unexpected Error" scriptFormat="groovy">
280         <bpmn2:incoming>SequenceFlow_10</bpmn2:incoming>
281         <bpmn2:outgoing>SequenceFlow_14</bpmn2:outgoing>
282         <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
283 def UpdateNetworkInstanceInfra = new UpdateNetworkInstanceInfra()
284 UpdateNetworkInstanceInfra.processJavaException(execution)]]></bpmn2:script>
285       </bpmn2:scriptTask>
286       <bpmn2:sequenceFlow id="SequenceFlow_14" name="" sourceRef="ScriptTask_1" targetRef="EndEvent_1" />
287       <bpmn2:startEvent id="StartEvent_1">
288         <bpmn2:outgoing>SequenceFlow_10</bpmn2:outgoing>
289         <bpmn2:errorEventDefinition id="ErrorEventDefinition_2" errorRef="Error_1" />
290       </bpmn2:startEvent>
291       <bpmn2:sequenceFlow id="SequenceFlow_10" name="" sourceRef="StartEvent_1" targetRef="ScriptTask_1" />
292       <bpmn2:endEvent id="EndEvent_1">
293         <bpmn2:incoming>SequenceFlow_14</bpmn2:incoming>
294       </bpmn2:endEvent>
295     </bpmn2:subProcess>
296     <bpmn2:scriptTask id="preProcessRequest_ScriptTask" name="PreProcess Incoming Request" scriptFormat="groovy">
297       <bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>
298       <bpmn2:outgoing>SequenceFlow_7</bpmn2:outgoing>
299       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
300 def UpdateNetworkInstanceInfra = new UpdateNetworkInstanceInfra()
301 UpdateNetworkInstanceInfra.preProcessRequest(execution)
302 ]]></bpmn2:script>
303     </bpmn2:scriptTask>
304     <bpmn2:sequenceFlow id="SequenceFlow_7" name="" sourceRef="preProcessRequest_ScriptTask" targetRef="sendSyncAckResponse_ScriptTask" />
305     <bpmn2:scriptTask id="callRESTQueryCloudRegion_ScriptTask" name="Call REST Query Cloud Region " scriptFormat="groovy">
306       <bpmn2:incoming>SequenceFlow_24</bpmn2:incoming>
307       <bpmn2:outgoing>SequenceFlow_32</bpmn2:outgoing>
308       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
309 def UpdateNetworkInstanceInfra = new UpdateNetworkInstanceInfra()
310 UpdateNetworkInstanceInfra.callRESTQueryAAICloudRegion(execution)]]></bpmn2:script>
311     </bpmn2:scriptTask>
312     <bpmn2:sequenceFlow id="SequenceFlow_32" name="" sourceRef="callRESTQueryCloudRegion_ScriptTask" targetRef="prepareSDNCTopoRequest_ScriptTask" />
313     <bpmn2:scriptTask id="callRESTQueryNetworkId_ScriptTask" name="Call REST Query Network Id In AAI" scriptFormat="groovy">
314       <bpmn2:incoming>siFoundYes</bpmn2:incoming>
315       <bpmn2:outgoing>SequenceFlow_24</bpmn2:outgoing>
316       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
317 def UpdateNetworkInstanceInfra = new UpdateNetworkInstanceInfra()
318 UpdateNetworkInstanceInfra.callRESTQueryAAINetworkId(execution)]]></bpmn2:script>
319     </bpmn2:scriptTask>
320     <bpmn2:sequenceFlow id="SequenceFlow_24" name="" sourceRef="callRESTQueryNetworkId_ScriptTask" targetRef="callRESTQueryCloudRegion_ScriptTask" />
321     <bpmn2:endEvent id="EndEvent_2">
322       <bpmn2:incoming>SequenceFlow_30</bpmn2:incoming>
323       <bpmn2:errorEventDefinition id="_ErrorEventDefinition_97" errorRef="Error_2" />
324     </bpmn2:endEvent>
325     <bpmn2:scriptTask id="workflowExceptionSINotFound" name="Create Workflow Exception" scriptFormat="groovy">
326       <bpmn2:incoming>siFoundNo</bpmn2:incoming>
327       <bpmn2:outgoing>SequenceFlow_30</bpmn2:outgoing>
328       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
329 ExceptionUtil exceptionUtil = new ExceptionUtil()
330 exceptionUtil.buildWorkflowException(execution, 404, "Service Instance Not Found")]]></bpmn2:script>
331     </bpmn2:scriptTask>
332     <bpmn2:sequenceFlow id="SequenceFlow_30" name="" sourceRef="workflowExceptionSINotFound" targetRef="EndEvent_2" />
333     <bpmn2:exclusiveGateway id="siFoundCheck" name="is SI Found?" default="siFoundNo">
334       <bpmn2:incoming>SequenceFlow_3</bpmn2:incoming>
335       <bpmn2:outgoing>siFoundYes</bpmn2:outgoing>
336       <bpmn2:outgoing>siFoundNo</bpmn2:outgoing>
337     </bpmn2:exclusiveGateway>
338     <bpmn2:sequenceFlow id="siFoundYes" name="Yes" sourceRef="siFoundCheck" targetRef="callRESTQueryNetworkId_ScriptTask">
339       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("GENGSI_FoundIndicator" ) == true && execution.getVariable("GENGSI_SuccessIndicator" ) == true}]]></bpmn2:conditionExpression>
340     </bpmn2:sequenceFlow>
341     <bpmn2:sequenceFlow id="siFoundNo" name="No" sourceRef="siFoundCheck" targetRef="workflowExceptionSINotFound" />
342     <bpmn2:callActivity id="callGetServiceInstance" name="Get\r&#10;Service\r&#10;Instance" calledElement="GenericGetService">
343       <bpmn2:extensionElements>
344         <camunda:in source="UPDNETI_serviceInstanceId" target="GENGS_serviceInstanceId" />
345         <camunda:out source="GENGS_serviceInstance" target="UPDNETI_serviceInstanceId" />
346         <camunda:out source="GENGS_FoundIndicator" target="GENGSI_FoundIndicator" />
347         <camunda:out source="GENGS_SuccessIndicator" target="GENGSI_SuccessIndicator" />
348         <camunda:out source="GENGS_siResourceLink" target="GENGSI_siResourceLink" />
349         <camunda:out source="WorkflowException" target="WorkflowException" />
350         <camunda:in source="GENGS_type" target="GENGS_type" />
351       </bpmn2:extensionElements>
352       <bpmn2:incoming>SequenceFlow_28</bpmn2:incoming>
353       <bpmn2:outgoing>SequenceFlow_3</bpmn2:outgoing>
354     </bpmn2:callActivity>
355     <bpmn2:sequenceFlow id="SequenceFlow_3" name="" sourceRef="callGetServiceInstance" targetRef="siFoundCheck" />
356     <bpmn2:scriptTask id="sendSyncAckResponse_ScriptTask" name="Send Sync Ack Response" scriptFormat="groovy">
357       <bpmn2:incoming>SequenceFlow_7</bpmn2:incoming>
358       <bpmn2:outgoing>SequenceFlow_28</bpmn2:outgoing>
359       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
360 def UpdateNetworkInstanceInfra = new  UpdateNetworkInstanceInfra()
361 UpdateNetworkInstanceInfra.sendSyncResponse(execution)]]></bpmn2:script>
362     </bpmn2:scriptTask>
363     <bpmn2:sequenceFlow id="SequenceFlow_28" name="" sourceRef="sendSyncAckResponse_ScriptTask" targetRef="callGetServiceInstance" />
364     <bpmn2:scriptTask id="validateUpdatePONetwork_ScriptTask" name="Validate Update PO Network" scriptFormat="groovy">
365       <bpmn2:incoming>SequenceFlow_59</bpmn2:incoming>
366       <bpmn2:outgoing>SequenceFlow_13</bpmn2:outgoing>
367       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
368 def UpdateNetworkInstanceInfra = new UpdateNetworkInstanceInfra()
369 UpdateNetworkInstanceInfra.validateUpdateNetworkResponse(execution)]]></bpmn2:script>
370     </bpmn2:scriptTask>
371     <bpmn2:sequenceFlow id="SequenceFlow_13" name="" sourceRef="validateUpdatePONetwork_ScriptTask" targetRef="callRESTReQuery2NetworkID_ScriptTask" />
372     <bpmn2:serviceTask id="callUpdateNetwork_ServiceTask" name="Call Update Network">
373       <bpmn2:extensionElements>
374         <camunda:connector>
375           <camunda:inputOutput>
376             <camunda:inputParameter name="payload">${UPDNETI_updateNetworkRequest}</camunda:inputParameter>
377             <camunda:inputParameter name="url">${URN_mso_adapters_network_rest_endpoint}/${UPDNETI_networkId}</camunda:inputParameter>
378             <camunda:inputParameter name="headers">
379               <camunda:map>
380                 <camunda:entry key="Authorization">#{BasicAuthHeaderValuePO}</camunda:entry>
381                 <camunda:entry key="content-type">application/xml</camunda:entry>
382               </camunda:map>
383             </camunda:inputParameter>
384             <camunda:inputParameter name="method">PUT</camunda:inputParameter>
385             <camunda:outputParameter name="UPDNETI_networkReturnCode">${statusCode}</camunda:outputParameter>
386             <camunda:outputParameter name="UPDNETI_updateNetworkResponse">${response}</camunda:outputParameter>
387           </camunda:inputOutput>
388           <camunda:connectorId>http-connector</camunda:connectorId>
389         </camunda:connector>
390       </bpmn2:extensionElements>
391       <bpmn2:incoming>SequenceFlow_61</bpmn2:incoming>
392       <bpmn2:outgoing>SequenceFlow_59</bpmn2:outgoing>
393     </bpmn2:serviceTask>
394     <bpmn2:sequenceFlow id="SequenceFlow_59" name="" sourceRef="callUpdateNetwork_ServiceTask" targetRef="validateUpdatePONetwork_ScriptTask" />
395     <bpmn2:scriptTask id="prepareNetworkRequest_ScriptTask" name="Prepare Create Network Request" scriptFormat="groovy">
396       <bpmn2:incoming>SequenceFlow_2</bpmn2:incoming>
397       <bpmn2:outgoing>SequenceFlow_61</bpmn2:outgoing>
398       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
399 def UpdateNetworkInstanceInfra = new UpdateNetworkInstanceInfra()
400 UpdateNetworkInstanceInfra.prepareUpdateNetworkRequest(execution)
401 ]]></bpmn2:script>
402     </bpmn2:scriptTask>
403     <bpmn2:sequenceFlow id="SequenceFlow_61" name="" sourceRef="prepareNetworkRequest_ScriptTask" targetRef="callUpdateNetwork_ServiceTask" />
404     <bpmn2:scriptTask id="callRESTQueryNetworkTableRef_ScriptTask" name="Call REST Query Network TableRef in AAI" scriptFormat="groovy">
405       <bpmn2:incoming>SequenceFlow_38</bpmn2:incoming>
406       <bpmn2:outgoing>SequenceFlow_2</bpmn2:outgoing>
407       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
408 def UpdateNetworkInstanceInfra = new UpdateNetworkInstanceInfra()
409 UpdateNetworkInstanceInfra.callRESTQueryAAINetworkTableRef(execution)]]></bpmn2:script>
410     </bpmn2:scriptTask>
411     <bpmn2:sequenceFlow id="SequenceFlow_2" name="" sourceRef="callRESTQueryNetworkTableRef_ScriptTask" targetRef="prepareNetworkRequest_ScriptTask" />
412     <bpmn2:scriptTask id="callRESTReQuery1NetworkID_ScriptTask" name="Call REST ReQuery1 Network Id in AAI" scriptFormat="groovy">
413       <bpmn2:incoming>sdncTopoYes_SequenceFlow</bpmn2:incoming>
414       <bpmn2:outgoing>SequenceFlow_6</bpmn2:outgoing>
415       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
416 def UpdateNetworkInstanceInfra = new UpdateNetworkInstanceInfra()
417 UpdateNetworkInstanceInfra.callRESTReQueryAAINetworkId(execution)]]></bpmn2:script>
418     </bpmn2:scriptTask>
419     <bpmn2:sequenceFlow id="SequenceFlow_6" name="" sourceRef="callRESTReQuery1NetworkID_ScriptTask" targetRef="callRESTQueryVpnBinding_ScriptTask" />
420     <bpmn2:scriptTask id="callRESTQueryVpnBinding_ScriptTask" name="Call REST Query Vpn Binding in AAI" scriptFormat="groovy">
421       <bpmn2:incoming>SequenceFlow_6</bpmn2:incoming>
422       <bpmn2:outgoing>SequenceFlow_15</bpmn2:outgoing>
423       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
424 def UpdateNetworkInstanceInfra = new UpdateNetworkInstanceInfra()
425 UpdateNetworkInstanceInfra.callRESTQueryAAINetworkVpnBinding(execution)]]></bpmn2:script>
426     </bpmn2:scriptTask>
427     <bpmn2:sequenceFlow id="SequenceFlow_15" name="" sourceRef="callRESTQueryVpnBinding_ScriptTask" targetRef="callRESTQueryNetworkPolicy_ScriptTask" />
428     <bpmn2:scriptTask id="callRESTQueryNetworkPolicy_ScriptTask" name="Call REST Query Network Policy in AAI" scriptFormat="groovy">
429       <bpmn2:incoming>SequenceFlow_15</bpmn2:incoming>
430       <bpmn2:outgoing>SequenceFlow_38</bpmn2:outgoing>
431       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
432 def UpdateNetworkInstanceInfra = new UpdateNetworkInstanceInfra()
433 UpdateNetworkInstanceInfra.callRESTQueryAAINetworkPolicy(execution)]]></bpmn2:script>
434     </bpmn2:scriptTask>
435     <bpmn2:sequenceFlow id="SequenceFlow_38" name="" sourceRef="callRESTQueryNetworkPolicy_ScriptTask" targetRef="callRESTQueryNetworkTableRef_ScriptTask" />
436     <bpmn2:association id="Association_1" sourceRef="sndcCompensation_BoundaryEvent" targetRef="callRollbackSDNCAdapter_CallActivity" />
437   </bpmn2:process>
438   <bpmn2:error id="Error_2" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
439   <bpmn2:error id="Error_1" name="java.lang.Exception" errorCode="java.lang.Exception" />
440   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
441     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="UpdateNetworkInstanceInfra">
442       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_47" bpmnElement="updateNetwork_startEvent">
443         <dc:Bounds x="192" y="185" width="36" height="36" />
444         <bpmndi:BPMNLabel>
445           <dc:Bounds x="193" y="226" width="34" height="22" />
446         </bpmndi:BPMNLabel>
447       </bpmndi:BPMNShape>
448       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_61" bpmnElement="preProcessRequest_ScriptTask">
449         <dc:Bounds x="350" y="163" width="100" height="80" />
450       </bpmndi:BPMNShape>
451       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="_BPMNShape_StartEvent_47" targetElement="_BPMNShape_ScriptTask_61">
452         <di:waypoint xsi:type="dc:Point" x="228" y="203" />
453         <di:waypoint xsi:type="dc:Point" x="350" y="203" />
454         <bpmndi:BPMNLabel>
455           <dc:Bounds x="249" y="203" width="6" height="6" />
456         </bpmndi:BPMNLabel>
457       </bpmndi:BPMNEdge>
458       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_63" bpmnElement="validateUpdatePONetwork_ScriptTask">
459         <dc:Bounds x="1343" y="1311" width="100" height="80" />
460       </bpmndi:BPMNShape>
461       <bpmndi:BPMNShape id="_BPMNShape_CallActivity_3" bpmnElement="faultHandler_CallActivity">
462         <dc:Bounds x="996" y="806" width="100" height="80" />
463       </bpmndi:BPMNShape>
464       <bpmndi:BPMNShape id="_BPMNShape_ServiceTask_83" bpmnElement="callUpdateNetwork_ServiceTask">
465         <dc:Bounds x="1342" y="1176" width="100" height="80" />
466       </bpmndi:BPMNShape>
467       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_67" bpmnElement="prepareSDNCTopoRequest_ScriptTask">
468         <dc:Bounds x="1343" y="276" width="100" height="80" />
469       </bpmndi:BPMNShape>
470       <bpmndi:BPMNShape id="_BPMNShape_CallActivity_4" bpmnElement="callCompleteMsoProcess_CallActivity">
471         <dc:Bounds x="137" y="1395" width="100" height="80" />
472       </bpmndi:BPMNShape>
473       <bpmndi:BPMNShape id="_BPMNShape_SubProcess_16" bpmnElement="subProcessException_SubProcess" isExpanded="true">
474         <dc:Bounds x="17" y="585" width="1122" height="567" />
475       </bpmndi:BPMNShape>
476       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_50" bpmnElement="subProcessStart_StartEvent">
477         <dc:Bounds x="48" y="1040" width="36" height="36" />
478         <bpmndi:BPMNLabel>
479           <dc:Bounds x="33" y="1081" width="67" height="22" />
480         </bpmndi:BPMNLabel>
481       </bpmndi:BPMNShape>
482       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_79" bpmnElement="prepareFalloutHandler_ScriptTask">
483         <dc:Bounds x="756" y="806" width="100" height="80" />
484       </bpmndi:BPMNShape>
485       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_67" bpmnElement="isSdncTopoOk_ExclusiveGateway" isMarkerVisible="true">
486         <dc:Bounds x="1523" y="520" width="50" height="50" />
487         <bpmndi:BPMNLabel>
488           <dc:Bounds x="1487" y="569" width="125" height="22" />
489         </bpmndi:BPMNLabel>
490       </bpmndi:BPMNShape>
491       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_26" bpmnElement="sdncTopoNo_SequenceFlow" sourceElement="_BPMNShape_ExclusiveGateway_67" targetElement="_BPMNShape_EndEvent_124">
492         <di:waypoint xsi:type="dc:Point" x="1573" y="545" />
493         <di:waypoint xsi:type="dc:Point" x="1682" y="546" />
494         <bpmndi:BPMNLabel>
495           <dc:Bounds x="1577" y="546" width="22" height="22" />
496         </bpmndi:BPMNLabel>
497       </bpmndi:BPMNEdge>
498       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_28" bpmnElement="sdncTopoYes_SequenceFlow" sourceElement="_BPMNShape_ExclusiveGateway_67" targetElement="_BPMNShape_ScriptTask_336">
499         <di:waypoint xsi:type="dc:Point" x="1523" y="545" />
500         <di:waypoint xsi:type="dc:Point" x="1393" y="545" />
501         <di:waypoint xsi:type="dc:Point" x="1393" y="576" />
502         <bpmndi:BPMNLabel>
503           <dc:Bounds x="1500" y="545" width="29" height="22" />
504         </bpmndi:BPMNLabel>
505       </bpmndi:BPMNEdge>
506       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_80" bpmnElement="postProcessAndCompletionRequest_ScriptTask">
507         <dc:Bounds x="347" y="1392" width="100" height="80" />
508       </bpmndi:BPMNShape>
509       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_83" bpmnElement="prepareDBInfraRequest_ScriptTask">
510         <dc:Bounds x="792" y="1390" width="100" height="80" />
511       </bpmndi:BPMNShape>
512       <bpmndi:BPMNShape id="_BPMNShape_ServiceTask_86" bpmnElement="callDBInfra_ServiceTask">
513         <dc:Bounds x="564" y="1392" width="100" height="80" />
514       </bpmndi:BPMNShape>
515       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_124" bpmnElement="sndcError_EndEvent">
516         <dc:Bounds x="1682" y="528" width="36" height="36" />
517         <bpmndi:BPMNLabel>
518           <dc:Bounds x="1663" y="569" width="74" height="22" />
519         </bpmndi:BPMNLabel>
520       </bpmndi:BPMNShape>
521       <bpmndi:BPMNShape id="_BPMNShape_CallActivity_19" bpmnElement="callAssignSDNCAdapter_CallActivity">
522         <dc:Bounds x="1341" y="395" width="100" height="80" />
523       </bpmndi:BPMNShape>
524       <bpmndi:BPMNShape id="_BPMNShape_BoundaryEvent_29" bpmnElement="sndcCompensation_BoundaryEvent">
525         <dc:Bounds x="1323" y="434" width="36" height="36" />
526         <bpmndi:BPMNLabel>
527           <dc:Bounds x="1280" y="474" width="82" height="22" />
528         </bpmndi:BPMNLabel>
529       </bpmndi:BPMNShape>
530       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_24" bpmnElement="SequenceFlow_11" sourceElement="_BPMNShape_ScriptTask_67" targetElement="_BPMNShape_CallActivity_19">
531         <di:waypoint xsi:type="dc:Point" x="1393" y="356" />
532         <di:waypoint xsi:type="dc:Point" x="1393" y="374" />
533         <di:waypoint xsi:type="dc:Point" x="1391" y="374" />
534         <di:waypoint xsi:type="dc:Point" x="1391" y="395" />
535         <bpmndi:BPMNLabel>
536           <dc:Bounds x="1389" y="374" width="6" height="6" />
537         </bpmndi:BPMNLabel>
538       </bpmndi:BPMNEdge>
539       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_29" bpmnElement="SequenceFlow_12" sourceElement="_BPMNShape_CallActivity_19" targetElement="_BPMNShape_ScriptTask_131">
540         <di:waypoint xsi:type="dc:Point" x="1441" y="435" />
541         <di:waypoint xsi:type="dc:Point" x="1499" y="435" />
542         <bpmndi:BPMNLabel>
543           <dc:Bounds x="1473" y="435" width="6" height="6" />
544         </bpmndi:BPMNLabel>
545       </bpmndi:BPMNEdge>
546       <bpmndi:BPMNEdge id="BPMNEdge_Association_1" bpmnElement="Association_1" sourceElement="_BPMNShape_BoundaryEvent_29" targetElement="_BPMNShape_CallActivity_21">
547         <di:waypoint xsi:type="dc:Point" x="1323" y="447" />
548         <di:waypoint xsi:type="dc:Point" x="1290" y="438" />
549       </bpmndi:BPMNEdge>
550       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_12" bpmnElement="SequenceFlow_7" sourceElement="_BPMNShape_ScriptTask_61" targetElement="_BPMNShape_ScriptTask_127">
551         <di:waypoint xsi:type="dc:Point" x="450" y="203" />
552         <di:waypoint xsi:type="dc:Point" x="516" y="203" />
553         <bpmndi:BPMNLabel>
554           <dc:Bounds x="481" y="203" width="6" height="6" />
555         </bpmndi:BPMNLabel>
556       </bpmndi:BPMNEdge>
557       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_127" bpmnElement="sendSyncAckResponse_ScriptTask">
558         <dc:Bounds x="516" y="163" width="100" height="80" />
559       </bpmndi:BPMNShape>
560       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_35" bpmnElement="SequenceFlow_23" sourceElement="_BPMNShape_StartEvent_50" targetElement="_BPMNShape_ExclusiveGateway_90">
561         <di:waypoint xsi:type="dc:Point" x="84" y="1058" />
562         <di:waypoint xsi:type="dc:Point" x="131" y="1058" />
563         <di:waypoint xsi:type="dc:Point" x="131" y="1057" />
564         <di:waypoint xsi:type="dc:Point" x="161" y="1057" />
565         <bpmndi:BPMNLabel>
566           <dc:Bounds x="96" y="1058" width="6" height="6" />
567         </bpmndi:BPMNLabel>
568       </bpmndi:BPMNEdge>
569       <bpmndi:BPMNShape id="_BPMNShape_IntermediateThrowEvent_24" bpmnElement="sdncTopoRollback_IntermediateThrowEvent">
570         <dc:Bounds x="470" y="867" width="36" height="36" />
571         <bpmndi:BPMNLabel>
572           <dc:Bounds x="440" y="906" width="96" height="22" />
573         </bpmndi:BPMNLabel>
574       </bpmndi:BPMNShape>
575       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_38" bpmnElement="SequenceFlow_25" sourceElement="_BPMNShape_ScriptTask_79" targetElement="_BPMNShape_CallActivity_3">
576         <di:waypoint xsi:type="dc:Point" x="856" y="846" />
577         <di:waypoint xsi:type="dc:Point" x="996" y="846" />
578         <bpmndi:BPMNLabel>
579           <dc:Bounds x="881" y="846" width="6" height="6" />
580         </bpmndi:BPMNLabel>
581       </bpmndi:BPMNEdge>
582       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_131" bpmnElement="validateSDNCResponse_ScriptTask">
583         <dc:Bounds x="1499" y="395" width="100" height="80" />
584       </bpmndi:BPMNShape>
585       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_11" bpmnElement="SequenceFlow_5" sourceElement="_BPMNShape_ScriptTask_131" targetElement="_BPMNShape_ExclusiveGateway_67">
586         <di:waypoint xsi:type="dc:Point" x="1549" y="475" />
587         <di:waypoint xsi:type="dc:Point" x="1549" y="492" />
588         <di:waypoint xsi:type="dc:Point" x="1548" y="492" />
589         <di:waypoint xsi:type="dc:Point" x="1548" y="520" />
590         <bpmndi:BPMNLabel>
591           <dc:Bounds x="1545" y="503" width="6" height="6" />
592         </bpmndi:BPMNLabel>
593       </bpmndi:BPMNEdge>
594       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_40" bpmnElement="SequenceFlow_27" sourceElement="_BPMNShape_ServiceTask_86" targetElement="_BPMNShape_ScriptTask_80">
595         <di:waypoint xsi:type="dc:Point" x="564" y="1432" />
596         <di:waypoint xsi:type="dc:Point" x="506" y="1432" />
597         <di:waypoint xsi:type="dc:Point" x="506" y="1432" />
598         <di:waypoint xsi:type="dc:Point" x="447" y="1432" />
599         <bpmndi:BPMNLabel>
600           <dc:Bounds x="528" y="1432" width="6" height="6" />
601         </bpmndi:BPMNLabel>
602       </bpmndi:BPMNEdge>
603       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_42" bpmnElement="SequenceFlow_29" sourceElement="_BPMNShape_ScriptTask_80" targetElement="_BPMNShape_CallActivity_4">
604         <di:waypoint xsi:type="dc:Point" x="347" y="1432" />
605         <di:waypoint xsi:type="dc:Point" x="292" y="1432" />
606         <di:waypoint xsi:type="dc:Point" x="292" y="1435" />
607         <di:waypoint xsi:type="dc:Point" x="237" y="1435" />
608         <bpmndi:BPMNLabel>
609           <dc:Bounds x="290" y="1512" width="6" height="6" />
610         </bpmndi:BPMNLabel>
611       </bpmndi:BPMNEdge>
612       <bpmndi:BPMNShape id="_BPMNShape_CallActivity_21" bpmnElement="callRollbackSDNCAdapter_CallActivity">
613         <dc:Bounds x="1190" y="384" width="100" height="80" />
614       </bpmndi:BPMNShape>
615       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_133" bpmnElement="callRESTQueryNetworkId_ScriptTask">
616         <dc:Bounds x="984" y="100" width="100" height="80" />
617       </bpmndi:BPMNShape>
618       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_134" bpmnElement="callRESTReQuery2NetworkID_ScriptTask">
619         <dc:Bounds x="1176" y="1390" width="100" height="80" />
620       </bpmndi:BPMNShape>
621       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_135" bpmnElement="callRESTUpdateContrailNetwork_ScriptTask">
622         <dc:Bounds x="984" y="1392" width="100" height="80" />
623       </bpmndi:BPMNShape>
624       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_54" bpmnElement="SequenceFlow_35" sourceElement="_BPMNShape_ScriptTask_134" targetElement="_BPMNShape_ScriptTask_135">
625         <di:waypoint xsi:type="dc:Point" x="1176" y="1430" />
626         <di:waypoint xsi:type="dc:Point" x="1118" y="1430" />
627         <di:waypoint xsi:type="dc:Point" x="1118" y="1432" />
628         <di:waypoint xsi:type="dc:Point" x="1084" y="1432" />
629         <bpmndi:BPMNLabel>
630           <dc:Bounds x="1143" y="1657" width="6" height="6" />
631         </bpmndi:BPMNLabel>
632       </bpmndi:BPMNEdge>
633       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_58" bpmnElement="SequenceFlow_37" sourceElement="_BPMNShape_ScriptTask_83" targetElement="_BPMNShape_ServiceTask_86">
634         <di:waypoint xsi:type="dc:Point" x="792" y="1430" />
635         <di:waypoint xsi:type="dc:Point" x="691" y="1430" />
636         <di:waypoint xsi:type="dc:Point" x="691" y="1432" />
637         <di:waypoint xsi:type="dc:Point" x="664" y="1432" />
638         <bpmndi:BPMNLabel>
639           <dc:Bounds x="773" y="1430" width="6" height="6" />
640         </bpmndi:BPMNLabel>
641       </bpmndi:BPMNEdge>
642       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_65" bpmnElement="SequenceFlow_46" sourceElement="_BPMNShape_ScriptTask_135" targetElement="_BPMNShape_ScriptTask_83">
643         <di:waypoint xsi:type="dc:Point" x="984" y="1432" />
644         <di:waypoint xsi:type="dc:Point" x="926" y="1432" />
645         <di:waypoint xsi:type="dc:Point" x="926" y="1430" />
646         <di:waypoint xsi:type="dc:Point" x="892" y="1430" />
647         <bpmndi:BPMNLabel>
648           <dc:Bounds x="947" y="1432" width="6" height="6" />
649         </bpmndi:BPMNLabel>
650       </bpmndi:BPMNEdge>
651       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_156" bpmnElement="callRESTQueryVpnBinding_ScriptTask">
652         <dc:Bounds x="1341" y="688" width="100" height="80" />
653       </bpmndi:BPMNShape>
654       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_18" bpmnElement="SequenceFlow_15" sourceElement="_BPMNShape_ScriptTask_156" targetElement="_BPMNShape_ScriptTask_215">
655         <di:waypoint xsi:type="dc:Point" x="1391" y="768" />
656         <di:waypoint xsi:type="dc:Point" x="1391" y="810" />
657         <bpmndi:BPMNLabel>
658           <dc:Bounds x="1388" y="781" width="6" height="6" />
659         </bpmndi:BPMNLabel>
660       </bpmndi:BPMNEdge>
661       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_87" bpmnElement="SequenceFlow_59" sourceElement="_BPMNShape_ServiceTask_83" targetElement="_BPMNShape_ScriptTask_63">
662         <di:waypoint xsi:type="dc:Point" x="1392" y="1256" />
663         <di:waypoint xsi:type="dc:Point" x="1393" y="1311" />
664         <bpmndi:BPMNLabel>
665           <dc:Bounds x="1390" y="1284" width="6" height="6" />
666         </bpmndi:BPMNLabel>
667       </bpmndi:BPMNEdge>
668       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_157" bpmnElement="prepareNetworkRequest_ScriptTask">
669         <dc:Bounds x="1342" y="1052" width="100" height="80" />
670       </bpmndi:BPMNShape>
671       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_89" bpmnElement="SequenceFlow_61" sourceElement="_BPMNShape_ScriptTask_157" targetElement="_BPMNShape_ServiceTask_83">
672         <di:waypoint xsi:type="dc:Point" x="1392" y="1132" />
673         <di:waypoint xsi:type="dc:Point" x="1392" y="1176" />
674         <bpmndi:BPMNLabel>
675           <dc:Bounds x="1389" y="1159" width="6" height="6" />
676         </bpmndi:BPMNLabel>
677       </bpmndi:BPMNEdge>
678       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_90" bpmnElement="isRollbackOn_Network_ExclusiveGateway" isMarkerVisible="true">
679         <dc:Bounds x="161" y="1032" width="50" height="50" />
680         <bpmndi:BPMNLabel>
681           <dc:Bounds x="138" y="1092" width="98" height="22" />
682         </bpmndi:BPMNLabel>
683       </bpmndi:BPMNShape>
684       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_25" bpmnElement="isRollbackOn_YesNetwork_SequenceFlow" sourceElement="_BPMNShape_ExclusiveGateway_90" targetElement="_BPMNShape_ExclusiveGateway_215">
685         <di:waypoint xsi:type="dc:Point" x="186" y="1032" />
686         <di:waypoint xsi:type="dc:Point" x="186" y="1004" />
687         <bpmndi:BPMNLabel>
688           <dc:Bounds x="186" y="1020" width="29" height="22" />
689         </bpmndi:BPMNLabel>
690       </bpmndi:BPMNEdge>
691       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_34" bpmnElement="isRollbackOn_NoNetwork_SequenceFlow" sourceElement="_BPMNShape_ExclusiveGateway_90" targetElement="_BPMNShape_InclusiveGateway_24">
692         <di:waypoint xsi:type="dc:Point" x="211" y="1057" />
693         <di:waypoint xsi:type="dc:Point" x="361" y="1057" />
694         <di:waypoint xsi:type="dc:Point" x="361" y="1004" />
695         <bpmndi:BPMNLabel>
696           <dc:Bounds x="211" y="1062" width="22" height="22" />
697         </bpmndi:BPMNLabel>
698       </bpmndi:BPMNEdge>
699       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_215" bpmnElement="callRESTQueryNetworkPolicy_ScriptTask">
700         <dc:Bounds x="1341" y="810" width="100" height="80" />
701       </bpmndi:BPMNShape>
702       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_60" bpmnElement="SequenceFlow_38" sourceElement="_BPMNShape_ScriptTask_215" targetElement="_BPMNShape_ScriptTask_335">
703         <di:waypoint xsi:type="dc:Point" x="1391" y="890" />
704         <di:waypoint xsi:type="dc:Point" x="1391" y="926" />
705         <bpmndi:BPMNLabel>
706           <dc:Bounds x="1388" y="900" width="6" height="6" />
707         </bpmndi:BPMNLabel>
708       </bpmndi:BPMNEdge>
709       <bpmndi:BPMNShape id="_BPMNShape_InclusiveGateway_24" bpmnElement="InclusiveGateway_6">
710         <dc:Bounds x="336" y="954" width="50" height="50" />
711         <bpmndi:BPMNLabel>
712           <dc:Bounds x="361" y="1009" width="0" height="0" />
713         </bpmndi:BPMNLabel>
714       </bpmndi:BPMNShape>
715       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_215" bpmnElement="isPONR_ExclusiveGateway" isMarkerVisible="true">
716         <dc:Bounds x="161" y="954" width="50" height="50" />
717         <bpmndi:BPMNLabel>
718           <dc:Bounds x="88" y="969" width="60" height="22" />
719         </bpmndi:BPMNLabel>
720       </bpmndi:BPMNShape>
721       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_77" bpmnElement="isPONR_Yes_SequenceFlow" sourceElement="_BPMNShape_ExclusiveGateway_215" targetElement="_BPMNShape_InclusiveGateway_24">
722         <di:waypoint xsi:type="dc:Point" x="211" y="979" />
723         <di:waypoint xsi:type="dc:Point" x="336" y="979" />
724         <bpmndi:BPMNLabel>
725           <dc:Bounds x="204" y="983" width="29" height="22" />
726         </bpmndi:BPMNLabel>
727       </bpmndi:BPMNEdge>
728       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_85" bpmnElement="isPONR_No_SequenceFlow" sourceElement="_BPMNShape_ExclusiveGateway_215" targetElement="_BPMNShape_ExclusiveGateway_216">
729         <di:waypoint xsi:type="dc:Point" x="186" y="954" />
730         <di:waypoint xsi:type="dc:Point" x="186" y="884" />
731         <bpmndi:BPMNLabel>
732           <dc:Bounds x="191" y="933" width="22" height="22" />
733         </bpmndi:BPMNLabel>
734       </bpmndi:BPMNEdge>
735       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_216" bpmnElement="isNetworkOk_ExclusiveGateway" isMarkerVisible="true">
736         <dc:Bounds x="161" y="834" width="50" height="50" />
737         <bpmndi:BPMNLabel>
738           <dc:Bounds x="68" y="849" width="95" height="22" />
739         </bpmndi:BPMNLabel>
740       </bpmndi:BPMNShape>
741       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_86" bpmnElement="isNetworkOk_No_SequenceFlow" sourceElement="_BPMNShape_ExclusiveGateway_216" targetElement="_BPMNShape_ExclusiveGateway_217">
742         <di:waypoint xsi:type="dc:Point" x="211" y="859" />
743         <di:waypoint xsi:type="dc:Point" x="273" y="859" />
744         <di:waypoint xsi:type="dc:Point" x="273" y="781" />
745         <di:waypoint xsi:type="dc:Point" x="336" y="781" />
746         <bpmndi:BPMNLabel>
747           <dc:Bounds x="211" y="863" width="22" height="22" />
748         </bpmndi:BPMNLabel>
749       </bpmndi:BPMNEdge>
750       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_90" bpmnElement="isNetworkOk_Yes_SequenceFlow" sourceElement="_BPMNShape_ExclusiveGateway_216" targetElement="_BPMNShape_ExclusiveGateway_217">
751         <di:waypoint xsi:type="dc:Point" x="186" y="834" />
752         <di:waypoint xsi:type="dc:Point" x="186" y="781" />
753         <di:waypoint xsi:type="dc:Point" x="273" y="781" />
754         <di:waypoint xsi:type="dc:Point" x="336" y="781" />
755         <bpmndi:BPMNLabel>
756           <dc:Bounds x="192" y="814" width="29" height="22" />
757         </bpmndi:BPMNLabel>
758       </bpmndi:BPMNEdge>
759       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_217" bpmnElement="sdncOk_ExclusiveGateway" isMarkerVisible="true">
760         <dc:Bounds x="336" y="756" width="50" height="50" />
761         <bpmndi:BPMNLabel>
762           <dc:Bounds x="323" y="722" width="78" height="22" />
763         </bpmndi:BPMNLabel>
764       </bpmndi:BPMNShape>
765       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_92" bpmnElement="sdncOk_Yeso_ExclusiveGateway" sourceElement="_BPMNShape_ExclusiveGateway_217" targetElement="_BPMNShape_ScriptTask_261">
766         <di:waypoint xsi:type="dc:Point" x="386" y="781" />
767         <di:waypoint xsi:type="dc:Point" x="438" y="781" />
768         <bpmndi:BPMNLabel>
769           <dc:Bounds x="386" y="779" width="29" height="22" />
770         </bpmndi:BPMNLabel>
771       </bpmndi:BPMNEdge>
772       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_93" bpmnElement="sdncOk_No_ExclusiveGateway" sourceElement="_BPMNShape_ExclusiveGateway_217" targetElement="_BPMNShape_ScriptTask_262">
773         <di:waypoint xsi:type="dc:Point" x="361" y="806" />
774         <di:waypoint xsi:type="dc:Point" x="362" y="845" />
775         <bpmndi:BPMNLabel>
776           <dc:Bounds x="366" y="806" width="22" height="22" />
777         </bpmndi:BPMNLabel>
778       </bpmndi:BPMNEdge>
779       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_177" bpmnElement="EndEvent_3">
780         <dc:Bounds x="169" y="1536" width="36" height="36" />
781         <bpmndi:BPMNLabel>
782           <dc:Bounds x="187" y="1577" width="0" height="0" />
783         </bpmndi:BPMNLabel>
784       </bpmndi:BPMNShape>
785       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_30" bpmnElement="SequenceFlow_17" sourceElement="_BPMNShape_CallActivity_4" targetElement="_BPMNShape_EndEvent_177">
786         <di:waypoint xsi:type="dc:Point" x="187" y="1475" />
787         <di:waypoint xsi:type="dc:Point" x="187" y="1536" />
788         <bpmndi:BPMNLabel>
789           <dc:Bounds x="184" y="1475" width="6" height="6" />
790         </bpmndi:BPMNLabel>
791       </bpmndi:BPMNEdge>
792       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_178" bpmnElement="EndEvent_4">
793         <dc:Bounds x="1028" y="924" width="36" height="36" />
794         <bpmndi:BPMNLabel>
795           <dc:Bounds x="1046" y="965" width="0" height="0" />
796         </bpmndi:BPMNLabel>
797       </bpmndi:BPMNShape>
798       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_32" bpmnElement="SequenceFlow_18" sourceElement="_BPMNShape_CallActivity_3" targetElement="_BPMNShape_EndEvent_178">
799         <di:waypoint xsi:type="dc:Point" x="1046" y="886" />
800         <di:waypoint xsi:type="dc:Point" x="1046" y="924" />
801         <bpmndi:BPMNLabel>
802           <dc:Bounds x="1043" y="888" width="6" height="6" />
803         </bpmndi:BPMNLabel>
804       </bpmndi:BPMNEdge>
805       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_36" bpmnElement="SequenceFlow_19" sourceElement="_BPMNShape_ServiceTask_97" targetElement="_BPMNShape_ScriptTask_79">
806         <di:waypoint xsi:type="dc:Point" x="676" y="846" />
807         <di:waypoint xsi:type="dc:Point" x="756" y="846" />
808         <bpmndi:BPMNLabel>
809           <dc:Bounds x="686" y="846" width="6" height="6" />
810         </bpmndi:BPMNLabel>
811       </bpmndi:BPMNEdge>
812       <bpmndi:BPMNShape id="_BPMNShape_ServiceTask_97" bpmnElement="callDBInfraErrorUpdate_ServiceTask_1">
813         <dc:Bounds x="576" y="806" width="100" height="80" />
814       </bpmndi:BPMNShape>
815       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_218" bpmnElement="prepareDBInfraErrorRequest_ScriptTask">
816         <dc:Bounds x="576" y="940" width="100" height="80" />
817       </bpmndi:BPMNShape>
818       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_37" bpmnElement="SequenceFlow_22" sourceElement="_BPMNShape_ScriptTask_218" targetElement="_BPMNShape_ServiceTask_97">
819         <di:waypoint xsi:type="dc:Point" x="626" y="940" />
820         <di:waypoint xsi:type="dc:Point" x="626" y="886" />
821         <bpmndi:BPMNLabel>
822           <dc:Bounds x="623" y="927" width="6" height="6" />
823         </bpmndi:BPMNLabel>
824       </bpmndi:BPMNEdge>
825       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_245" bpmnElement="callRESTQueryCloudRegion_ScriptTask">
826         <dc:Bounds x="1200" y="100" width="100" height="80" />
827       </bpmndi:BPMNShape>
828       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_53" bpmnElement="SequenceFlow_32" sourceElement="_BPMNShape_ScriptTask_245" targetElement="_BPMNShape_ScriptTask_67">
829         <di:waypoint xsi:type="dc:Point" x="1300" y="140" />
830         <di:waypoint xsi:type="dc:Point" x="1394" y="140" />
831         <di:waypoint xsi:type="dc:Point" x="1393" y="259" />
832         <di:waypoint xsi:type="dc:Point" x="1393" y="276" />
833         <bpmndi:BPMNLabel>
834           <dc:Bounds x="1314" y="140" width="6" height="6" />
835         </bpmndi:BPMNLabel>
836       </bpmndi:BPMNEdge>
837       <bpmndi:BPMNShape id="_BPMNShape_BoundaryEvent_38" bpmnElement="BoundaryEvent_4">
838         <dc:Bounds x="1581" y="377" width="36" height="36" />
839       </bpmndi:BPMNShape>
840       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_69" bpmnElement="SequenceFlow_34" sourceElement="_BPMNShape_BoundaryEvent_38" targetElement="_BPMNShape_EndEvent_124">
841         <di:waypoint xsi:type="dc:Point" x="1617" y="395" />
842         <di:waypoint xsi:type="dc:Point" x="1700" y="394" />
843         <di:waypoint xsi:type="dc:Point" x="1700" y="528" />
844         <bpmndi:BPMNLabel>
845           <dc:Bounds x="1697" y="467" width="6" height="6" />
846         </bpmndi:BPMNLabel>
847       </bpmndi:BPMNEdge>
848       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_261" bpmnElement="prepareSDNCRollbackRequest_ScriptTask">
849         <dc:Bounds x="438" y="742" width="100" height="79" />
850       </bpmndi:BPMNShape>
851       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_262" bpmnElement="validateRollbacksResponse_ScriptTask_2">
852         <dc:Bounds x="312" y="845" width="100" height="80" />
853       </bpmndi:BPMNShape>
854       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_76" bpmnElement="SequenceFlow_47" sourceElement="_BPMNShape_InclusiveGateway_24" targetElement="_BPMNShape_ScriptTask_218">
855         <di:waypoint xsi:type="dc:Point" x="386" y="979" />
856         <di:waypoint xsi:type="dc:Point" x="548" y="979" />
857         <di:waypoint xsi:type="dc:Point" x="548" y="980" />
858         <di:waypoint xsi:type="dc:Point" x="576" y="980" />
859         <bpmndi:BPMNLabel>
860           <dc:Bounds x="393" y="979" width="6" height="6" />
861         </bpmndi:BPMNLabel>
862       </bpmndi:BPMNEdge>
863       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_84" bpmnElement="SequenceFlow_53" sourceElement="_BPMNShape_ScriptTask_261" targetElement="_BPMNShape_IntermediateThrowEvent_24">
864         <di:waypoint xsi:type="dc:Point" x="488" y="820" />
865         <di:waypoint xsi:type="dc:Point" x="488" y="867" />
866         <bpmndi:BPMNLabel>
867           <dc:Bounds x="485" y="847" width="6" height="6" />
868         </bpmndi:BPMNLabel>
869       </bpmndi:BPMNEdge>
870       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_88" bpmnElement="SequenceFlow_55" sourceElement="_BPMNShape_IntermediateThrowEvent_24" targetElement="_BPMNShape_ScriptTask_262">
871         <di:waypoint xsi:type="dc:Point" x="470" y="885" />
872         <di:waypoint xsi:type="dc:Point" x="441" y="885" />
873         <di:waypoint xsi:type="dc:Point" x="441" y="885" />
874         <di:waypoint xsi:type="dc:Point" x="412" y="885" />
875         <bpmndi:BPMNLabel>
876           <dc:Bounds x="448" y="885" width="6" height="6" />
877         </bpmndi:BPMNLabel>
878       </bpmndi:BPMNEdge>
879       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_10" bpmnElement="SequenceFlow_4" sourceElement="_BPMNShape_ScriptTask_262" targetElement="_BPMNShape_InclusiveGateway_24">
880         <di:waypoint xsi:type="dc:Point" x="362" y="925" />
881         <di:waypoint xsi:type="dc:Point" x="361" y="954" />
882         <bpmndi:BPMNLabel>
883           <dc:Bounds x="358" y="948" width="6" height="6" />
884         </bpmndi:BPMNLabel>
885       </bpmndi:BPMNEdge>
886       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_19" bpmnElement="SequenceFlow_13" sourceElement="_BPMNShape_ScriptTask_63" targetElement="_BPMNShape_ScriptTask_134">
887         <di:waypoint xsi:type="dc:Point" x="1393" y="1391" />
888         <di:waypoint xsi:type="dc:Point" x="1393" y="1430" />
889         <di:waypoint xsi:type="dc:Point" x="1310" y="1430" />
890         <di:waypoint xsi:type="dc:Point" x="1276" y="1430" />
891         <bpmndi:BPMNLabel>
892           <dc:Bounds x="1390" y="1425" width="6" height="6" />
893         </bpmndi:BPMNLabel>
894       </bpmndi:BPMNEdge>
895       <bpmndi:BPMNShape id="_BPMNShape_SubProcess_28" bpmnElement="unexpectedErrors_SubProcess" isExpanded="true">
896         <dc:Bounds x="21" y="381" width="394" height="188" />
897       </bpmndi:BPMNShape>
898       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_71" bpmnElement="StartEvent_1">
899         <dc:Bounds x="54" y="458" width="36" height="36" />
900         <bpmndi:BPMNLabel>
901           <dc:Bounds x="72" y="499" width="0" height="0" />
902         </bpmndi:BPMNLabel>
903       </bpmndi:BPMNShape>
904       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_270" bpmnElement="ScriptTask_1">
905         <dc:Bounds x="169" y="436" width="100" height="80" />
906       </bpmndi:BPMNShape>
907       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_220" bpmnElement="EndEvent_1">
908         <dc:Bounds x="330" y="458" width="36" height="36" />
909         <bpmndi:BPMNLabel>
910           <dc:Bounds x="348" y="499" width="0" height="0" />
911         </bpmndi:BPMNLabel>
912       </bpmndi:BPMNShape>
913       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_5" bpmnElement="SequenceFlow_10" sourceElement="_BPMNShape_StartEvent_71" targetElement="_BPMNShape_ScriptTask_270">
914         <di:waypoint xsi:type="dc:Point" x="90" y="476" />
915         <di:waypoint xsi:type="dc:Point" x="169" y="476" />
916         <bpmndi:BPMNLabel>
917           <dc:Bounds x="129" y="476" width="6" height="6" />
918         </bpmndi:BPMNLabel>
919       </bpmndi:BPMNEdge>
920       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_13" bpmnElement="SequenceFlow_14" sourceElement="_BPMNShape_ScriptTask_270" targetElement="_BPMNShape_EndEvent_220">
921         <di:waypoint xsi:type="dc:Point" x="269" y="476" />
922         <di:waypoint xsi:type="dc:Point" x="330" y="476" />
923         <bpmndi:BPMNLabel>
924           <dc:Bounds x="301" y="476" width="6" height="6" />
925         </bpmndi:BPMNLabel>
926       </bpmndi:BPMNEdge>
927       <bpmndi:BPMNShape id="_BPMNShape_CallActivity_72" bpmnElement="callGetServiceInstance">
928         <dc:Bounds x="686" y="163" width="100" height="80" />
929       </bpmndi:BPMNShape>
930       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_244" bpmnElement="siFoundCheck" isMarkerVisible="true">
931         <dc:Bounds x="836" y="177" width="50" height="50" />
932         <bpmndi:BPMNLabel>
933           <dc:Bounds x="891" y="195" width="79" height="22" />
934         </bpmndi:BPMNLabel>
935       </bpmndi:BPMNShape>
936       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_3" bpmnElement="SequenceFlow_3" sourceElement="_BPMNShape_CallActivity_72" targetElement="_BPMNShape_ExclusiveGateway_244">
937         <di:waypoint xsi:type="dc:Point" x="786" y="203" />
938         <di:waypoint xsi:type="dc:Point" x="805" y="203" />
939         <di:waypoint xsi:type="dc:Point" x="805" y="202" />
940         <di:waypoint xsi:type="dc:Point" x="836" y="202" />
941         <bpmndi:BPMNLabel>
942           <dc:Bounds x="799" y="203" width="6" height="6" />
943         </bpmndi:BPMNLabel>
944       </bpmndi:BPMNEdge>
945       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_17" bpmnElement="siFoundYes" sourceElement="_BPMNShape_ExclusiveGateway_244" targetElement="_BPMNShape_ScriptTask_133">
946         <di:waypoint xsi:type="dc:Point" x="861" y="177" />
947         <di:waypoint xsi:type="dc:Point" x="861" y="140" />
948         <di:waypoint xsi:type="dc:Point" x="910" y="140" />
949         <di:waypoint xsi:type="dc:Point" x="984" y="140" />
950         <bpmndi:BPMNLabel>
951           <dc:Bounds x="868" y="157" width="29" height="22" />
952         </bpmndi:BPMNLabel>
953       </bpmndi:BPMNEdge>
954       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_247" bpmnElement="EndEvent_2">
955         <dc:Bounds x="1155" y="278" width="36" height="36" />
956         <bpmndi:BPMNLabel>
957           <dc:Bounds x="1173" y="319" width="0" height="0" />
958         </bpmndi:BPMNLabel>
959       </bpmndi:BPMNShape>
960       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_331" bpmnElement="workflowExceptionSINotFound">
961         <dc:Bounds x="984" y="256" width="100" height="80" />
962       </bpmndi:BPMNShape>
963       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_20" bpmnElement="siFoundNo" sourceElement="_BPMNShape_ExclusiveGateway_244" targetElement="_BPMNShape_ScriptTask_331">
964         <di:waypoint xsi:type="dc:Point" x="861" y="227" />
965         <di:waypoint xsi:type="dc:Point" x="861" y="296" />
966         <di:waypoint xsi:type="dc:Point" x="984" y="296" />
967         <bpmndi:BPMNLabel>
968           <dc:Bounds x="871" y="233" width="22" height="22" />
969         </bpmndi:BPMNLabel>
970       </bpmndi:BPMNEdge>
971       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_21" bpmnElement="SequenceFlow_30" sourceElement="_BPMNShape_ScriptTask_331" targetElement="_BPMNShape_EndEvent_247">
972         <di:waypoint xsi:type="dc:Point" x="1084" y="296" />
973         <di:waypoint xsi:type="dc:Point" x="1155" y="296" />
974         <bpmndi:BPMNLabel>
975           <dc:Bounds x="1103" y="296" width="6" height="6" />
976         </bpmndi:BPMNLabel>
977       </bpmndi:BPMNEdge>
978       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_22" bpmnElement="SequenceFlow_24" sourceElement="_BPMNShape_ScriptTask_133" targetElement="_BPMNShape_ScriptTask_245">
979         <di:waypoint xsi:type="dc:Point" x="1084" y="140" />
980         <di:waypoint xsi:type="dc:Point" x="1200" y="140" />
981         <bpmndi:BPMNLabel>
982           <dc:Bounds x="1127" y="140" width="6" height="6" />
983         </bpmndi:BPMNLabel>
984       </bpmndi:BPMNEdge>
985       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_27" bpmnElement="SequenceFlow_28" sourceElement="_BPMNShape_ScriptTask_127" targetElement="_BPMNShape_CallActivity_72">
986         <di:waypoint xsi:type="dc:Point" x="616" y="203" />
987         <di:waypoint xsi:type="dc:Point" x="686" y="203" />
988         <bpmndi:BPMNLabel>
989           <dc:Bounds x="632" y="203" width="6" height="6" />
990         </bpmndi:BPMNLabel>
991       </bpmndi:BPMNEdge>
992       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_335" bpmnElement="callRESTQueryNetworkTableRef_ScriptTask">
993         <dc:Bounds x="1341" y="926" width="100" height="80" />
994       </bpmndi:BPMNShape>
995       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_2" bpmnElement="SequenceFlow_2" sourceElement="_BPMNShape_ScriptTask_335" targetElement="_BPMNShape_ScriptTask_157">
996         <di:waypoint xsi:type="dc:Point" x="1391" y="1006" />
997         <di:waypoint xsi:type="dc:Point" x="1392" y="1052" />
998         <bpmndi:BPMNLabel>
999           <dc:Bounds x="1388" y="1028" width="6" height="6" />
1000         </bpmndi:BPMNLabel>
1001       </bpmndi:BPMNEdge>
1002       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_336" bpmnElement="callRESTReQuery1NetworkID_ScriptTask">
1003         <dc:Bounds x="1343" y="576" width="100" height="80" />
1004       </bpmndi:BPMNShape>
1005       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_4" bpmnElement="SequenceFlow_6" sourceElement="_BPMNShape_ScriptTask_336" targetElement="_BPMNShape_ScriptTask_156">
1006         <di:waypoint xsi:type="dc:Point" x="1393" y="656" />
1007         <di:waypoint xsi:type="dc:Point" x="1393" y="672" />
1008         <di:waypoint xsi:type="dc:Point" x="1391" y="672" />
1009         <di:waypoint xsi:type="dc:Point" x="1391" y="688" />
1010         <bpmndi:BPMNLabel>
1011           <dc:Bounds x="1390" y="666" width="6" height="6" />
1012         </bpmndi:BPMNLabel>
1013       </bpmndi:BPMNEdge>
1014     </bpmndi:BPMNPlane>
1015   </bpmndi:BPMNDiagram>
1016 </bpmn2:definitions>