1710 Rebase - Second Attempt
[so.git] / bpmn / MSOInfrastructureBPMN / src / main / resources / subprocess / DoUpdateNetworkInstance.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="DoUpdateNetworkInstance" name="DoUpdateNetworkInstance" 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 DoUpdateNetworkInstance = new DoUpdateNetworkInstance()
13 DoUpdateNetworkInstance.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 DoUpdateNetworkInstance = new DoUpdateNetworkInstance()
22 DoUpdateNetworkInstance.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="callAssignSDNCAdapter_CallActivity" name="Call SDNC ChangeAssign Adapter V1 Sub-process" calledElement="sdncAdapter">
45       <bpmn2:extensionElements>
46         <camunda:in source="UPDNETI_changeAssignSDNCRequest" target="sdncAdapterWorkflowRequest" />
47         <camunda:out source="sdncAdapterResponse" target="UPDNETI_changeAssignSDNCResponse" />
48         <camunda:out source="SDNCA_ResponseCode" target="UPDNETI_sdncReturnCode" />
49         <camunda:in source="mso-request-id" target="mso-request-id" />
50         <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
51         <camunda:out source="WorkflowException" target="UPDNETI_WorkflowException" />
52         <camunda:out source="SDNCA_SuccessIndicator" target="SDNCA_SuccessIndicator" />
53         <camunda:in variables="all" />
54       </bpmn2:extensionElements>
55       <bpmn2:incoming>SequenceFlow_11</bpmn2:incoming>
56       <bpmn2:outgoing>SequenceFlow_12</bpmn2:outgoing>
57     </bpmn2:callActivity>
58     <bpmn2:sequenceFlow id="SequenceFlow_12" name="" sourceRef="callAssignSDNCAdapter_CallActivity" targetRef="validateSDNCResponse_ScriptTask" />
59     <bpmn2:scriptTask id="postProcessAndCompletionRequest_ScriptTask" name="Post Process Response" scriptFormat="groovy">
60       <bpmn2:incoming>SequenceFlow_46</bpmn2:incoming>
61       <bpmn2:outgoing>SequenceFlow_29</bpmn2:outgoing>
62       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
63 def DoUpdateNetworkInstance = new DoUpdateNetworkInstance()
64 DoUpdateNetworkInstance.postProcessResponse(execution)]]></bpmn2:script>
65     </bpmn2:scriptTask>
66     <bpmn2:sequenceFlow id="SequenceFlow_29" name="" sourceRef="postProcessAndCompletionRequest_ScriptTask" targetRef="EndEvent_3" />
67     <bpmn2:subProcess id="subProcessException_SubProcess" name="Subprocess For Exception" triggeredByEvent="true">
68       <bpmn2:exclusiveGateway id="isRollbackOn_Network_ExclusiveGateway" name="Is Rollback On?" default="isRollbackOn_NoNetwork_SequenceFlow">
69         <bpmn2:incoming>SequenceFlow_053re4q</bpmn2:incoming>
70         <bpmn2:outgoing>isRollbackOn_YesNetwork_SequenceFlow</bpmn2:outgoing>
71         <bpmn2:outgoing>isRollbackOn_NoNetwork_SequenceFlow</bpmn2:outgoing>
72       </bpmn2:exclusiveGateway>
73       <bpmn2:sequenceFlow id="isRollbackOn_YesNetwork_SequenceFlow" name="Yes" sourceRef="isRollbackOn_Network_ExclusiveGateway" targetRef="isPONR_ExclusiveGateway">
74         <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("UPDNETI_rollbackEnabled") == true}]]></bpmn2:conditionExpression>
75       </bpmn2:sequenceFlow>
76       <bpmn2:sequenceFlow id="isRollbackOn_NoNetwork_SequenceFlow" name="No" sourceRef="isRollbackOn_Network_ExclusiveGateway" targetRef="ExclusiveGateway_1dcb5p2" />
77       <bpmn2:startEvent id="subProcessStart_StartEvent" name="Fault Start">
78         <bpmn2:outgoing>SequenceFlow_23</bpmn2:outgoing>
79         <bpmn2:errorEventDefinition id="ErrorEventDefinition_1" errorRef="Error_2" />
80       </bpmn2:startEvent>
81       <bpmn2:sequenceFlow id="SequenceFlow_23" name="" sourceRef="subProcessStart_StartEvent" targetRef="ScriptTask_1gedbow" />
82       <bpmn2:exclusiveGateway id="isPONR_ExclusiveGateway" name="isPONR?" default="isPONR_No_SequenceFlow">
83         <bpmn2:incoming>isRollbackOn_YesNetwork_SequenceFlow</bpmn2:incoming>
84         <bpmn2:outgoing>isPONR_Yes_SequenceFlow</bpmn2:outgoing>
85         <bpmn2:outgoing>isPONR_No_SequenceFlow</bpmn2:outgoing>
86       </bpmn2:exclusiveGateway>
87       <bpmn2:sequenceFlow id="isPONR_Yes_SequenceFlow" name="Yes" sourceRef="isPONR_ExclusiveGateway" targetRef="ExclusiveGateway_1dcb5p2">
88         <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("UPDNETI_isPONR") == true}]]></bpmn2:conditionExpression>
89       </bpmn2:sequenceFlow>
90       <bpmn2:sequenceFlow id="isPONR_No_SequenceFlow" name="No" sourceRef="isPONR_ExclusiveGateway" targetRef="ExclusiveGateway_1dcb5p2" />
91       <bpmn2:exclusiveGateway id="sdncOk_ExclusiveGateway" name="is Sdnc Ok?" default="sdncOk_No_ExclusiveGateway">
92         <bpmn2:incoming>SequenceFlow_0nrc66n</bpmn2:incoming>
93         <bpmn2:outgoing>sdncOk_Yeso_ExclusiveGateway</bpmn2:outgoing>
94         <bpmn2:outgoing>sdncOk_No_ExclusiveGateway</bpmn2:outgoing>
95       </bpmn2:exclusiveGateway>
96       <bpmn2:sequenceFlow id="sdncOk_Yeso_ExclusiveGateway" name="Yes" sourceRef="sdncOk_ExclusiveGateway" targetRef="prepareSDNCRollbackRequest_ScriptTask">
97         <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("UPDNETI_isSdncRollbackNeeded" ) == true}]]></bpmn2:conditionExpression>
98       </bpmn2:sequenceFlow>
99       <bpmn2:sequenceFlow id="sdncOk_No_ExclusiveGateway" name="No" sourceRef="sdncOk_ExclusiveGateway" targetRef="InclusiveGateway_6" />
100       <bpmn2:scriptTask id="prepareSDNCRollbackRequest_ScriptTask" name="Prepare SDNCRollback Request" scriptFormat="groovy">
101         <bpmn2:incoming>sdncOk_Yeso_ExclusiveGateway</bpmn2:incoming>
102         <bpmn2:outgoing>SequenceFlow_53</bpmn2:outgoing>
103         <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
104 def DoUpdateNetworkInstance = new DoUpdateNetworkInstance()
105 DoUpdateNetworkInstance.prepareSDNCRollbackRequest(execution)]]></bpmn2:script>
106       </bpmn2:scriptTask>
107       <bpmn2:sequenceFlow id="SequenceFlow_53" name="" sourceRef="prepareSDNCRollbackRequest_ScriptTask" targetRef="InclusiveGateway_6" />
108       <bpmn2:endEvent id="EndEvent_4">
109         <bpmn2:incoming>SequenceFlow_04rdjfi</bpmn2:incoming>
110       </bpmn2:endEvent>
111       <bpmn2:inclusiveGateway id="InclusiveGateway_6">
112         <bpmn2:incoming>SequenceFlow_53</bpmn2:incoming>
113         <bpmn2:incoming>sdncOk_No_ExclusiveGateway</bpmn2:incoming>
114         <bpmn2:incoming>SequenceFlow_0srdlf3</bpmn2:incoming>
115         <bpmn2:outgoing>SequenceFlow_47</bpmn2:outgoing>
116       </bpmn2:inclusiveGateway>
117       <bpmn2:sequenceFlow id="SequenceFlow_47" name="" sourceRef="InclusiveGateway_6" targetRef="ScriptTask_1p6n2yy" />
118       <bpmn2:scriptTask id="ScriptTask_1p6n2yy" name="Prepare RollbackData" scriptFormat="groovy">
119         <bpmn2:incoming>SequenceFlow_47</bpmn2:incoming>
120         <bpmn2:outgoing>SequenceFlow_0qr4es6</bpmn2:outgoing>
121         <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
122 def DoUpdateNetworkInstance = new DoUpdateNetworkInstance()
123 DoUpdateNetworkInstance.prepareRollbackData(execution)]]></bpmn2:script>
124       </bpmn2:scriptTask>
125       <bpmn2:callActivity id="CallActivity_1kid5y0" name="DoUpdate&#10;NetworkInstanceRollback&#10;" calledElement="DoCreateNetworkInstanceRollback">
126         <bpmn2:extensionElements>
127           <camunda:in source="msoRequestId" target="msoRequestId" />
128           <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
129           <camunda:in source="serviceInstanceId" target="serviceInstanceId" />
130           <camunda:in source="rollbackData" target="rollbackData" />
131           <camunda:in source="mso-request-id" target="mso-request-id" />
132           <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
133           <camunda:in source="WorkflowException" target="WorkflowException" />
134           <camunda:in source="sdncVersion" target="sdncVersion" />
135           <camunda:out source="wasDeleted" target="wasDeleted" />
136           <camunda:out source="rolledBack" target="rolledBack" />
137           <camunda:out source="WorkflowException" target="WorkflowException" />
138           <camunda:out source="workflowException" target="workflowException" />
139           <camunda:in source="SavedWorkflowException1" target="SavedWorkflowException1" />
140         </bpmn2:extensionElements>
141         <bpmn2:incoming>SequenceFlow_0qr4es6</bpmn2:incoming>
142       </bpmn2:callActivity>
143       <bpmn2:scriptTask id="ScriptTask_0voqz6r" name="Post Process Response" scriptFormat="groovy">
144         <bpmn2:incoming>SequenceFlow_0ze5k6c</bpmn2:incoming>
145         <bpmn2:outgoing>SequenceFlow_04rdjfi</bpmn2:outgoing>
146         <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
147 def DoUpdateNetworkInstance = new DoUpdateNetworkInstance()
148 DoUpdateNetworkInstance.postProcessResponse(execution)]]></bpmn2:script>
149       </bpmn2:scriptTask>
150       <bpmn2:sequenceFlow id="SequenceFlow_0qr4es6" sourceRef="ScriptTask_1p6n2yy" targetRef="CallActivity_1kid5y0" />
151       <bpmn2:sequenceFlow id="SequenceFlow_04rdjfi" sourceRef="ScriptTask_0voqz6r" targetRef="EndEvent_4" />
152       <bpmn2:exclusiveGateway id="ExclusiveGateway_1kjh92x" name="is &#39;1702&#39; SNDC Call?">
153         <bpmn2:outgoing>SequenceFlow_0nrc66n</bpmn2:outgoing>
154         <bpmn2:outgoing>SequenceFlow_0srdlf3</bpmn2:outgoing>
155       </bpmn2:exclusiveGateway>
156       <bpmn2:sequenceFlow id="SequenceFlow_0nrc66n" name="No" sourceRef="ExclusiveGateway_1kjh92x" targetRef="sdncOk_ExclusiveGateway" />
157       <bpmn2:sequenceFlow id="SequenceFlow_0srdlf3" name="Yes" sourceRef="ExclusiveGateway_1kjh92x" targetRef="InclusiveGateway_6">
158         <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("sdncVersion") != '1610'} ]]></bpmn2:conditionExpression>
159       </bpmn2:sequenceFlow>
160       <bpmn2:scriptTask id="ScriptTask_1gedbow" name="Set Exception Flag" scriptFormat="groovy">
161         <bpmn2:incoming>SequenceFlow_23</bpmn2:incoming>
162         <bpmn2:outgoing>SequenceFlow_053re4q</bpmn2:outgoing>
163         <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
164 def DoUpdateNetworkInstance = new DoUpdateNetworkInstance()
165 DoUpdateNetworkInstance.setExceptionFlag(execution)]]></bpmn2:script>
166       </bpmn2:scriptTask>
167       <bpmn2:sequenceFlow id="SequenceFlow_053re4q" sourceRef="ScriptTask_1gedbow" targetRef="isRollbackOn_Network_ExclusiveGateway" />
168       <bpmn2:inclusiveGateway id="ExclusiveGateway_1dcb5p2">
169         <bpmn2:incoming>isPONR_Yes_SequenceFlow</bpmn2:incoming>
170         <bpmn2:incoming>isRollbackOn_NoNetwork_SequenceFlow</bpmn2:incoming>
171         <bpmn2:incoming>isPONR_No_SequenceFlow</bpmn2:incoming>
172         <bpmn2:outgoing>SequenceFlow_0ze5k6c</bpmn2:outgoing>
173       </bpmn2:inclusiveGateway>
174       <bpmn2:sequenceFlow id="SequenceFlow_0ze5k6c" sourceRef="ExclusiveGateway_1dcb5p2" targetRef="ScriptTask_0voqz6r" />
175       <bpmn2:textAnnotation id="TextAnnotation_0qx19b9">      <bpmn2:text>Note: Rollback is not needed for UpdateNetwork,</bpmn2:text>
176 </bpmn2:textAnnotation>
177       <bpmn2:association id="Association_10dk4x3" sourceRef="CallActivity_1kid5y0" targetRef="TextAnnotation_0qx19b9" />
178     </bpmn2:subProcess>
179     <bpmn2:scriptTask id="callRESTReQuery2NetworkID_ScriptTask" name="Call REST ReQuery2 Network Id in AAI" scriptFormat="groovy">
180       <bpmn2:incoming>SequenceFlow_13</bpmn2:incoming>
181       <bpmn2:outgoing>SequenceFlow_35</bpmn2:outgoing>
182       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
183 def DoUpdateNetworkInstance = new DoUpdateNetworkInstance()
184 DoUpdateNetworkInstance.callRESTReQueryAAINetworkId(execution)]]></bpmn2:script>
185     </bpmn2:scriptTask>
186     <bpmn2:sequenceFlow id="SequenceFlow_35" name="" sourceRef="callRESTReQuery2NetworkID_ScriptTask" targetRef="callRESTUpdateContrailNetwork_ScriptTask" />
187     <bpmn2:scriptTask id="callRESTUpdateContrailNetwork_ScriptTask" name="Call REST Update Contrail Network in AAI" scriptFormat="groovy">
188       <bpmn2:incoming>SequenceFlow_35</bpmn2:incoming>
189       <bpmn2:outgoing>SequenceFlow_46</bpmn2:outgoing>
190       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
191 def DoUpdateNetworkInstance = new DoUpdateNetworkInstance()
192 DoUpdateNetworkInstance.callRESTUpdateContrailAAINetwork(execution)]]></bpmn2:script>
193     </bpmn2:scriptTask>
194     <bpmn2:sequenceFlow id="SequenceFlow_46" name="PONR" sourceRef="callRESTUpdateContrailNetwork_ScriptTask" targetRef="postProcessAndCompletionRequest_ScriptTask" />
195     <bpmn2:endEvent id="EndEvent_3">
196       <bpmn2:incoming>SequenceFlow_29</bpmn2:incoming>
197     </bpmn2:endEvent>
198     <bpmn2:subProcess id="unexpectedErrors_SubProcess" name="Sub-process for UnexpectedErrors" triggeredByEvent="true">
199       <bpmn2:scriptTask id="ScriptTask_1" name="Log / Print Unexpected Error" scriptFormat="groovy">
200         <bpmn2:incoming>SequenceFlow_10</bpmn2:incoming>
201         <bpmn2:outgoing>SequenceFlow_14</bpmn2:outgoing>
202         <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
203 def DoUpdateNetworkInstance = new DoUpdateNetworkInstance()
204 DoUpdateNetworkInstance.processJavaException(execution)]]></bpmn2:script>
205       </bpmn2:scriptTask>
206       <bpmn2:sequenceFlow id="SequenceFlow_14" name="" sourceRef="ScriptTask_1" targetRef="EndEvent_1" />
207       <bpmn2:startEvent id="StartEvent_1">
208         <bpmn2:outgoing>SequenceFlow_10</bpmn2:outgoing>
209         <bpmn2:errorEventDefinition id="ErrorEventDefinition_2" errorRef="Error_1" />
210       </bpmn2:startEvent>
211       <bpmn2:sequenceFlow id="SequenceFlow_10" name="" sourceRef="StartEvent_1" targetRef="ScriptTask_1" />
212       <bpmn2:endEvent id="EndEvent_1">
213         <bpmn2:incoming>SequenceFlow_14</bpmn2:incoming>
214       </bpmn2:endEvent>
215     </bpmn2:subProcess>
216     <bpmn2:scriptTask id="preProcessRequest_ScriptTask" name="PreProcess Incoming Request" scriptFormat="groovy">
217       <bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>
218       <bpmn2:outgoing>SequenceFlow_7</bpmn2:outgoing>
219       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
220 def DoUpdateNetworkInstance = new DoUpdateNetworkInstance()
221 DoUpdateNetworkInstance.preProcessRequest(execution)
222 ]]></bpmn2:script>
223     </bpmn2:scriptTask>
224     <bpmn2:sequenceFlow id="SequenceFlow_7" name="" sourceRef="preProcessRequest_ScriptTask" targetRef="callGetServiceInstance" />
225     <bpmn2:scriptTask id="callRESTQueryCloudRegion_ScriptTask" name="Call REST Query Cloud Region " scriptFormat="groovy">
226       <bpmn2:incoming>SequenceFlow_24</bpmn2:incoming>
227       <bpmn2:outgoing>SequenceFlow_32</bpmn2:outgoing>
228       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
229 def DoUpdateNetworkInstance = new DoUpdateNetworkInstance()
230 DoUpdateNetworkInstance.callRESTQueryAAICloudRegion(execution)]]></bpmn2:script>
231     </bpmn2:scriptTask>
232     <bpmn2:sequenceFlow id="SequenceFlow_32" name="" sourceRef="callRESTQueryCloudRegion_ScriptTask" targetRef="prepareSDNCTopoRequest_ScriptTask" />
233     <bpmn2:scriptTask id="callRESTQueryNetworkId_ScriptTask" name="Call REST Query Network Id In AAI" scriptFormat="groovy">
234       <bpmn2:incoming>siFoundYes</bpmn2:incoming>
235       <bpmn2:outgoing>SequenceFlow_24</bpmn2:outgoing>
236       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
237 def DoUpdateNetworkInstance = new DoUpdateNetworkInstance()
238 DoUpdateNetworkInstance.callRESTQueryAAINetworkId(execution)]]></bpmn2:script>
239     </bpmn2:scriptTask>
240     <bpmn2:sequenceFlow id="SequenceFlow_24" name="" sourceRef="callRESTQueryNetworkId_ScriptTask" targetRef="callRESTQueryCloudRegion_ScriptTask" />
241     <bpmn2:scriptTask id="workflowExceptionSINotFound" name="Create Workflow Exception" scriptFormat="groovy">
242       <bpmn2:incoming>siFoundNo</bpmn2:incoming>
243       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
244 ExceptionUtil exceptionUtil = new ExceptionUtil()
245 exceptionUtil.buildAndThrowWorkflowException(execution, 404, "Service Instance Not Found")]]></bpmn2:script>
246     </bpmn2:scriptTask>
247     <bpmn2:exclusiveGateway id="siFoundCheck" name="is SI Found?" default="siFoundNo">
248       <bpmn2:incoming>SequenceFlow_3</bpmn2:incoming>
249       <bpmn2:outgoing>siFoundYes</bpmn2:outgoing>
250       <bpmn2:outgoing>siFoundNo</bpmn2:outgoing>
251     </bpmn2:exclusiveGateway>
252     <bpmn2:sequenceFlow id="siFoundYes" name="Yes" sourceRef="siFoundCheck" targetRef="callRESTQueryNetworkId_ScriptTask">
253       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("GENGSI_FoundIndicator" ) == true && execution.getVariable("GENGSI_SuccessIndicator" ) == true}]]></bpmn2:conditionExpression>
254     </bpmn2:sequenceFlow>
255     <bpmn2:sequenceFlow id="siFoundNo" name="No" sourceRef="siFoundCheck" targetRef="workflowExceptionSINotFound" />
256     <bpmn2:callActivity id="callGetServiceInstance" name="Get&#10;Service&#10;Instance" calledElement="GenericGetService">
257       <bpmn2:extensionElements>
258         <camunda:in source="UPDNETI_serviceInstanceId" target="GENGS_serviceInstanceId" />
259         <camunda:out source="GENGS_serviceInstance" target="UPDNETI_serviceInstanceId" />
260         <camunda:out source="GENGS_FoundIndicator" target="GENGSI_FoundIndicator" />
261         <camunda:out source="GENGS_SuccessIndicator" target="GENGSI_SuccessIndicator" />
262         <camunda:out source="GENGS_siResourceLink" target="GENGSI_siResourceLink" />
263         <camunda:out source="WorkflowException" target="WorkflowException" />
264         <camunda:in source="GENGS_type" target="GENGS_type" />
265       </bpmn2:extensionElements>
266       <bpmn2:incoming>SequenceFlow_7</bpmn2:incoming>
267       <bpmn2:outgoing>SequenceFlow_3</bpmn2:outgoing>
268     </bpmn2:callActivity>
269     <bpmn2:sequenceFlow id="SequenceFlow_3" name="" sourceRef="callGetServiceInstance" targetRef="siFoundCheck" />
270     <bpmn2:scriptTask id="validateUpdatePONetwork_ScriptTask" name="Validate Update PO Network" scriptFormat="groovy">
271       <bpmn2:incoming>SequenceFlow_59</bpmn2:incoming>
272       <bpmn2:outgoing>SequenceFlow_13</bpmn2:outgoing>
273       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
274 def DoUpdateNetworkInstance = new DoUpdateNetworkInstance()
275 DoUpdateNetworkInstance.validateUpdateNetworkResponse(execution)]]></bpmn2:script>
276     </bpmn2:scriptTask>
277     <bpmn2:sequenceFlow id="SequenceFlow_13" name="" sourceRef="validateUpdatePONetwork_ScriptTask" targetRef="callRESTReQuery2NetworkID_ScriptTask" />
278     <bpmn2:serviceTask id="callUpdateNetwork_ServiceTask" name="Call Update Network">
279       <bpmn2:extensionElements>
280         <camunda:connector>
281           <camunda:inputOutput>
282             <camunda:inputParameter name="payload">${UPDNETI_updateNetworkRequest}</camunda:inputParameter>
283             <camunda:inputParameter name="url">${URN_mso_adapters_network_rest_endpoint}/${UPDNETI_networkId}</camunda:inputParameter>
284             <camunda:inputParameter name="headers">
285               <camunda:map>
286                 <camunda:entry key="Authorization">#{BasicAuthHeaderValuePO}</camunda:entry>
287                 <camunda:entry key="content-type">application/xml</camunda:entry>
288               </camunda:map>
289             </camunda:inputParameter>
290             <camunda:inputParameter name="method">PUT</camunda:inputParameter>
291             <camunda:outputParameter name="UPDNETI_networkReturnCode">${statusCode}</camunda:outputParameter>
292             <camunda:outputParameter name="UPDNETI_updateNetworkResponse">${response}</camunda:outputParameter>
293           </camunda:inputOutput>
294           <camunda:connectorId>http-connector</camunda:connectorId>
295         </camunda:connector>
296       </bpmn2:extensionElements>
297       <bpmn2:incoming>SequenceFlow_61</bpmn2:incoming>
298       <bpmn2:outgoing>SequenceFlow_59</bpmn2:outgoing>
299     </bpmn2:serviceTask>
300     <bpmn2:sequenceFlow id="SequenceFlow_59" name="" sourceRef="callUpdateNetwork_ServiceTask" targetRef="validateUpdatePONetwork_ScriptTask" />
301     <bpmn2:scriptTask id="prepareNetworkRequest_ScriptTask" name="Prepare Create Network Request" scriptFormat="groovy">
302       <bpmn2:incoming>SequenceFlow_2</bpmn2:incoming>
303       <bpmn2:outgoing>SequenceFlow_61</bpmn2:outgoing>
304       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
305 def DoUpdateNetworkInstance = new DoUpdateNetworkInstance()
306 DoUpdateNetworkInstance.prepareUpdateNetworkRequest(execution)
307 ]]></bpmn2:script>
308     </bpmn2:scriptTask>
309     <bpmn2:sequenceFlow id="SequenceFlow_61" name="" sourceRef="prepareNetworkRequest_ScriptTask" targetRef="callUpdateNetwork_ServiceTask" />
310     <bpmn2:scriptTask id="callRESTQueryNetworkTableRef_ScriptTask" name="Call REST Query Network TableRef in AAI" scriptFormat="groovy">
311       <bpmn2:incoming>SequenceFlow_38</bpmn2:incoming>
312       <bpmn2:outgoing>SequenceFlow_2</bpmn2:outgoing>
313       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
314 def DoUpdateNetworkInstance = new DoUpdateNetworkInstance()
315 DoUpdateNetworkInstance.callRESTQueryAAINetworkTableRef(execution)]]></bpmn2:script>
316     </bpmn2:scriptTask>
317     <bpmn2:sequenceFlow id="SequenceFlow_2" name="" sourceRef="callRESTQueryNetworkTableRef_ScriptTask" targetRef="prepareNetworkRequest_ScriptTask" />
318     <bpmn2:scriptTask id="callRESTReQuery1NetworkID_ScriptTask" name="Call REST ReQuery1 Network Id in AAI" scriptFormat="groovy">
319       <bpmn2:incoming>sdncTopoYes_SequenceFlow</bpmn2:incoming>
320       <bpmn2:outgoing>SequenceFlow_6</bpmn2:outgoing>
321       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
322 def DoUpdateNetworkInstance = new DoUpdateNetworkInstance()
323 DoUpdateNetworkInstance.callRESTReQueryAAINetworkId(execution)]]></bpmn2:script>
324     </bpmn2:scriptTask>
325     <bpmn2:sequenceFlow id="SequenceFlow_6" name="" sourceRef="callRESTReQuery1NetworkID_ScriptTask" targetRef="callRESTQueryVpnBinding_ScriptTask" />
326     <bpmn2:scriptTask id="callRESTQueryVpnBinding_ScriptTask" name="Call REST Query Vpn Binding in AAI" scriptFormat="groovy">
327       <bpmn2:incoming>SequenceFlow_6</bpmn2:incoming>
328       <bpmn2:outgoing>SequenceFlow_15</bpmn2:outgoing>
329       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
330 def DoUpdateNetworkInstance = new DoUpdateNetworkInstance()
331 DoUpdateNetworkInstance.callRESTQueryAAINetworkVpnBinding(execution)]]></bpmn2:script>
332     </bpmn2:scriptTask>
333     <bpmn2:sequenceFlow id="SequenceFlow_15" name="" sourceRef="callRESTQueryVpnBinding_ScriptTask" targetRef="callRESTQueryNetworkPolicy_ScriptTask" />
334     <bpmn2:scriptTask id="callRESTQueryNetworkPolicy_ScriptTask" name="Call REST Query Network Policy in AAI" scriptFormat="groovy">
335       <bpmn2:incoming>SequenceFlow_15</bpmn2:incoming>
336       <bpmn2:outgoing>SequenceFlow_38</bpmn2:outgoing>
337       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
338 def DoUpdateNetworkInstance = new DoUpdateNetworkInstance()
339 DoUpdateNetworkInstance.callRESTQueryAAINetworkPolicy(execution)]]></bpmn2:script>
340     </bpmn2:scriptTask>
341     <bpmn2:sequenceFlow id="SequenceFlow_38" name="" sourceRef="callRESTQueryNetworkPolicy_ScriptTask" targetRef="callRESTQueryNetworkTableRef_ScriptTask" />
342   </bpmn2:process>
343   <bpmn2:error id="Error_2" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
344   <bpmn2:error id="Error_1" name="java.lang.Exception" errorCode="java.lang.Exception" />
345   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
346     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DoUpdateNetworkInstance">
347       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_47" bpmnElement="updateNetwork_startEvent">
348         <dc:Bounds x="286" y="185" width="36" height="36" />
349         <bpmndi:BPMNLabel>
350           <dc:Bounds x="279" y="226" width="49" height="12" />
351         </bpmndi:BPMNLabel>
352       </bpmndi:BPMNShape>
353       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_61" bpmnElement="preProcessRequest_ScriptTask">
354         <dc:Bounds x="472" y="163" width="100" height="80" />
355       </bpmndi:BPMNShape>
356       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="_BPMNShape_StartEvent_47" targetElement="_BPMNShape_ScriptTask_61">
357         <di:waypoint xsi:type="dc:Point" x="322" y="203" />
358         <di:waypoint xsi:type="dc:Point" x="472" y="203" />
359         <bpmndi:BPMNLabel>
360           <dc:Bounds x="397" y="188" width="0" height="0" />
361         </bpmndi:BPMNLabel>
362       </bpmndi:BPMNEdge>
363       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_63" bpmnElement="validateUpdatePONetwork_ScriptTask">
364         <dc:Bounds x="1343" y="1311" width="100" height="80" />
365       </bpmndi:BPMNShape>
366       <bpmndi:BPMNShape id="_BPMNShape_ServiceTask_83" bpmnElement="callUpdateNetwork_ServiceTask">
367         <dc:Bounds x="1342" y="1176" width="100" height="80" />
368       </bpmndi:BPMNShape>
369       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_67" bpmnElement="prepareSDNCTopoRequest_ScriptTask">
370         <dc:Bounds x="1519" y="100" width="100" height="80" />
371       </bpmndi:BPMNShape>
372       <bpmndi:BPMNShape id="_BPMNShape_SubProcess_16" bpmnElement="subProcessException_SubProcess" isExpanded="true">
373         <dc:Bounds x="-153" y="594" width="1288" height="701" />
374       </bpmndi:BPMNShape>
375       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_50" bpmnElement="subProcessStart_StartEvent">
376         <dc:Bounds x="-103" y="1160" width="36" height="36" />
377         <bpmndi:BPMNLabel>
378           <dc:Bounds x="-109" y="1201" width="50" height="12" />
379         </bpmndi:BPMNLabel>
380       </bpmndi:BPMNShape>
381       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_67" bpmnElement="isSdncTopoOk_ExclusiveGateway" isMarkerVisible="true">
382         <dc:Bounds x="1544" y="521" width="50" height="50" />
383         <bpmndi:BPMNLabel>
384           <dc:Bounds x="1535" y="577" width="67" height="12" />
385         </bpmndi:BPMNLabel>
386       </bpmndi:BPMNShape>
387       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_26" bpmnElement="sdncTopoNo_SequenceFlow" sourceElement="_BPMNShape_ExclusiveGateway_67" targetElement="_BPMNShape_EndEvent_124">
388         <di:waypoint xsi:type="dc:Point" x="1594" y="546" />
389         <di:waypoint xsi:type="dc:Point" x="1682" y="546" />
390         <bpmndi:BPMNLabel>
391           <dc:Bounds x="1600" y="546.8622891951518" width="14" height="12" />
392         </bpmndi:BPMNLabel>
393       </bpmndi:BPMNEdge>
394       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_28" bpmnElement="sdncTopoYes_SequenceFlow" sourceElement="_BPMNShape_ExclusiveGateway_67" targetElement="_BPMNShape_ScriptTask_336">
395         <di:waypoint xsi:type="dc:Point" x="1544" y="546" />
396         <di:waypoint xsi:type="dc:Point" x="1393" y="546" />
397         <di:waypoint xsi:type="dc:Point" x="1393" y="576" />
398         <bpmndi:BPMNLabel>
399           <dc:Bounds x="1526" y="546" width="18" height="12" />
400         </bpmndi:BPMNLabel>
401       </bpmndi:BPMNEdge>
402       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_80" bpmnElement="postProcessAndCompletionRequest_ScriptTask">
403         <dc:Bounds x="743" y="1390" width="100" height="80" />
404       </bpmndi:BPMNShape>
405       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_124" bpmnElement="sndcError_EndEvent">
406         <dc:Bounds x="1682" y="528" width="36" height="36" />
407         <bpmndi:BPMNLabel>
408           <dc:Bounds x="1663" y="569" width="74" height="22" />
409         </bpmndi:BPMNLabel>
410       </bpmndi:BPMNShape>
411       <bpmndi:BPMNShape id="_BPMNShape_CallActivity_19" bpmnElement="callAssignSDNCAdapter_CallActivity">
412         <dc:Bounds x="1519" y="242" width="100" height="80" />
413       </bpmndi:BPMNShape>
414       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_24" bpmnElement="SequenceFlow_11" sourceElement="_BPMNShape_ScriptTask_67" targetElement="_BPMNShape_CallActivity_19">
415         <di:waypoint xsi:type="dc:Point" x="1569" y="180" />
416         <di:waypoint xsi:type="dc:Point" x="1569" y="242" />
417         <bpmndi:BPMNLabel>
418           <dc:Bounds x="1584" y="211" width="0" height="0" />
419         </bpmndi:BPMNLabel>
420       </bpmndi:BPMNEdge>
421       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_29" bpmnElement="SequenceFlow_12" sourceElement="_BPMNShape_CallActivity_19" targetElement="_BPMNShape_ScriptTask_131">
422         <di:waypoint xsi:type="dc:Point" x="1569" y="322" />
423         <di:waypoint xsi:type="dc:Point" x="1569" y="373" />
424         <bpmndi:BPMNLabel>
425           <dc:Bounds x="1584" y="347.5" width="0" height="0" />
426         </bpmndi:BPMNLabel>
427       </bpmndi:BPMNEdge>
428       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_12" bpmnElement="SequenceFlow_7" sourceElement="_BPMNShape_ScriptTask_61">
429         <di:waypoint xsi:type="dc:Point" x="572" y="203" />
430         <di:waypoint xsi:type="dc:Point" x="686" y="203" />
431         <bpmndi:BPMNLabel>
432           <dc:Bounds x="629" y="188" width="0" height="0" />
433         </bpmndi:BPMNLabel>
434       </bpmndi:BPMNEdge>
435       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_35" bpmnElement="SequenceFlow_23" sourceElement="_BPMNShape_StartEvent_50" targetElement="_BPMNShape_ExclusiveGateway_90">
436         <di:waypoint xsi:type="dc:Point" x="-67" y="1178" />
437         <di:waypoint xsi:type="dc:Point" x="-40" y="1178" />
438         <di:waypoint xsi:type="dc:Point" x="-11" y="1178" />
439         <bpmndi:BPMNLabel>
440           <dc:Bounds x="-53" y="1163" width="0" height="0" />
441         </bpmndi:BPMNLabel>
442       </bpmndi:BPMNEdge>
443       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_131" bpmnElement="validateSDNCResponse_ScriptTask">
444         <dc:Bounds x="1519" y="373" width="100" height="80" />
445       </bpmndi:BPMNShape>
446       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_11" bpmnElement="SequenceFlow_5" sourceElement="_BPMNShape_ScriptTask_131" targetElement="_BPMNShape_ExclusiveGateway_67">
447         <di:waypoint xsi:type="dc:Point" x="1569" y="453" />
448         <di:waypoint xsi:type="dc:Point" x="1569" y="521" />
449         <bpmndi:BPMNLabel>
450           <dc:Bounds x="1584" y="487" width="0" height="0" />
451         </bpmndi:BPMNLabel>
452       </bpmndi:BPMNEdge>
453       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_42" bpmnElement="SequenceFlow_29" sourceElement="_BPMNShape_ScriptTask_80">
454         <di:waypoint xsi:type="dc:Point" x="743" y="1430" />
455         <di:waypoint xsi:type="dc:Point" x="635" y="1430" />
456         <bpmndi:BPMNLabel>
457           <dc:Bounds x="689" y="1415" width="0" height="0" />
458         </bpmndi:BPMNLabel>
459       </bpmndi:BPMNEdge>
460       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_133" bpmnElement="callRESTQueryNetworkId_ScriptTask">
461         <dc:Bounds x="984" y="100" width="100" height="80" />
462       </bpmndi:BPMNShape>
463       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_134" bpmnElement="callRESTReQuery2NetworkID_ScriptTask">
464         <dc:Bounds x="1176" y="1390" width="100" height="80" />
465       </bpmndi:BPMNShape>
466       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_135" bpmnElement="callRESTUpdateContrailNetwork_ScriptTask">
467         <dc:Bounds x="984" y="1390" width="100" height="80" />
468       </bpmndi:BPMNShape>
469       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_54" bpmnElement="SequenceFlow_35" sourceElement="_BPMNShape_ScriptTask_134" targetElement="_BPMNShape_ScriptTask_135">
470         <di:waypoint xsi:type="dc:Point" x="1176" y="1430" />
471         <di:waypoint xsi:type="dc:Point" x="1084" y="1430" />
472         <bpmndi:BPMNLabel>
473           <dc:Bounds x="1130" y="1415" width="0" height="0" />
474         </bpmndi:BPMNLabel>
475       </bpmndi:BPMNEdge>
476       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_65" bpmnElement="SequenceFlow_46" sourceElement="_BPMNShape_ScriptTask_135">
477         <di:waypoint xsi:type="dc:Point" x="984" y="1430" />
478         <di:waypoint xsi:type="dc:Point" x="843" y="1430" />
479         <bpmndi:BPMNLabel>
480           <dc:Bounds x="935" y="1431.2411831373652" width="32" height="12" />
481         </bpmndi:BPMNLabel>
482       </bpmndi:BPMNEdge>
483       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_156" bpmnElement="callRESTQueryVpnBinding_ScriptTask">
484         <dc:Bounds x="1341" y="688" width="100" height="80" />
485       </bpmndi:BPMNShape>
486       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_18" bpmnElement="SequenceFlow_15" sourceElement="_BPMNShape_ScriptTask_156" targetElement="_BPMNShape_ScriptTask_215">
487         <di:waypoint xsi:type="dc:Point" x="1391" y="768" />
488         <di:waypoint xsi:type="dc:Point" x="1391" y="810" />
489         <bpmndi:BPMNLabel>
490           <dc:Bounds x="1388" y="781" width="6" height="6" />
491         </bpmndi:BPMNLabel>
492       </bpmndi:BPMNEdge>
493       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_87" bpmnElement="SequenceFlow_59" sourceElement="_BPMNShape_ServiceTask_83" targetElement="_BPMNShape_ScriptTask_63">
494         <di:waypoint xsi:type="dc:Point" x="1392" y="1256" />
495         <di:waypoint xsi:type="dc:Point" x="1393" y="1311" />
496         <bpmndi:BPMNLabel>
497           <dc:Bounds x="1390" y="1284" width="6" height="6" />
498         </bpmndi:BPMNLabel>
499       </bpmndi:BPMNEdge>
500       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_157" bpmnElement="prepareNetworkRequest_ScriptTask">
501         <dc:Bounds x="1342" y="1052" width="100" height="80" />
502       </bpmndi:BPMNShape>
503       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_89" bpmnElement="SequenceFlow_61" sourceElement="_BPMNShape_ScriptTask_157" targetElement="_BPMNShape_ServiceTask_83">
504         <di:waypoint xsi:type="dc:Point" x="1392" y="1132" />
505         <di:waypoint xsi:type="dc:Point" x="1392" y="1176" />
506         <bpmndi:BPMNLabel>
507           <dc:Bounds x="1389" y="1159" width="6" height="6" />
508         </bpmndi:BPMNLabel>
509       </bpmndi:BPMNEdge>
510       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_90" bpmnElement="isRollbackOn_Network_ExclusiveGateway" isMarkerVisible="true">
511         <dc:Bounds x="156" y="1153" width="50" height="50" />
512         <bpmndi:BPMNLabel>
513           <dc:Bounds x="143" y="1213" width="78" height="12" />
514         </bpmndi:BPMNLabel>
515       </bpmndi:BPMNShape>
516       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_25" bpmnElement="isRollbackOn_YesNetwork_SequenceFlow" sourceElement="_BPMNShape_ExclusiveGateway_90" targetElement="_BPMNShape_ExclusiveGateway_215">
517         <di:waypoint xsi:type="dc:Point" x="181" y="1153" />
518         <di:waypoint xsi:type="dc:Point" x="181" y="1089" />
519         <bpmndi:BPMNLabel>
520           <dc:Bounds x="187" y="1133.4787123394708" width="18" height="12" />
521         </bpmndi:BPMNLabel>
522       </bpmndi:BPMNEdge>
523       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_34" bpmnElement="isRollbackOn_NoNetwork_SequenceFlow" sourceElement="_BPMNShape_ExclusiveGateway_90" targetElement="_BPMNShape_InclusiveGateway_24">
524         <di:waypoint xsi:type="dc:Point" x="206" y="1178" />
525         <di:waypoint xsi:type="dc:Point" x="372" y="1178" />
526         <bpmndi:BPMNLabel>
527           <dc:Bounds x="206" y="1182.7278101950883" width="14" height="12" />
528         </bpmndi:BPMNLabel>
529       </bpmndi:BPMNEdge>
530       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_215" bpmnElement="callRESTQueryNetworkPolicy_ScriptTask">
531         <dc:Bounds x="1341" y="810" width="100" height="80" />
532       </bpmndi:BPMNShape>
533       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_60" bpmnElement="SequenceFlow_38" sourceElement="_BPMNShape_ScriptTask_215" targetElement="_BPMNShape_ScriptTask_335">
534         <di:waypoint xsi:type="dc:Point" x="1391" y="890" />
535         <di:waypoint xsi:type="dc:Point" x="1391" y="926" />
536         <bpmndi:BPMNLabel>
537           <dc:Bounds x="1388" y="900" width="6" height="6" />
538         </bpmndi:BPMNLabel>
539       </bpmndi:BPMNEdge>
540       <bpmndi:BPMNShape id="_BPMNShape_InclusiveGateway_24" bpmnElement="InclusiveGateway_6">
541         <dc:Bounds x="626" y="859" width="50" height="50" />
542         <bpmndi:BPMNLabel>
543           <dc:Bounds x="651" y="914" width="0" height="0" />
544         </bpmndi:BPMNLabel>
545       </bpmndi:BPMNShape>
546       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_215" bpmnElement="isPONR_ExclusiveGateway" isMarkerVisible="true">
547         <dc:Bounds x="156" y="1039" width="50" height="50" />
548         <bpmndi:BPMNLabel>
549           <dc:Bounds x="90" y="1054" width="46" height="12" />
550         </bpmndi:BPMNLabel>
551       </bpmndi:BPMNShape>
552       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_77" bpmnElement="isPONR_Yes_SequenceFlow" sourceElement="_BPMNShape_ExclusiveGateway_215" targetElement="_BPMNShape_InclusiveGateway_24">
553         <di:waypoint xsi:type="dc:Point" x="206" y="1064" />
554         <di:waypoint xsi:type="dc:Point" x="397" y="1064" />
555         <di:waypoint xsi:type="dc:Point" x="397" y="1153" />
556         <bpmndi:BPMNLabel>
557           <dc:Bounds x="213" y="1067.6448598130842" width="18" height="12" />
558         </bpmndi:BPMNLabel>
559       </bpmndi:BPMNEdge>
560       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_85" bpmnElement="isPONR_No_SequenceFlow" sourceElement="_BPMNShape_ExclusiveGateway_215">
561         <di:waypoint xsi:type="dc:Point" x="181" y="1039" />
562         <di:waypoint xsi:type="dc:Point" x="181" y="971" />
563         <di:waypoint xsi:type="dc:Point" x="397" y="971" />
564         <di:waypoint xsi:type="dc:Point" x="397" y="1153" />
565         <bpmndi:BPMNLabel>
566           <dc:Bounds x="185" y="1027.872131147541" width="14" height="12" />
567         </bpmndi:BPMNLabel>
568       </bpmndi:BPMNEdge>
569       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_217" bpmnElement="sdncOk_ExclusiveGateway" isMarkerVisible="true">
570         <dc:Bounds x="493" y="709" width="50" height="50" />
571         <bpmndi:BPMNLabel>
572           <dc:Bounds x="488" y="683" width="60" height="12" />
573         </bpmndi:BPMNLabel>
574       </bpmndi:BPMNShape>
575       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_92" bpmnElement="sdncOk_Yeso_ExclusiveGateway" sourceElement="_BPMNShape_ExclusiveGateway_217" targetElement="_BPMNShape_ScriptTask_261">
576         <di:waypoint xsi:type="dc:Point" x="543" y="734" />
577         <di:waypoint xsi:type="dc:Point" x="601" y="733" />
578         <bpmndi:BPMNLabel>
579           <dc:Bounds x="545" y="737.2172362208834" width="18" height="12" />
580         </bpmndi:BPMNLabel>
581       </bpmndi:BPMNEdge>
582       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_93" bpmnElement="sdncOk_No_ExclusiveGateway" sourceElement="_BPMNShape_ExclusiveGateway_217">
583         <di:waypoint xsi:type="dc:Point" x="517" y="758" />
584         <di:waypoint xsi:type="dc:Point" x="517" y="884" />
585         <di:waypoint xsi:type="dc:Point" x="626" y="884" />
586         <bpmndi:BPMNLabel>
587           <dc:Bounds x="526" y="761.1171067354646" width="14" height="12" />
588         </bpmndi:BPMNLabel>
589       </bpmndi:BPMNEdge>
590       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_177" bpmnElement="EndEvent_3">
591         <dc:Bounds x="599" y="1412" width="36" height="36" />
592         <bpmndi:BPMNLabel>
593           <dc:Bounds x="617" y="1453" width="0" height="0" />
594         </bpmndi:BPMNLabel>
595       </bpmndi:BPMNShape>
596       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_178" bpmnElement="EndEvent_4">
597         <dc:Bounds x="1029" y="968" width="36" height="36" />
598         <bpmndi:BPMNLabel>
599           <dc:Bounds x="1047" y="1009" width="0" height="0" />
600         </bpmndi:BPMNLabel>
601       </bpmndi:BPMNShape>
602       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_245" bpmnElement="callRESTQueryCloudRegion_ScriptTask">
603         <dc:Bounds x="1200" y="100" width="100" height="80" />
604       </bpmndi:BPMNShape>
605       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_53" bpmnElement="SequenceFlow_32" sourceElement="_BPMNShape_ScriptTask_245" targetElement="_BPMNShape_ScriptTask_67">
606         <di:waypoint xsi:type="dc:Point" x="1300" y="140" />
607         <di:waypoint xsi:type="dc:Point" x="1519" y="140" />
608         <bpmndi:BPMNLabel>
609           <dc:Bounds x="1410" y="125" width="0" height="0" />
610         </bpmndi:BPMNLabel>
611       </bpmndi:BPMNEdge>
612       <bpmndi:BPMNShape id="_BPMNShape_BoundaryEvent_38" bpmnElement="BoundaryEvent_4">
613         <dc:Bounds x="1601" y="355" width="36" height="36" />
614         <bpmndi:BPMNLabel>
615           <dc:Bounds x="1619" y="391" width="0" height="0" />
616         </bpmndi:BPMNLabel>
617       </bpmndi:BPMNShape>
618       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_69" bpmnElement="SequenceFlow_34" sourceElement="_BPMNShape_BoundaryEvent_38" targetElement="_BPMNShape_EndEvent_124">
619         <di:waypoint xsi:type="dc:Point" x="1637" y="373" />
620         <di:waypoint xsi:type="dc:Point" x="1700" y="373" />
621         <di:waypoint xsi:type="dc:Point" x="1700" y="528" />
622         <bpmndi:BPMNLabel>
623           <dc:Bounds x="1669" y="358" width="0" height="0" />
624         </bpmndi:BPMNLabel>
625       </bpmndi:BPMNEdge>
626       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_261" bpmnElement="prepareSDNCRollbackRequest_ScriptTask">
627         <dc:Bounds x="601" y="694" width="100" height="79" />
628       </bpmndi:BPMNShape>
629       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_76" bpmnElement="SequenceFlow_47" sourceElement="_BPMNShape_InclusiveGateway_24">
630         <di:waypoint xsi:type="dc:Point" x="651" y="909" />
631         <di:waypoint xsi:type="dc:Point" x="651" y="946" />
632         <bpmndi:BPMNLabel>
633           <dc:Bounds x="666" y="927.5" width="0" height="0" />
634         </bpmndi:BPMNLabel>
635       </bpmndi:BPMNEdge>
636       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_84" bpmnElement="SequenceFlow_53" sourceElement="_BPMNShape_ScriptTask_261">
637         <di:waypoint xsi:type="dc:Point" x="651" y="773" />
638         <di:waypoint xsi:type="dc:Point" x="651" y="859" />
639         <bpmndi:BPMNLabel>
640           <dc:Bounds x="666" y="816" width="0" height="0" />
641         </bpmndi:BPMNLabel>
642       </bpmndi:BPMNEdge>
643       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_19" bpmnElement="SequenceFlow_13" sourceElement="_BPMNShape_ScriptTask_63" targetElement="_BPMNShape_ScriptTask_134">
644         <di:waypoint xsi:type="dc:Point" x="1393" y="1391" />
645         <di:waypoint xsi:type="dc:Point" x="1393" y="1430" />
646         <di:waypoint xsi:type="dc:Point" x="1310" y="1430" />
647         <di:waypoint xsi:type="dc:Point" x="1276" y="1430" />
648         <bpmndi:BPMNLabel>
649           <dc:Bounds x="1390" y="1425" width="6" height="6" />
650         </bpmndi:BPMNLabel>
651       </bpmndi:BPMNEdge>
652       <bpmndi:BPMNShape id="_BPMNShape_SubProcess_28" bpmnElement="unexpectedErrors_SubProcess" isExpanded="true">
653         <dc:Bounds x="-62" y="375" width="394" height="188" />
654       </bpmndi:BPMNShape>
655       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_71" bpmnElement="StartEvent_1">
656         <dc:Bounds x="-29" y="452" width="36" height="36" />
657         <bpmndi:BPMNLabel>
658           <dc:Bounds x="-11" y="493" width="0" height="0" />
659         </bpmndi:BPMNLabel>
660       </bpmndi:BPMNShape>
661       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_270" bpmnElement="ScriptTask_1">
662         <dc:Bounds x="86" y="430" width="100" height="80" />
663       </bpmndi:BPMNShape>
664       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_220" bpmnElement="EndEvent_1">
665         <dc:Bounds x="247" y="452" width="36" height="36" />
666         <bpmndi:BPMNLabel>
667           <dc:Bounds x="265" y="493" width="0" height="0" />
668         </bpmndi:BPMNLabel>
669       </bpmndi:BPMNShape>
670       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_5" bpmnElement="SequenceFlow_10" sourceElement="_BPMNShape_StartEvent_71" targetElement="_BPMNShape_ScriptTask_270">
671         <di:waypoint xsi:type="dc:Point" x="7" y="470" />
672         <di:waypoint xsi:type="dc:Point" x="86" y="470" />
673         <bpmndi:BPMNLabel>
674           <dc:Bounds x="49" y="470" width="0" height="0" />
675         </bpmndi:BPMNLabel>
676       </bpmndi:BPMNEdge>
677       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_13" bpmnElement="SequenceFlow_14" sourceElement="_BPMNShape_ScriptTask_270" targetElement="_BPMNShape_EndEvent_220">
678         <di:waypoint xsi:type="dc:Point" x="186" y="470" />
679         <di:waypoint xsi:type="dc:Point" x="247" y="470" />
680         <bpmndi:BPMNLabel>
681           <dc:Bounds x="221" y="470" width="0" height="0" />
682         </bpmndi:BPMNLabel>
683       </bpmndi:BPMNEdge>
684       <bpmndi:BPMNShape id="_BPMNShape_CallActivity_72" bpmnElement="callGetServiceInstance">
685         <dc:Bounds x="686" y="163" width="100" height="80" />
686       </bpmndi:BPMNShape>
687       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_244" bpmnElement="siFoundCheck" isMarkerVisible="true">
688         <dc:Bounds x="836" y="177" width="50" height="50" />
689         <bpmndi:BPMNLabel>
690           <dc:Bounds x="891" y="195" width="79" height="22" />
691         </bpmndi:BPMNLabel>
692       </bpmndi:BPMNShape>
693       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_3" bpmnElement="SequenceFlow_3" sourceElement="_BPMNShape_CallActivity_72" targetElement="_BPMNShape_ExclusiveGateway_244">
694         <di:waypoint xsi:type="dc:Point" x="786" y="203" />
695         <di:waypoint xsi:type="dc:Point" x="805" y="203" />
696         <di:waypoint xsi:type="dc:Point" x="805" y="202" />
697         <di:waypoint xsi:type="dc:Point" x="836" y="202" />
698         <bpmndi:BPMNLabel>
699           <dc:Bounds x="799" y="203" width="6" height="6" />
700         </bpmndi:BPMNLabel>
701       </bpmndi:BPMNEdge>
702       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_17" bpmnElement="siFoundYes" sourceElement="_BPMNShape_ExclusiveGateway_244" targetElement="_BPMNShape_ScriptTask_133">
703         <di:waypoint xsi:type="dc:Point" x="861" y="177" />
704         <di:waypoint xsi:type="dc:Point" x="861" y="140" />
705         <di:waypoint xsi:type="dc:Point" x="910" y="140" />
706         <di:waypoint xsi:type="dc:Point" x="984" y="140" />
707         <bpmndi:BPMNLabel>
708           <dc:Bounds x="868" y="157" width="29" height="22" />
709         </bpmndi:BPMNLabel>
710       </bpmndi:BPMNEdge>
711       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_331" bpmnElement="workflowExceptionSINotFound">
712         <dc:Bounds x="984" y="256" width="100" height="80" />
713       </bpmndi:BPMNShape>
714       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_20" bpmnElement="siFoundNo" sourceElement="_BPMNShape_ExclusiveGateway_244" targetElement="_BPMNShape_ScriptTask_331">
715         <di:waypoint xsi:type="dc:Point" x="861" y="227" />
716         <di:waypoint xsi:type="dc:Point" x="861" y="296" />
717         <di:waypoint xsi:type="dc:Point" x="984" y="296" />
718         <bpmndi:BPMNLabel>
719           <dc:Bounds x="871" y="233" width="22" height="22" />
720         </bpmndi:BPMNLabel>
721       </bpmndi:BPMNEdge>
722       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_22" bpmnElement="SequenceFlow_24" sourceElement="_BPMNShape_ScriptTask_133" targetElement="_BPMNShape_ScriptTask_245">
723         <di:waypoint xsi:type="dc:Point" x="1084" y="140" />
724         <di:waypoint xsi:type="dc:Point" x="1200" y="140" />
725         <bpmndi:BPMNLabel>
726           <dc:Bounds x="1127" y="140" width="6" height="6" />
727         </bpmndi:BPMNLabel>
728       </bpmndi:BPMNEdge>
729       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_335" bpmnElement="callRESTQueryNetworkTableRef_ScriptTask">
730         <dc:Bounds x="1341" y="926" width="100" height="80" />
731       </bpmndi:BPMNShape>
732       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_2" bpmnElement="SequenceFlow_2" sourceElement="_BPMNShape_ScriptTask_335" targetElement="_BPMNShape_ScriptTask_157">
733         <di:waypoint xsi:type="dc:Point" x="1391" y="1006" />
734         <di:waypoint xsi:type="dc:Point" x="1392" y="1052" />
735         <bpmndi:BPMNLabel>
736           <dc:Bounds x="1388" y="1028" width="6" height="6" />
737         </bpmndi:BPMNLabel>
738       </bpmndi:BPMNEdge>
739       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_336" bpmnElement="callRESTReQuery1NetworkID_ScriptTask">
740         <dc:Bounds x="1343" y="576" width="100" height="80" />
741       </bpmndi:BPMNShape>
742       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_4" bpmnElement="SequenceFlow_6" sourceElement="_BPMNShape_ScriptTask_336" targetElement="_BPMNShape_ScriptTask_156">
743         <di:waypoint xsi:type="dc:Point" x="1393" y="656" />
744         <di:waypoint xsi:type="dc:Point" x="1393" y="672" />
745         <di:waypoint xsi:type="dc:Point" x="1391" y="672" />
746         <di:waypoint xsi:type="dc:Point" x="1391" y="688" />
747         <bpmndi:BPMNLabel>
748           <dc:Bounds x="1390" y="666" width="6" height="6" />
749         </bpmndi:BPMNLabel>
750       </bpmndi:BPMNEdge>
751       <bpmndi:BPMNShape id="ScriptTask_1p6n2yy_di" bpmnElement="ScriptTask_1p6n2yy">
752         <dc:Bounds x="601" y="946" width="100" height="80" />
753       </bpmndi:BPMNShape>
754       <bpmndi:BPMNShape id="CallActivity_1kid5y0_di" bpmnElement="CallActivity_1kid5y0">
755         <dc:Bounds x="739" y="946" width="100" height="80" />
756       </bpmndi:BPMNShape>
757       <bpmndi:BPMNShape id="ScriptTask_0voqz6r_di" bpmnElement="ScriptTask_0voqz6r">
758         <dc:Bounds x="883" y="946" width="100" height="80" />
759       </bpmndi:BPMNShape>
760       <bpmndi:BPMNEdge id="SequenceFlow_0qr4es6_di" bpmnElement="SequenceFlow_0qr4es6">
761         <di:waypoint xsi:type="dc:Point" x="701" y="986" />
762         <di:waypoint xsi:type="dc:Point" x="739" y="986" />
763         <bpmndi:BPMNLabel>
764           <dc:Bounds x="720" y="971" width="0" height="0" />
765         </bpmndi:BPMNLabel>
766       </bpmndi:BPMNEdge>
767       <bpmndi:BPMNEdge id="SequenceFlow_04rdjfi_di" bpmnElement="SequenceFlow_04rdjfi">
768         <di:waypoint xsi:type="dc:Point" x="983" y="986" />
769         <di:waypoint xsi:type="dc:Point" x="1029" y="986" />
770         <bpmndi:BPMNLabel>
771           <dc:Bounds x="1006" y="961" width="0" height="0" />
772         </bpmndi:BPMNLabel>
773       </bpmndi:BPMNEdge>
774       <bpmndi:BPMNShape id="ExclusiveGateway_1kjh92x_di" bpmnElement="ExclusiveGateway_1kjh92x" isMarkerVisible="true">
775         <dc:Bounds x="372" y="709" width="50" height="50" />
776         <bpmndi:BPMNLabel>
777           <dc:Bounds x="368" y="672" width="76" height="24" />
778         </bpmndi:BPMNLabel>
779       </bpmndi:BPMNShape>
780       <bpmndi:BPMNEdge id="SequenceFlow_0nrc66n_di" bpmnElement="SequenceFlow_0nrc66n">
781         <di:waypoint xsi:type="dc:Point" x="422" y="734" />
782         <di:waypoint xsi:type="dc:Point" x="493" y="734" />
783         <bpmndi:BPMNLabel>
784           <dc:Bounds x="427" y="735" width="14" height="12" />
785         </bpmndi:BPMNLabel>
786       </bpmndi:BPMNEdge>
787       <bpmndi:BPMNEdge id="SequenceFlow_0srdlf3_di" bpmnElement="SequenceFlow_0srdlf3">
788         <di:waypoint xsi:type="dc:Point" x="397" y="759" />
789         <di:waypoint xsi:type="dc:Point" x="397" y="884" />
790         <di:waypoint xsi:type="dc:Point" x="626" y="884" />
791         <bpmndi:BPMNLabel>
792           <dc:Bounds x="402" y="760" width="18" height="12" />
793         </bpmndi:BPMNLabel>
794       </bpmndi:BPMNEdge>
795       <bpmndi:BPMNShape id="ScriptTask_1gedbow_di" bpmnElement="ScriptTask_1gedbow">
796         <dc:Bounds x="-11" y="1138" width="100" height="80" />
797       </bpmndi:BPMNShape>
798       <bpmndi:BPMNEdge id="SequenceFlow_053re4q_di" bpmnElement="SequenceFlow_053re4q">
799         <di:waypoint xsi:type="dc:Point" x="89" y="1178" />
800         <di:waypoint xsi:type="dc:Point" x="156" y="1178" />
801         <bpmndi:BPMNLabel>
802           <dc:Bounds x="123" y="1163" width="0" height="0" />
803         </bpmndi:BPMNLabel>
804       </bpmndi:BPMNEdge>
805       <bpmndi:BPMNShape id="InclusiveGateway_1adrta3_di" bpmnElement="ExclusiveGateway_1dcb5p2">
806         <dc:Bounds x="372" y="1153" width="50" height="50" />
807         <bpmndi:BPMNLabel>
808           <dc:Bounds x="397" y="1203" width="0" height="0" />
809         </bpmndi:BPMNLabel>
810       </bpmndi:BPMNShape>
811       <bpmndi:BPMNEdge id="SequenceFlow_0ze5k6c_di" bpmnElement="SequenceFlow_0ze5k6c">
812         <di:waypoint xsi:type="dc:Point" x="422" y="1178" />
813         <di:waypoint xsi:type="dc:Point" x="933" y="1178" />
814         <di:waypoint xsi:type="dc:Point" x="933" y="1026" />
815         <bpmndi:BPMNLabel>
816           <dc:Bounds x="678" y="1163" width="0" height="0" />
817         </bpmndi:BPMNLabel>
818       </bpmndi:BPMNEdge>
819       <bpmndi:BPMNShape id="TextAnnotation_0qx19b9_di" bpmnElement="TextAnnotation_0qx19b9">
820         <dc:Bounds x="736" y="808" width="168" height="39" />
821       </bpmndi:BPMNShape>
822       <bpmndi:BPMNEdge id="Association_10dk4x3_di" bpmnElement="Association_10dk4x3">
823         <di:waypoint xsi:type="dc:Point" x="797" y="946" />
824         <di:waypoint xsi:type="dc:Point" x="816" y="847" />
825       </bpmndi:BPMNEdge>
826     </bpmndi:BPMNPlane>
827   </bpmndi:BPMNDiagram>
828 </bpmn2:definitions>