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="2.0.3" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd">
3 <bpmn2:process id="DoCreateNetworkInstance" name="DoCreateNetworkInstance" isExecutable="true">
4 <bpmn2:startEvent id="createNetwork_startEvent" name="Start Flow">
5 <bpmn2:outgoing>SequenceFlow_1n61wit</bpmn2:outgoing>
7 <bpmn2:inclusiveGateway id="InclusiveGateway">
8 <bpmn2:incoming>isNetworkActiveNo_SequenceFlow</bpmn2:incoming>
9 <bpmn2:incoming>isAAIQueryNameNo_SequenceFlow</bpmn2:incoming>
10 <bpmn2:outgoing>SequenceFlow_21</bpmn2:outgoing>
11 </bpmn2:inclusiveGateway>
12 <bpmn2:sequenceFlow id="SequenceFlow_21" sourceRef="InclusiveGateway" targetRef="callRESTQueryCloudRegion_ScriptTask" />
13 <bpmn2:scriptTask id="callRESTQueryCloudRegion_ScriptTask" name="Call REST Query Cloud Region " scriptFormat="groovy">
14 <bpmn2:incoming>SequenceFlow_21</bpmn2:incoming>
15 <bpmn2:incoming>isNameSentNo_SequenceFlow</bpmn2:incoming>
16 <bpmn2:outgoing>SequenceFlow_32</bpmn2:outgoing>
17 <bpmn2:script>import org.onap.so.bpmn.infrastructure.scripts.*
18 def DoCreateNetworkInstance = new DoCreateNetworkInstance()
19 DoCreateNetworkInstance.callRESTQueryAAICloudRegion(execution)</bpmn2:script>
21 <bpmn2:sequenceFlow id="SequenceFlow_32" name="" sourceRef="callRESTQueryCloudRegion_ScriptTask" targetRef="isSdncRpc1_ExclusiveGateway1" />
22 <bpmn2:scriptTask id="prepareSDNCTopoRequest_ScriptTask" name="Prepare Assign SDNC Request" scriptFormat="groovy">
23 <bpmn2:incoming>isSdncRpc1No_SequenceFlow1</bpmn2:incoming>
24 <bpmn2:outgoing>SequenceFlow_11</bpmn2:outgoing>
25 <bpmn2:script>import org.onap.so.bpmn.infrastructure.scripts.*
26 def DoCreateNetworkInstance = new DoCreateNetworkInstance()
27 DoCreateNetworkInstance.prepareSDNCRequest(execution)
30 <bpmn2:sequenceFlow id="SequenceFlow_11" name="" sourceRef="prepareSDNCTopoRequest_ScriptTask" targetRef="callAssignSDNCAdapter_CallActivity" />
31 <bpmn2:scriptTask id="validateSDNCResponse_ScriptTask" name="Validate SDNC Assign Response" scriptFormat="groovy">
32 <bpmn2:incoming>SequenceFlow_12</bpmn2:incoming>
33 <bpmn2:incoming>SequenceFlow_0d93bqw</bpmn2:incoming>
34 <bpmn2:outgoing>SequenceFlow_5</bpmn2:outgoing>
35 <bpmn2:script>import org.onap.so.bpmn.infrastructure.scripts.*
36 def DoCreateNetworkInstance = new DoCreateNetworkInstance()
37 DoCreateNetworkInstance.validateSDNCResponse(execution)</bpmn2:script>
39 <bpmn2:exclusiveGateway id="isSdncTopoOk_ExclusiveGateway" name="Is SDNC Ok?" default="sdncTopoNo_SequenceFlow">
40 <bpmn2:incoming>SequenceFlow_5</bpmn2:incoming>
41 <bpmn2:outgoing>sdncTopoNo_SequenceFlow</bpmn2:outgoing>
42 <bpmn2:outgoing>sdncTopoYes_SequenceFlow</bpmn2:outgoing>
43 </bpmn2:exclusiveGateway>
44 <bpmn2:sequenceFlow id="sdncTopoNo_SequenceFlow" name="No" sourceRef="isSdncTopoOk_ExclusiveGateway" targetRef="sndcError_EndEvent" />
45 <bpmn2:sequenceFlow id="sdncTopoYes_SequenceFlow" name="Yes" sourceRef="isSdncTopoOk_ExclusiveGateway" targetRef="callRESTQueryNetworkId_ScriptTask">
46 <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression">#{execution.getVariable("CRENWKI_sdncResponseSuccess" ) == true}</bpmn2:conditionExpression>
48 <bpmn2:sequenceFlow id="SequenceFlow_5" name="" sourceRef="validateSDNCResponse_ScriptTask" targetRef="isSdncTopoOk_ExclusiveGateway" />
49 <bpmn2:boundaryEvent id="BoundaryEvent_4" name="" attachedToRef="validateSDNCResponse_ScriptTask">
50 <bpmn2:outgoing>SequenceFlow_34</bpmn2:outgoing>
51 <bpmn2:errorEventDefinition id="_ErrorEventDefinition_84" errorRef="Error_2" />
52 </bpmn2:boundaryEvent>
53 <bpmn2:sequenceFlow id="SequenceFlow_34" name="" sourceRef="BoundaryEvent_4" targetRef="sndcError_EndEvent" />
54 <bpmn2:endEvent id="sndcError_EndEvent" name="SNDC Error">
55 <bpmn2:incoming>sdncTopoNo_SequenceFlow</bpmn2:incoming>
56 <bpmn2:incoming>SequenceFlow_34</bpmn2:incoming>
57 <bpmn2:errorEventDefinition id="_ErrorEventDefinition_57" errorRef="Error_2" />
59 <bpmn2:scriptTask id="callRESTQueryNetworkId_ScriptTask" name="Call REST Query Network Id In AAI" scriptFormat="groovy">
60 <bpmn2:incoming>sdncTopoYes_SequenceFlow</bpmn2:incoming>
61 <bpmn2:outgoing>SequenceFlow_16</bpmn2:outgoing>
62 <bpmn2:script>import org.onap.so.bpmn.infrastructure.scripts.*
63 def DoCreateNetworkInstance = new DoCreateNetworkInstance()
64 DoCreateNetworkInstance.callRESTQueryAAINetworkId(execution)</bpmn2:script>
66 <bpmn2:sequenceFlow id="SequenceFlow_16" name="" sourceRef="callRESTQueryNetworkId_ScriptTask" targetRef="callRESTQueryVpnBinding_ScriptTask" />
67 <bpmn2:callActivity id="callAssignSDNCAdapter_CallActivity" name="Call SDNC Assign Adapter V1 " calledElement="sdncAdapter">
68 <bpmn2:extensionElements>
69 <camunda:in source="CRENWKI_assignSDNCRequest" target="sdncAdapterWorkflowRequest" />
70 <camunda:out source="sdncAdapterResponse" target="CRENWKI_assignSDNCResponse" />
71 <camunda:out source="SDNCA_ResponseCode" target="CRENWKI_sdncReturnCode" />
72 <camunda:in source="mso-request-id" target="mso-request-id" />
73 <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
74 <camunda:out source="SDNCA_SuccessIndicator" target="SDNCA_SuccessIndicator" />
75 <camunda:out source="WorkflowException" target="WorkflowException" />
76 </bpmn2:extensionElements>
77 <bpmn2:incoming>SequenceFlow_11</bpmn2:incoming>
78 <bpmn2:outgoing>SequenceFlow_12</bpmn2:outgoing>
80 <bpmn2:sequenceFlow id="SequenceFlow_12" name="" sourceRef="callAssignSDNCAdapter_CallActivity" targetRef="validateSDNCResponse_ScriptTask" />
81 <bpmn2:scriptTask id="validateCreatePONetwork_ScriptTask" name="Validate Create PO Network" scriptFormat="groovy">
82 <bpmn2:incoming>SequenceFlow_59</bpmn2:incoming>
83 <bpmn2:outgoing>SequenceFlow_13</bpmn2:outgoing>
84 <bpmn2:script>import org.onap.so.bpmn.infrastructure.scripts.*
85 def DoCreateNetworkInstance = new DoCreateNetworkInstance()
86 DoCreateNetworkInstance.validateCreateNetworkResponse(execution)</bpmn2:script>
88 <bpmn2:exclusiveGateway id="isNetworkActive_ExclusiveGateway" name="Is Network Active?" default="isNetworkActiveNo_SequenceFlow">
89 <bpmn2:incoming>isAAIQueryNameYes_SequenceFlow</bpmn2:incoming>
90 <bpmn2:outgoing>isNetworkActiveYes_SequenceFlow</bpmn2:outgoing>
91 <bpmn2:outgoing>isNetworkActiveNo_SequenceFlow</bpmn2:outgoing>
92 </bpmn2:exclusiveGateway>
93 <bpmn2:sequenceFlow id="isNetworkActiveYes_SequenceFlow" name="Yes" sourceRef="isNetworkActive_ExclusiveGateway" targetRef="ScriptTask_0p3v749">
94 <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression">#{execution.getVariable("CRENWKI_orchestrationStatus") == "ACTIVE"}</bpmn2:conditionExpression>
96 <bpmn2:sequenceFlow id="isNetworkActiveNo_SequenceFlow" name="No" sourceRef="isNetworkActive_ExclusiveGateway" targetRef="InclusiveGateway" />
97 <bpmn2:exclusiveGateway id="isAAIQueryNameOk_ExclusiveGateway" name="Is Query Name Ok? " default="isAAIQueryNameNo_SequenceFlow">
98 <bpmn2:incoming>SequenceFlow_6</bpmn2:incoming>
99 <bpmn2:outgoing>isAAIQueryNameNo_SequenceFlow</bpmn2:outgoing>
100 <bpmn2:outgoing>isAAIQueryNameYes_SequenceFlow</bpmn2:outgoing>
101 </bpmn2:exclusiveGateway>
102 <bpmn2:sequenceFlow id="isAAIQueryNameNo_SequenceFlow" name="No" sourceRef="isAAIQueryNameOk_ExclusiveGateway" targetRef="InclusiveGateway" />
103 <bpmn2:sequenceFlow id="isAAIQueryNameYes_SequenceFlow" name="Yes" sourceRef="isAAIQueryNameOk_ExclusiveGateway" targetRef="isNetworkActive_ExclusiveGateway">
104 <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression">#{execution.getVariable("CRENWKI_isAAIqueryNameGood") == true}</bpmn2:conditionExpression>
105 </bpmn2:sequenceFlow>
106 <bpmn2:subProcess id="subProcessException_SubProcess" name="Subprocess For Prepare Rollback Data" triggeredByEvent="true">
107 <bpmn2:startEvent id="subProcessStart_StartEvent" name="Fault Start">
108 <bpmn2:outgoing>SequenceFlow_23</bpmn2:outgoing>
109 <bpmn2:errorEventDefinition id="ErrorEventDefinition_1" errorRef="Error_2" />
111 <bpmn2:sequenceFlow id="SequenceFlow_23" name="" sourceRef="subProcessStart_StartEvent" targetRef="ScriptTask_0j3058g" />
112 <bpmn2:exclusiveGateway id="isPONR_ExclusiveGateway" name="isPONR?" default="isPONR_No_SequenceFlow">
113 <bpmn2:incoming>isRollbackOn_SequenceFlow_Yes</bpmn2:incoming>
114 <bpmn2:outgoing>isPONR_Yes_SequenceFlow</bpmn2:outgoing>
115 <bpmn2:outgoing>isPONR_No_SequenceFlow</bpmn2:outgoing>
116 </bpmn2:exclusiveGateway>
117 <bpmn2:sequenceFlow id="isPONR_Yes_SequenceFlow" name="Yes" sourceRef="isPONR_ExclusiveGateway" targetRef="ExclusiveGateway_1umhuft">
118 <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression">#{execution.getVariable("CRENWKI_isPONR") == true}</bpmn2:conditionExpression>
119 </bpmn2:sequenceFlow>
120 <bpmn2:sequenceFlow id="isPONR_No_SequenceFlow" name="No" sourceRef="isPONR_ExclusiveGateway" targetRef="isSDNCActivate_ExclusiveGateway" />
121 <bpmn2:exclusiveGateway id="sdncOk_ExclusiveGateway" name="is SDNC Topo Ok?" default="sdncOk_No_ExclusiveGateway">
122 <bpmn2:incoming>SequenceFlow_0k7y7b5</bpmn2:incoming>
123 <bpmn2:outgoing>sdncOk_Yeso_ExclusiveGateway</bpmn2:outgoing>
124 <bpmn2:outgoing>sdncOk_No_ExclusiveGateway</bpmn2:outgoing>
125 </bpmn2:exclusiveGateway>
126 <bpmn2:sequenceFlow id="sdncOk_Yeso_ExclusiveGateway" name="Yes" sourceRef="sdncOk_ExclusiveGateway" targetRef="isSdncRpc4_ExclusiveGateway4">
127 <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression">#{execution.getVariable("CRENWKI_isSdncRollbackNeeded" ) == true}</bpmn2:conditionExpression>
128 </bpmn2:sequenceFlow>
129 <bpmn2:sequenceFlow id="sdncOk_No_ExclusiveGateway" name="No" sourceRef="sdncOk_ExclusiveGateway" targetRef="ExclusiveGateway_1qb2vwe" />
130 <bpmn2:scriptTask id="prepareSDNCRollbackRequest_ScriptTask" name="Prepare SDNCRollback Request" scriptFormat="groovy">
131 <bpmn2:incoming>isSdncRpc4No_SequenceFlow4</bpmn2:incoming>
132 <bpmn2:outgoing>SequenceFlow_0lndbvr</bpmn2:outgoing>
133 <bpmn2:script>import org.onap.so.bpmn.infrastructure.scripts.*
134 def DoCreateNetworkInstance = new DoCreateNetworkInstance()
135 DoCreateNetworkInstance.prepareSDNCRollbackRequest(execution)</bpmn2:script>
137 <bpmn2:exclusiveGateway id="isSDNCActivate_ExclusiveGateway" name="is SDNC Activate Ok?" default="SequenceFlow_12tlymf">
138 <bpmn2:incoming>isPONR_No_SequenceFlow</bpmn2:incoming>
139 <bpmn2:outgoing>SequenceFlow_0cly7z2</bpmn2:outgoing>
140 <bpmn2:outgoing>SequenceFlow_12tlymf</bpmn2:outgoing>
141 </bpmn2:exclusiveGateway>
142 <bpmn2:sequenceFlow id="SequenceFlow_0cly7z2" name="Yes" sourceRef="isSDNCActivate_ExclusiveGateway" targetRef="Task_1imzwi3">
143 <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression">#{execution.getVariable("CRENWKI_isSdncActivateRollbackNeeded" ) == true}</bpmn2:conditionExpression>
144 </bpmn2:sequenceFlow>
145 <bpmn2:sequenceFlow id="SequenceFlow_12tlymf" name="No" sourceRef="isSDNCActivate_ExclusiveGateway" targetRef="ExclusiveGateway_1bk0tqd" />
146 <bpmn2:exclusiveGateway id="isSdncRpc4_ExclusiveGateway4" name="is not '1610' SNDC Call?" default="isSdncRpc4No_SequenceFlow4">
147 <bpmn2:incoming>sdncOk_Yeso_ExclusiveGateway</bpmn2:incoming>
148 <bpmn2:outgoing>isSdncRpc4Yes_SequenceFlow4</bpmn2:outgoing>
149 <bpmn2:outgoing>isSdncRpc4No_SequenceFlow4</bpmn2:outgoing>
150 </bpmn2:exclusiveGateway>
151 <bpmn2:sequenceFlow id="isSdncRpc4Yes_SequenceFlow4" name="Yes" sourceRef="isSdncRpc4_ExclusiveGateway4" targetRef="Task_0q6pzpn">
152 <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression">#{execution.getVariable("sdncVersion") != '1610'} </bpmn2:conditionExpression>
153 </bpmn2:sequenceFlow>
154 <bpmn2:sequenceFlow id="isSdncRpc4No_SequenceFlow4" name="No" sourceRef="isSdncRpc4_ExclusiveGateway4" targetRef="prepareSDNCRollbackRequest_ScriptTask" />
155 <bpmn2:scriptTask id="Task_0q6pzpn" name="Prepare RSRC SDNCRollback Request" scriptFormat="groovy">
156 <bpmn2:incoming>isSdncRpc4Yes_SequenceFlow4</bpmn2:incoming>
157 <bpmn2:outgoing>SequenceFlow_0bwpkkb</bpmn2:outgoing>
158 <bpmn2:script>import org.onap.so.bpmn.infrastructure.scripts.*
159 def DoCreateNetworkInstance = new DoCreateNetworkInstance()
160 DoCreateNetworkInstance.prepareRpcSDNCRollbackRequest(execution)</bpmn2:script>
162 <bpmn2:endEvent id="EndEvent_1kpt4kc">
163 <bpmn2:incoming>SequenceFlow_1qwubew</bpmn2:incoming>
165 <bpmn2:scriptTask id="ScriptTask_0myjg9k" name="Prepare RollbackData" scriptFormat="groovy">
166 <bpmn2:incoming>SequenceFlow_15sffxc</bpmn2:incoming>
167 <bpmn2:outgoing>SequenceFlow_096tad6</bpmn2:outgoing>
168 <bpmn2:script>import org.onap.so.bpmn.infrastructure.scripts.*
169 def DoCreateNetworkInstance = new DoCreateNetworkInstance()
170 DoCreateNetworkInstance.prepareRollbackData(execution)</bpmn2:script>
172 <bpmn2:sequenceFlow id="SequenceFlow_0b8j5rw" sourceRef="Task_1imzwi3" targetRef="ExclusiveGateway_1bk0tqd" />
173 <bpmn2:scriptTask id="Task_1imzwi3" name="Prepare RSRC SDNC Activate Rollback Request" scriptFormat="groovy">
174 <bpmn2:incoming>SequenceFlow_0cly7z2</bpmn2:incoming>
175 <bpmn2:outgoing>SequenceFlow_0b8j5rw</bpmn2:outgoing>
176 <bpmn2:script>import org.onap.so.bpmn.infrastructure.scripts.*
177 def DoCreateNetworkInstance = new DoCreateNetworkInstance()
178 DoCreateNetworkInstance.prepareRpcSDNCActivateRollback(execution)</bpmn2:script>
180 <bpmn2:callActivity id="CallActivity_1u07hp7" name="DoCreate NetworkInstanceRollback " calledElement="DoCreateNetworkInstanceRollback">
181 <bpmn2:extensionElements>
182 <camunda:in source="msoRequestId" target="msoRequestId" />
183 <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
184 <camunda:out source="wasDeleted" target="wasDeleted" />
185 <camunda:in source="serviceInstanceId" target="serviceInstanceId" />
186 <camunda:out source="rolledBack" target="rolledBack" />
187 <camunda:out source="workflowException" target="workflowException" />
188 <camunda:in source="rollbackData" target="rollbackData" />
189 <camunda:in source="mso-request-id" target="mso-request-id" />
190 <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
191 <camunda:in source="WorkflowException" target="WorkflowException" />
192 <camunda:in source="sdncVersion" target="sdncVersion" />
193 <camunda:in source="SavedWorkflowException1" target="SavedWorkflowException1" />
194 </bpmn2:extensionElements>
195 <bpmn2:incoming>SequenceFlow_096tad6</bpmn2:incoming>
196 <bpmn2:outgoing>SequenceFlow_0vzsyrd</bpmn2:outgoing>
197 </bpmn2:callActivity>
198 <bpmn2:sequenceFlow id="SequenceFlow_0vzsyrd" sourceRef="CallActivity_1u07hp7" targetRef="ScriptTask_0w2ekuz" />
199 <bpmn2:sequenceFlow id="SequenceFlow_0bwpkkb" sourceRef="Task_0q6pzpn" targetRef="ExclusiveGateway_1qb2vwe" />
200 <bpmn2:sequenceFlow id="SequenceFlow_0lndbvr" sourceRef="prepareSDNCRollbackRequest_ScriptTask" targetRef="ExclusiveGateway_1qb2vwe" />
201 <bpmn2:sequenceFlow id="SequenceFlow_096tad6" sourceRef="ScriptTask_0myjg9k" targetRef="CallActivity_1u07hp7" />
202 <bpmn2:scriptTask id="ScriptTask_0w2ekuz" name="PostProcess Response" scriptFormat="groovy">
203 <bpmn2:incoming>SequenceFlow_0vzsyrd</bpmn2:incoming>
204 <bpmn2:incoming>SequenceFlow_17nx822</bpmn2:incoming>
205 <bpmn2:outgoing>SequenceFlow_1qwubew</bpmn2:outgoing>
206 <bpmn2:script>import org.onap.so.bpmn.infrastructure.scripts.*
207 def DoCreateNetworkInstance = new DoCreateNetworkInstance()
208 DoCreateNetworkInstance.postProcessResponse(execution)</bpmn2:script>
210 <bpmn2:sequenceFlow id="SequenceFlow_1qwubew" sourceRef="ScriptTask_0w2ekuz" targetRef="EndEvent_1kpt4kc" />
211 <bpmn2:exclusiveGateway id="isRollbackOn_ExclusiveGateway" name="Is Rollback On?" default="isRollbackOn_SequenceFlow_No">
212 <bpmn2:incoming>SequenceFlow_10ttvwn</bpmn2:incoming>
213 <bpmn2:outgoing>isRollbackOn_SequenceFlow_Yes</bpmn2:outgoing>
214 <bpmn2:outgoing>isRollbackOn_SequenceFlow_No</bpmn2:outgoing>
215 </bpmn2:exclusiveGateway>
216 <bpmn2:sequenceFlow id="isRollbackOn_SequenceFlow_Yes" name="Yes" sourceRef="isRollbackOn_ExclusiveGateway" targetRef="isPONR_ExclusiveGateway">
217 <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression">#{execution.getVariable("CRENWKI_rollbackEnabled") == true && execution.getVariable("CRENWKI_isSdncRollbackNeeded") == true}</bpmn2:conditionExpression>
218 </bpmn2:sequenceFlow>
219 <bpmn2:sequenceFlow id="isRollbackOn_SequenceFlow_No" name="No" sourceRef="isRollbackOn_ExclusiveGateway" targetRef="ExclusiveGateway_1umhuft" />
220 <bpmn2:inclusiveGateway id="ExclusiveGateway_1qb2vwe">
221 <bpmn2:incoming>SequenceFlow_0lndbvr</bpmn2:incoming>
222 <bpmn2:incoming>sdncOk_No_ExclusiveGateway</bpmn2:incoming>
223 <bpmn2:incoming>SequenceFlow_0bwpkkb</bpmn2:incoming>
224 <bpmn2:outgoing>SequenceFlow_15sffxc</bpmn2:outgoing>
225 </bpmn2:inclusiveGateway>
226 <bpmn2:sequenceFlow id="SequenceFlow_15sffxc" sourceRef="ExclusiveGateway_1qb2vwe" targetRef="ScriptTask_0myjg9k" />
227 <bpmn2:inclusiveGateway id="ExclusiveGateway_1bk0tqd">
228 <bpmn2:incoming>SequenceFlow_0b8j5rw</bpmn2:incoming>
229 <bpmn2:incoming>SequenceFlow_12tlymf</bpmn2:incoming>
230 <bpmn2:outgoing>SequenceFlow_0k7y7b5</bpmn2:outgoing>
231 </bpmn2:inclusiveGateway>
232 <bpmn2:sequenceFlow id="SequenceFlow_0k7y7b5" sourceRef="ExclusiveGateway_1bk0tqd" targetRef="sdncOk_ExclusiveGateway" />
233 <bpmn2:inclusiveGateway id="ExclusiveGateway_1umhuft">
234 <bpmn2:incoming>isPONR_Yes_SequenceFlow</bpmn2:incoming>
235 <bpmn2:incoming>isRollbackOn_SequenceFlow_No</bpmn2:incoming>
236 <bpmn2:outgoing>SequenceFlow_17nx822</bpmn2:outgoing>
237 </bpmn2:inclusiveGateway>
238 <bpmn2:sequenceFlow id="SequenceFlow_17nx822" sourceRef="ExclusiveGateway_1umhuft" targetRef="ScriptTask_0w2ekuz" />
239 <bpmn2:scriptTask id="ScriptTask_0j3058g" name="Set Exception Flag" scriptFormat="groovy">
240 <bpmn2:incoming>SequenceFlow_23</bpmn2:incoming>
241 <bpmn2:outgoing>SequenceFlow_10ttvwn</bpmn2:outgoing>
242 <bpmn2:script>import org.onap.so.bpmn.infrastructure.scripts.*
243 def DoCreateNetworkInstance = new DoCreateNetworkInstance()
244 DoCreateNetworkInstance.setExceptionFlag(execution)
247 <bpmn2:sequenceFlow id="SequenceFlow_10ttvwn" sourceRef="ScriptTask_0j3058g" targetRef="isRollbackOn_ExclusiveGateway" />
248 <bpmn2:textAnnotation id="TextAnnotation_1py1p84">
250 Include ONLY inputs/varrables: Â
253 -rollbackActivateSDNCRequest
254 -rollbackNetworkRequest
257 </bpmn2:textAnnotation>
258 <bpmn2:association id="Association_0nketgd" sourceRef="CallActivity_1u07hp7" targetRef="TextAnnotation_1py1p84" />
259 <bpmn2:textAnnotation id="TextAnnotation_0wjpv6r">
260 <bpmn2:text>PO Network Rollback is created in validation.</bpmn2:text>
261 </bpmn2:textAnnotation>
262 <bpmn2:association id="Association_0eolbkz" sourceRef="ExclusiveGateway_1bk0tqd" targetRef="TextAnnotation_0wjpv6r" />
264 <bpmn2:serviceTask id="callCreateNetwork_ServiceTask" name="Call Create Network">
265 <bpmn2:extensionElements>
267 <camunda:inputOutput>
268 <camunda:inputParameter name="payload">${CRENWKI_createNetworkRequest}</camunda:inputParameter>
269 <camunda:inputParameter name="url">${UrnPropertiesReader.getVariable("mso.adapters.network.rest.endpoint", execution)}
270 </camunda:inputParameter>
271 <camunda:inputParameter name="headers">
273 <camunda:entry key="Authorization">#{BasicAuthHeaderValuePO}</camunda:entry>
274 <camunda:entry key="content-type">application/xml</camunda:entry>
276 </camunda:inputParameter>
277 <camunda:inputParameter name="method">POST</camunda:inputParameter>
278 <camunda:outputParameter name="CRENWKI_networkReturnCode">${statusCode}</camunda:outputParameter>
279 <camunda:outputParameter name="CRENWKI_createNetworkResponse">${response}</camunda:outputParameter>
280 </camunda:inputOutput>
281 <camunda:connectorId>http-connector</camunda:connectorId>
283 </bpmn2:extensionElements>
284 <bpmn2:incoming>SequenceFlow_61</bpmn2:incoming>
285 <bpmn2:outgoing>SequenceFlow_59</bpmn2:outgoing>
287 <bpmn2:sequenceFlow id="SequenceFlow_59" name="" sourceRef="callCreateNetwork_ServiceTask" targetRef="validateCreatePONetwork_ScriptTask" />
288 <bpmn2:sequenceFlow id="SequenceFlow_13" name="" sourceRef="validateCreatePONetwork_ScriptTask" targetRef="callRESTReQueryNetworkID_ScriptTask" />
289 <bpmn2:scriptTask id="callRESTReQueryNetworkID_ScriptTask" name="Call REST ReQuery Network Id in AAI" scriptFormat="groovy">
290 <bpmn2:incoming>SequenceFlow_13</bpmn2:incoming>
291 <bpmn2:outgoing>SequenceFlow_35</bpmn2:outgoing>
292 <bpmn2:script>import org.onap.so.bpmn.infrastructure.scripts.*
293 def DoCreateNetworkInstance = new DoCreateNetworkInstance()
294 DoCreateNetworkInstance.callRESTReQueryAAINetworkId(execution)</bpmn2:script>
296 <bpmn2:sequenceFlow id="SequenceFlow_35" name="" sourceRef="callRESTReQueryNetworkID_ScriptTask" targetRef="callRESTUpdateContrailNetwork_ScriptTask" />
297 <bpmn2:scriptTask id="callRESTUpdateContrailNetwork_ScriptTask" name="Call REST Update Contrail Network in AAI" scriptFormat="groovy">
298 <bpmn2:incoming>SequenceFlow_35</bpmn2:incoming>
299 <bpmn2:outgoing>SequenceFlow_1ipz2ze</bpmn2:outgoing>
300 <bpmn2:script>import org.onap.so.bpmn.infrastructure.scripts.*
301 def DoCreateNetworkInstance = new DoCreateNetworkInstance()
302 DoCreateNetworkInstance.callRESTUpdateContrailAAINetwork(execution)</bpmn2:script>
304 <bpmn2:subProcess id="unexpectedErrors_SubProcess" name="Sub-process for UnexpectedErrors" triggeredByEvent="true">
305 <bpmn2:scriptTask id="ScriptTask_1" name="Log / Print Unexpected Error" scriptFormat="groovy">
306 <bpmn2:incoming>SequenceFlow_10</bpmn2:incoming>
307 <bpmn2:outgoing>SequenceFlow_14</bpmn2:outgoing>
308 <bpmn2:script>import org.onap.so.bpmn.infrastructure.scripts.*
309 def DoCreateNetworkInstance = new DoCreateNetworkInstance()
310 DoCreateNetworkInstance.processJavaException(execution)</bpmn2:script>
312 <bpmn2:sequenceFlow id="SequenceFlow_14" name="" sourceRef="ScriptTask_1" targetRef="EndEvent_1" />
313 <bpmn2:startEvent id="StartEvent_1">
314 <bpmn2:outgoing>SequenceFlow_10</bpmn2:outgoing>
315 <bpmn2:errorEventDefinition id="ErrorEventDefinition_2" errorRef="Error_1" />
317 <bpmn2:sequenceFlow id="SequenceFlow_10" name="" sourceRef="StartEvent_1" targetRef="ScriptTask_1" />
318 <bpmn2:endEvent id="EndEvent_1">
319 <bpmn2:incoming>SequenceFlow_14</bpmn2:incoming>
322 <bpmn2:scriptTask id="callAAIQuery_scriptTask" name="Call REST Query Network Name In AAI" scriptFormat="groovy">
323 <bpmn2:incoming>isNameSentYes_SequenceFlow</bpmn2:incoming>
324 <bpmn2:outgoing>SequenceFlow_6</bpmn2:outgoing>
325 <bpmn2:script>import org.onap.so.bpmn.infrastructure.scripts.*
326 def DoCreateNetworkInstance = new DoCreateNetworkInstance()
327 DoCreateNetworkInstance.callRESTQueryAAINetworkName(execution)</bpmn2:script>
329 <bpmn2:sequenceFlow id="SequenceFlow_6" name="" sourceRef="callAAIQuery_scriptTask" targetRef="isAAIQueryNameOk_ExclusiveGateway" />
330 <bpmn2:sequenceFlow id="SequenceFlow_3" name="" sourceRef="callGetServiceInstance" targetRef="isNameSent_ExclusiveGateway" />
331 <bpmn2:scriptTask id="callRESTQueryVpnBinding_ScriptTask" name="Call REST Query Vpn Binding in AAI" scriptFormat="groovy">
332 <bpmn2:incoming>SequenceFlow_16</bpmn2:incoming>
333 <bpmn2:outgoing>SequenceFlow_15</bpmn2:outgoing>
334 <bpmn2:script>import org.onap.so.bpmn.infrastructure.scripts.*
335 def DoCreateNetworkInstance = new DoCreateNetworkInstance()
336 DoCreateNetworkInstance.callRESTQueryAAINetworkVpnBinding(execution)</bpmn2:script>
338 <bpmn2:sequenceFlow id="SequenceFlow_15" name="" sourceRef="callRESTQueryVpnBinding_ScriptTask" targetRef="callRESTQueryNetworkPolicy_ScriptTask" />
339 <bpmn2:scriptTask id="callRESTQueryNetworkPolicy_ScriptTask" name="Call REST Query Network Policy in AAI" scriptFormat="groovy">
340 <bpmn2:incoming>SequenceFlow_15</bpmn2:incoming>
341 <bpmn2:outgoing>SequenceFlow_38</bpmn2:outgoing>
342 <bpmn2:script>import org.onap.so.bpmn.infrastructure.scripts.*
343 def DoCreateNetworkInstance = new DoCreateNetworkInstance()
344 DoCreateNetworkInstance.callRESTQueryAAINetworkPolicy(execution)</bpmn2:script>
346 <bpmn2:sequenceFlow id="SequenceFlow_38" name="" sourceRef="callRESTQueryNetworkPolicy_ScriptTask" targetRef="callRESTQueryNetworkTableRef_ScriptTask" />
347 <bpmn2:scriptTask id="prepareNetworkRequest_ScriptTask" name="Prepare Create Network Request" scriptFormat="groovy">
348 <bpmn2:incoming>SequenceFlow_20</bpmn2:incoming>
349 <bpmn2:outgoing>SequenceFlow_61</bpmn2:outgoing>
350 <bpmn2:script>import org.onap.so.bpmn.infrastructure.scripts.*
351 def DoCreateNetworkInstance = new DoCreateNetworkInstance()
352 DoCreateNetworkInstance.prepareCreateNetworkRequest(execution)
355 <bpmn2:sequenceFlow id="SequenceFlow_61" name="" sourceRef="prepareNetworkRequest_ScriptTask" targetRef="callCreateNetwork_ServiceTask" />
356 <bpmn2:scriptTask id="callRESTQueryNetworkTableRef_ScriptTask" name="Call REST Query Network TableRef in AAI" scriptFormat="groovy">
357 <bpmn2:incoming>SequenceFlow_38</bpmn2:incoming>
358 <bpmn2:outgoing>SequenceFlow_20</bpmn2:outgoing>
359 <bpmn2:script>import org.onap.so.bpmn.infrastructure.scripts.*
360 def DoCreateNetworkInstance = new DoCreateNetworkInstance()
361 DoCreateNetworkInstance.callRESTQueryAAINetworkTableRef(execution)</bpmn2:script>
363 <bpmn2:sequenceFlow id="SequenceFlow_20" name="" sourceRef="callRESTQueryNetworkTableRef_ScriptTask" targetRef="prepareNetworkRequest_ScriptTask" />
364 <bpmn2:sequenceFlow id="SequenceFlow_1n61wit" sourceRef="createNetwork_startEvent" targetRef="ScriptTask_preprocess" />
365 <bpmn2:scriptTask id="ScriptTask_preprocess" name="PreProcess Incoming Request" scriptFormat="groovy">
366 <bpmn2:incoming>SequenceFlow_1n61wit</bpmn2:incoming>
367 <bpmn2:outgoing>SequenceFlow_0ftylq3</bpmn2:outgoing>
368 <bpmn2:script>import org.onap.so.bpmn.infrastructure.scripts.*
369 def DoCreateNetworkInstance = new DoCreateNetworkInstance()
370 DoCreateNetworkInstance.preProcessRequest(execution)</bpmn2:script>
372 <bpmn2:sequenceFlow id="SequenceFlow_0ftylq3" sourceRef="ScriptTask_preprocess" targetRef="callGetServiceInstance" />
373 <bpmn2:exclusiveGateway id="isNameSent_ExclusiveGateway" name="is Network Name Sent? " default="isNameSentNo_SequenceFlow">
374 <bpmn2:incoming>SequenceFlow_3</bpmn2:incoming>
375 <bpmn2:outgoing>isNameSentYes_SequenceFlow</bpmn2:outgoing>
376 <bpmn2:outgoing>isNameSentNo_SequenceFlow</bpmn2:outgoing>
377 </bpmn2:exclusiveGateway>
378 <bpmn2:sequenceFlow id="isNameSentYes_SequenceFlow" name="Yes" sourceRef="isNameSent_ExclusiveGateway" targetRef="callAAIQuery_scriptTask">
379 <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression">#{execution.getVariable("CRENWKI_networkName") != ""}</bpmn2:conditionExpression>
380 </bpmn2:sequenceFlow>
381 <bpmn2:sequenceFlow id="isNameSentNo_SequenceFlow" name="No" sourceRef="isNameSent_ExclusiveGateway" targetRef="callRESTQueryCloudRegion_ScriptTask" />
382 <bpmn2:callActivity id="Task_1ipbwbj" name="Call SDNC RSRC Activate Adapter V1 " calledElement="sdncAdapter">
383 <bpmn2:extensionElements>
384 <camunda:in source="CRENWKI_activateSDNCRequest" target="sdncAdapterWorkflowRequest" />
385 <camunda:in source="mso-request-id" target="mso-request-id" />
386 <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
387 <camunda:out source="sdncAdapterResponse" target="CRENWKI_activateSDNCResponse" />
388 <camunda:out source="SDNCA_ResponseCode" target="CRENWKI_sdncActivateReturnCode" />
389 <camunda:out source="SDNCA_SuccessIndicator" target="SDNCA_SuccessIndicator" />
390 <camunda:out source="WorkflowException" target="WorkflowException" />
391 </bpmn2:extensionElements>
392 <bpmn2:incoming>SequenceFlow_13deudk</bpmn2:incoming>
393 <bpmn2:outgoing>SequenceFlow_08qibb9</bpmn2:outgoing>
394 </bpmn2:callActivity>
395 <bpmn2:scriptTask id="Task_1rd6dg6" name="Prepare SDNC RSRC Activate Request" scriptFormat="groovy">
396 <bpmn2:incoming>isSdncRpc2Yes_SequenceFlow2</bpmn2:incoming>
397 <bpmn2:outgoing>SequenceFlow_13deudk</bpmn2:outgoing>
398 <bpmn2:script>import org.onap.so.bpmn.infrastructure.scripts.*
399 def DoCreateNetworkInstance = new DoCreateNetworkInstance()
400 DoCreateNetworkInstance.prepareRpcSDNCActivateRequest(execution)</bpmn2:script>
402 <bpmn2:exclusiveGateway id="ExclusiveGateway_0n0ptg6" name="is SDNC PRC Activate Ok? " default="SequenceFlow_18ybfu5">
403 <bpmn2:incoming>SequenceFlow_1t03rs2</bpmn2:incoming>
404 <bpmn2:outgoing>SequenceFlow_1jia57e</bpmn2:outgoing>
405 <bpmn2:outgoing>SequenceFlow_18ybfu5</bpmn2:outgoing>
406 </bpmn2:exclusiveGateway>
407 <bpmn2:sequenceFlow id="SequenceFlow_13deudk" sourceRef="Task_1rd6dg6" targetRef="Task_1ipbwbj" />
408 <bpmn2:sequenceFlow id="SequenceFlow_08qibb9" sourceRef="Task_1ipbwbj" targetRef="validateSDNCActivate_Task" />
409 <bpmn2:sequenceFlow id="SequenceFlow_1t03rs2" sourceRef="validateSDNCActivate_Task" targetRef="ExclusiveGateway_0n0ptg6" />
410 <bpmn2:sequenceFlow id="SequenceFlow_1jia57e" name="Yes" sourceRef="ExclusiveGateway_0n0ptg6" targetRef="Task_0zzobg6">
411 <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression">#{execution.getVariable("CRENWKI_sdncResponseSuccess" ) == true}</bpmn2:conditionExpression>
412 </bpmn2:sequenceFlow>
413 <bpmn2:sequenceFlow id="SequenceFlow_18ybfu5" name="No" sourceRef="ExclusiveGateway_0n0ptg6" targetRef="EndEvent_13v46cq" />
414 <bpmn2:scriptTask id="validateSDNCActivate_Task" name="Validate SDNCRSRC Activate Response " scriptFormat="groovy">
415 <bpmn2:incoming>SequenceFlow_08qibb9</bpmn2:incoming>
416 <bpmn2:outgoing>SequenceFlow_1t03rs2</bpmn2:outgoing>
417 <bpmn2:script>import org.onap.so.bpmn.infrastructure.scripts.*
418 def DoCreateNetworkInstance = new DoCreateNetworkInstance()
419 DoCreateNetworkInstance.validateRpcSDNCActivateResponse(execution)</bpmn2:script>
421 <bpmn2:boundaryEvent id="BoundaryEvent_0vb26bm" attachedToRef="validateSDNCActivate_Task">
422 <bpmn2:outgoing>SequenceFlow_0s51ns0</bpmn2:outgoing>
423 <bpmn2:errorEventDefinition errorRef="Error_2" />
424 </bpmn2:boundaryEvent>
425 <bpmn2:sequenceFlow id="SequenceFlow_0s51ns0" sourceRef="BoundaryEvent_0vb26bm" targetRef="EndEvent_13v46cq" />
426 <bpmn2:endEvent id="EndEvent_13v46cq" name="SNDC Activate Error ">
427 <bpmn2:incoming>SequenceFlow_18ybfu5</bpmn2:incoming>
428 <bpmn2:incoming>SequenceFlow_0s51ns0</bpmn2:incoming>
429 <bpmn2:errorEventDefinition errorRef="Error_2" />
431 <bpmn2:exclusiveGateway id="isSdncRpc1_ExclusiveGateway1" name="is not '1610' SNDC Call?" default="isSdncRpc1No_SequenceFlow1">
432 <bpmn2:incoming>SequenceFlow_32</bpmn2:incoming>
433 <bpmn2:outgoing>isSdncRpc1No_SequenceFlow1</bpmn2:outgoing>
434 <bpmn2:outgoing>isSdncRpc1Yes_SequenceFlow1</bpmn2:outgoing>
435 </bpmn2:exclusiveGateway>
436 <bpmn2:sequenceFlow id="isSdncRpc1No_SequenceFlow1" name="No" sourceRef="isSdncRpc1_ExclusiveGateway1" targetRef="prepareSDNCTopoRequest_ScriptTask" />
437 <bpmn2:sequenceFlow id="isSdncRpc1Yes_SequenceFlow1" name="Yes" sourceRef="isSdncRpc1_ExclusiveGateway1" targetRef="Task_10lubzj">
438 <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression">#{execution.getVariable("sdncVersion") != '1610'} </bpmn2:conditionExpression>
439 </bpmn2:sequenceFlow>
440 <bpmn2:callActivity id="Task_0pbtywn" name="Call SDNC RSRC Assign Adapter V1 " calledElement="sdncAdapter">
441 <bpmn2:extensionElements>
442 <camunda:in source="CRENWKI_assignSDNCRequest" target="sdncAdapterWorkflowRequest" />
443 <camunda:in source="mso-request-id" target="mso-request-id" />
444 <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
445 <camunda:out source="sdncAdapterResponse" target="CRENWKI_assignSDNCResponse" />
446 <camunda:out source="SDNCA_ResponseCode" target="CRENWKI_sdncReturnCode" />
447 <camunda:out source="SDNCA_SuccessIndicator" target="SDNCA_SuccessIndicator" />
448 <camunda:out source="WorkflowException" target="WorkflowException" />
449 </bpmn2:extensionElements>
450 <bpmn2:incoming>SequenceFlow_0j8bxnb</bpmn2:incoming>
451 <bpmn2:outgoing>SequenceFlow_0d93bqw</bpmn2:outgoing>
452 </bpmn2:callActivity>
453 <bpmn2:sequenceFlow id="SequenceFlow_0j8bxnb" sourceRef="Task_10lubzj" targetRef="Task_0pbtywn" />
454 <bpmn2:sequenceFlow id="SequenceFlow_0d93bqw" sourceRef="Task_0pbtywn" targetRef="validateSDNCResponse_ScriptTask" />
455 <bpmn2:exclusiveGateway id="isSdncRpc2_ExclusiveGateway2" name="is not '1610' SNDC Call?" default="isSdncRpc2No_SequenceFlow2">
456 <bpmn2:incoming>SequenceFlow_1ipz2ze</bpmn2:incoming>
457 <bpmn2:outgoing>isSdncRpc2Yes_SequenceFlow2</bpmn2:outgoing>
458 <bpmn2:outgoing>isSdncRpc2No_SequenceFlow2</bpmn2:outgoing>
459 </bpmn2:exclusiveGateway>
460 <bpmn2:sequenceFlow id="isSdncRpc2Yes_SequenceFlow2" name="Yes" sourceRef="isSdncRpc2_ExclusiveGateway2" targetRef="Task_1rd6dg6">
461 <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression">#{execution.getVariable("sdncVersion") != '1610'} </bpmn2:conditionExpression>
462 </bpmn2:sequenceFlow>
463 <bpmn2:sequenceFlow id="isSdncRpc2No_SequenceFlow2" name="No" sourceRef="isSdncRpc2_ExclusiveGateway2" targetRef="Task_0zzobg6" />
464 <bpmn2:scriptTask id="Task_10lubzj" name="Prepare Assign SDNC RPC Request" scriptFormat="groovy">
465 <bpmn2:incoming>isSdncRpc1Yes_SequenceFlow1</bpmn2:incoming>
466 <bpmn2:outgoing>SequenceFlow_0j8bxnb</bpmn2:outgoing>
467 <bpmn2:script>import org.onap.so.bpmn.infrastructure.scripts.*
468 def DoCreateNetworkInstance = new DoCreateNetworkInstance()
469 DoCreateNetworkInstance.prepareRpcSDNCRequest(execution)
472 <bpmn2:endEvent id="EndEvent_1te02c4">
473 <bpmn2:incoming>SequenceFlow_1s8b1m1</bpmn2:incoming>
475 <bpmn2:endEvent id="EndEvent_0ti2ctu" name="Silent Success">
476 <bpmn2:incoming>SequenceFlow_18ylufb</bpmn2:incoming>
478 <bpmn2:sequenceFlow id="SequenceFlow_1s8b1m1" sourceRef="Task_0zzobg6" targetRef="EndEvent_1te02c4" />
479 <bpmn2:scriptTask id="Task_0zzobg6" name="PostProcess Response" scriptFormat="groovy">
480 <bpmn2:incoming>SequenceFlow_1jia57e</bpmn2:incoming>
481 <bpmn2:incoming>isSdncRpc2No_SequenceFlow2</bpmn2:incoming>
482 <bpmn2:outgoing>SequenceFlow_1s8b1m1</bpmn2:outgoing>
483 <bpmn2:script>import org.onap.so.bpmn.infrastructure.scripts.*
484 def DoCreateNetworkInstance = new DoCreateNetworkInstance()
485 DoCreateNetworkInstance.postProcessResponse(execution)</bpmn2:script>
487 <bpmn2:sequenceFlow id="SequenceFlow_1ipz2ze" sourceRef="callRESTUpdateContrailNetwork_ScriptTask" targetRef="isSdncRpc2_ExclusiveGateway2" />
488 <bpmn2:scriptTask id="ScriptTask_0p3v749" name="Post Process Response" scriptFormat="groovy">
489 <bpmn2:incoming>isNetworkActiveYes_SequenceFlow</bpmn2:incoming>
490 <bpmn2:outgoing>SequenceFlow_18ylufb</bpmn2:outgoing>
491 <bpmn2:script>import org.onap.so.bpmn.infrastructure.scripts.*
492 def DoCreateNetworkInstance = new DoCreateNetworkInstance()
493 DoCreateNetworkInstance.postProcessResponse(execution)</bpmn2:script>
495 <bpmn2:sequenceFlow id="SequenceFlow_18ylufb" sourceRef="ScriptTask_0p3v749" targetRef="EndEvent_0ti2ctu" />
496 <bpmn2:scriptTask id="callGetServiceInstance" name=" AAI Query (svc instance) " scriptFormat="groovy">
497 <bpmn2:incoming>SequenceFlow_0ftylq3</bpmn2:incoming>
498 <bpmn2:outgoing>SequenceFlow_3</bpmn2:outgoing>
499 <bpmn2:script>import org.onap.so.bpmn.infrastructure.scripts.*
500 def DoCreateNetworkInstance = new DoCreateNetworkInstance()
501 DoCreateNetworkInstance.getServiceInstance(execution)</bpmn2:script>
503 <bpmn2:textAnnotation id="TextAnnotation_1orb6o6">
504 <bpmn2:text>if '200', Prepare PO Network Rollback</bpmn2:text>
505 </bpmn2:textAnnotation>
506 <bpmn2:association id="Association_0c315jr" sourceRef="validateCreatePONetwork_ScriptTask" targetRef="TextAnnotation_1orb6o6" />
508 <bpmn2:error id="Error_2" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
509 <bpmn2:error id="Error_1" name="java.lang.Exception" errorCode="java.lang.Exception" />
510 <bpmndi:BPMNDiagram id="BPMNDiagram_1">
511 <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DoCreateNetworkInstance">
512 <bpmndi:BPMNShape id="_BPMNShape_StartEvent_47" bpmnElement="createNetwork_startEvent">
513 <dc:Bounds x="397" y="177" width="36" height="36" />
515 <dc:Bounds x="390" y="218" width="49" height="13" />
518 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_62" bpmnElement="callAAIQuery_scriptTask">
519 <dc:Bounds x="926" y="-31" width="100" height="80" />
521 <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_62" bpmnElement="isAAIQueryNameOk_ExclusiveGateway" isMarkerVisible="true">
522 <dc:Bounds x="1098" y="-16" width="50" height="50" />
524 <dc:Bounds x="1085" y="-56" width="75" height="24" />
527 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_6" bpmnElement="SequenceFlow_6" sourceElement="_BPMNShape_ScriptTask_62" targetElement="_BPMNShape_ExclusiveGateway_62">
528 <di:waypoint x="1026" y="8" />
529 <di:waypoint x="1098" y="9" />
531 <dc:Bounds x="1062" y="-6.5" width="0" height="0" />
534 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_63" bpmnElement="validateCreatePONetwork_ScriptTask">
535 <dc:Bounds x="1457" y="1258" width="100" height="80" />
537 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_7" bpmnElement="isAAIQueryNameNo_SequenceFlow" sourceElement="_BPMNShape_ExclusiveGateway_62" targetElement="_BPMNShape_InclusiveGateway_4">
538 <di:waypoint x="1123" y="34" />
539 <di:waypoint x="1123" y="116" />
540 <di:waypoint x="1224" y="116" />
542 <dc:Bounds x="1131" y="44" width="15" height="14" />
545 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_8" bpmnElement="isAAIQueryNameYes_SequenceFlow" sourceElement="_BPMNShape_ExclusiveGateway_62" targetElement="_BPMNShape_ExclusiveGateway_73">
546 <di:waypoint x="1148" y="9" />
547 <di:waypoint x="1186" y="9" />
548 <di:waypoint x="1186" y="9" />
549 <di:waypoint x="1224" y="9" />
551 <dc:Bounds x="1151" y="14.164179104477611" width="18" height="12" />
554 <bpmndi:BPMNShape id="_BPMNShape_ServiceTask_83" bpmnElement="callCreateNetwork_ServiceTask">
555 <dc:Bounds x="1454" y="1135" width="100" height="80" />
557 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_67" bpmnElement="prepareSDNCTopoRequest_ScriptTask">
558 <dc:Bounds x="1590" y="155" width="100" height="80" />
560 <bpmndi:BPMNShape id="_BPMNShape_SubProcess_16" bpmnElement="subProcessException_SubProcess" isExpanded="true">
561 <dc:Bounds x="31" y="608" width="1266" height="686" />
563 <bpmndi:BPMNShape id="_BPMNShape_StartEvent_50" bpmnElement="subProcessStart_StartEvent">
564 <dc:Bounds x="107" y="1166" width="36" height="36" />
566 <dc:Bounds x="101" y="1207" width="50" height="12" />
569 <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_67" bpmnElement="isSdncTopoOk_ExclusiveGateway" isMarkerVisible="true">
570 <dc:Bounds x="1615" y="520" width="50" height="50" />
572 <dc:Bounds x="1606" y="580" width="67" height="13" />
575 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_26" bpmnElement="sdncTopoNo_SequenceFlow" sourceElement="_BPMNShape_ExclusiveGateway_67" targetElement="_BPMNShape_EndEvent_124">
576 <di:waypoint x="1665" y="545" />
577 <di:waypoint x="1739" y="545" />
579 <dc:Bounds x="1670" y="545.8651480742376" width="14" height="13" />
582 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_28" bpmnElement="sdncTopoYes_SequenceFlow" sourceElement="_BPMNShape_ExclusiveGateway_67" targetElement="_BPMNShape_ScriptTask_133">
583 <di:waypoint x="1615" y="545" />
584 <di:waypoint x="1554" y="546" />
586 <dc:Bounds x="1587" y="549.9992641545633" width="18" height="12" />
589 <bpmndi:BPMNShape id="_BPMNShape_EndEvent_124" bpmnElement="sndcError_EndEvent">
590 <dc:Bounds x="1739" y="527" width="36" height="36" />
592 <dc:Bounds x="1727" y="576" width="59" height="13" />
595 <bpmndi:BPMNShape id="_BPMNShape_CallActivity_19" bpmnElement="callAssignSDNCAdapter_CallActivity">
596 <dc:Bounds x="1590" y="276" width="100" height="80" />
598 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_24" bpmnElement="SequenceFlow_11" sourceElement="_BPMNShape_ScriptTask_67" targetElement="_BPMNShape_CallActivity_19">
599 <di:waypoint x="1640" y="235" />
600 <di:waypoint x="1640" y="276" />
602 <dc:Bounds x="1655" y="255.5" width="0" height="0" />
605 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_29" bpmnElement="SequenceFlow_12" sourceElement="_BPMNShape_CallActivity_19" targetElement="_BPMNShape_ScriptTask_131">
606 <di:waypoint x="1640" y="356" />
607 <di:waypoint x="1640" y="395" />
609 <dc:Bounds x="1655" y="375.5" width="0" height="0" />
612 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_35" bpmnElement="SequenceFlow_23" sourceElement="_BPMNShape_StartEvent_50">
613 <di:waypoint x="143" y="1184" />
614 <di:waypoint x="170" y="1184" />
616 <dc:Bounds x="157" y="1169" width="0" height="0" />
619 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_131" bpmnElement="validateSDNCResponse_ScriptTask">
620 <dc:Bounds x="1590" y="395" width="100" height="80" />
622 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_11" bpmnElement="SequenceFlow_5" sourceElement="_BPMNShape_ScriptTask_131" targetElement="_BPMNShape_ExclusiveGateway_67">
623 <di:waypoint x="1640" y="475" />
624 <di:waypoint x="1640" y="498" />
625 <di:waypoint x="1640" y="498" />
626 <di:waypoint x="1640" y="520" />
628 <dc:Bounds x="1655" y="498" width="0" height="0" />
631 <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_73" bpmnElement="isNetworkActive_ExclusiveGateway" isMarkerVisible="true">
632 <dc:Bounds x="1224" y="-16" width="50" height="50" />
634 <dc:Bounds x="1221" y="-57" width="56" height="24" />
637 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_39" bpmnElement="isNetworkActiveYes_SequenceFlow" sourceElement="_BPMNShape_ExclusiveGateway_73">
638 <di:waypoint x="1274" y="9" />
639 <di:waypoint x="1335" y="9" />
641 <dc:Bounds x="1275" y="14.380425096632202" width="18" height="12" />
644 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_44" bpmnElement="isNetworkActiveNo_SequenceFlow" sourceElement="_BPMNShape_ExclusiveGateway_73" targetElement="_BPMNShape_InclusiveGateway_4">
645 <di:waypoint x="1249" y="34" />
646 <di:waypoint x="1249" y="91" />
648 <dc:Bounds x="1258" y="37.520779498373976" width="14" height="12" />
651 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_45" bpmnElement="SequenceFlow_21" sourceElement="_BPMNShape_InclusiveGateway_4" targetElement="_BPMNShape_ScriptTask_245">
652 <di:waypoint x="1249" y="141" />
653 <di:waypoint x="1249" y="276" />
655 <dc:Bounds x="1264" y="208.5" width="0" height="0" />
658 <bpmndi:BPMNShape id="_BPMNShape_InclusiveGateway_4" bpmnElement="InclusiveGateway">
659 <dc:Bounds x="1224" y="91" width="50" height="50" />
661 <dc:Bounds x="1306" y="86" width="0" height="0" />
664 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_133" bpmnElement="callRESTQueryNetworkId_ScriptTask">
665 <dc:Bounds x="1454" y="505" width="100" height="80" />
667 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_134" bpmnElement="callRESTReQueryNetworkID_ScriptTask">
668 <dc:Bounds x="1454" y="1392" width="100" height="80" />
670 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_135" bpmnElement="callRESTUpdateContrailNetwork_ScriptTask">
671 <dc:Bounds x="1454" y="1538" width="100" height="80" />
673 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_54" bpmnElement="SequenceFlow_35" sourceElement="_BPMNShape_ScriptTask_134" targetElement="_BPMNShape_ScriptTask_135">
674 <di:waypoint x="1504" y="1472" />
675 <di:waypoint x="1504" y="1538" />
677 <dc:Bounds x="1519" y="1505" width="0" height="0" />
680 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_156" bpmnElement="callRESTQueryVpnBinding_ScriptTask">
681 <dc:Bounds x="1454" y="627" width="100" height="80" />
683 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_18" bpmnElement="SequenceFlow_15" sourceElement="_BPMNShape_ScriptTask_156" targetElement="_BPMNShape_ScriptTask_215">
684 <di:waypoint x="1504" y="707" />
685 <di:waypoint x="1504" y="727" />
686 <di:waypoint x="1504" y="727" />
687 <di:waypoint x="1504" y="750" />
689 <dc:Bounds x="1519" y="727" width="0" height="0" />
692 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_49" bpmnElement="SequenceFlow_16" sourceElement="_BPMNShape_ScriptTask_133" targetElement="_BPMNShape_ScriptTask_156">
693 <di:waypoint x="1504" y="585" />
694 <di:waypoint x="1504" y="606" />
695 <di:waypoint x="1504" y="606" />
696 <di:waypoint x="1504" y="627" />
698 <dc:Bounds x="1519" y="606" width="0" height="0" />
701 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_87" bpmnElement="SequenceFlow_59" sourceElement="_BPMNShape_ServiceTask_83" targetElement="_BPMNShape_ScriptTask_63">
702 <di:waypoint x="1505" y="1215" />
703 <di:waypoint x="1505" y="1237" />
704 <di:waypoint x="1505" y="1237" />
705 <di:waypoint x="1505" y="1258" />
707 <dc:Bounds x="1520" y="1237" width="0" height="0" />
710 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_157" bpmnElement="prepareNetworkRequest_ScriptTask">
711 <dc:Bounds x="1454" y="1009" width="100" height="80" />
713 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_89" bpmnElement="SequenceFlow_61" sourceElement="_BPMNShape_ScriptTask_157" targetElement="_BPMNShape_ServiceTask_83">
714 <di:waypoint x="1504" y="1089" />
715 <di:waypoint x="1504" y="1111" />
716 <di:waypoint x="1504" y="1111" />
717 <di:waypoint x="1504" y="1135" />
719 <dc:Bounds x="1519" y="1111" width="0" height="0" />
722 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_215" bpmnElement="callRESTQueryNetworkPolicy_ScriptTask">
723 <dc:Bounds x="1454" y="750" width="100" height="80" />
725 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_60" bpmnElement="SequenceFlow_38" sourceElement="_BPMNShape_ScriptTask_215" targetElement="_BPMNShape_ScriptTask_333">
726 <di:waypoint x="1504" y="830" />
727 <di:waypoint x="1504" y="879" />
729 <dc:Bounds x="1519" y="854.5" width="0" height="0" />
732 <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_215" bpmnElement="isPONR_ExclusiveGateway" isMarkerVisible="true">
733 <dc:Bounds x="304" y="1060" width="50" height="50" />
735 <dc:Bounds x="248" y="1078" width="46" height="12" />
738 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_77" bpmnElement="isPONR_Yes_SequenceFlow" sourceElement="_BPMNShape_ExclusiveGateway_215">
739 <di:waypoint x="354" y="1085" />
740 <di:waypoint x="457" y="1085" />
741 <di:waypoint x="457" y="1159" />
743 <dc:Bounds x="351" y="1088" width="18" height="12" />
746 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_85" bpmnElement="isPONR_No_SequenceFlow" sourceElement="_BPMNShape_ExclusiveGateway_215">
747 <di:waypoint x="329" y="1060" />
748 <di:waypoint x="329" y="1003" />
750 <dc:Bounds x="339" y="1051" width="14" height="12" />
753 <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_217" bpmnElement="sdncOk_ExclusiveGateway" isMarkerVisible="true">
754 <dc:Bounds x="527" y="845" width="50" height="50" />
756 <dc:Bounds x="585" y="858" width="72" height="24" />
759 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_92" bpmnElement="sdncOk_Yeso_ExclusiveGateway" sourceElement="_BPMNShape_ExclusiveGateway_217" targetElement="_BPMNShape_ScriptTask_261">
760 <di:waypoint x="552" y="845" />
761 <di:waypoint x="552" y="776" />
762 <di:waypoint x="713" y="776" />
764 <dc:Bounds x="559" y="829" width="18" height="12" />
767 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_93" bpmnElement="sdncOk_No_ExclusiveGateway" sourceElement="_BPMNShape_ExclusiveGateway_217">
768 <di:waypoint x="551" y="894" />
769 <di:waypoint x="551" y="978" />
770 <di:waypoint x="713" y="978" />
772 <dc:Bounds x="559" y="895" width="14" height="12" />
775 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_245" bpmnElement="callRESTQueryCloudRegion_ScriptTask">
776 <dc:Bounds x="1199" y="276" width="100" height="80" />
778 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_53" bpmnElement="SequenceFlow_32" sourceElement="_BPMNShape_ScriptTask_245" targetElement="_BPMNShape_ScriptTask_67">
779 <di:waypoint x="1299" y="316" />
780 <di:waypoint x="1337" y="316" />
782 <dc:Bounds x="1318" y="301" width="0" height="0" />
785 <bpmndi:BPMNShape id="_BPMNShape_BoundaryEvent_38" bpmnElement="BoundaryEvent_4">
786 <dc:Bounds x="1672" y="457" width="36" height="36" />
788 <dc:Bounds x="1690" y="493" width="0" height="0" />
791 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_69" bpmnElement="SequenceFlow_34" sourceElement="_BPMNShape_BoundaryEvent_38" targetElement="_BPMNShape_EndEvent_124">
792 <di:waypoint x="1702" y="488" />
793 <di:waypoint x="1745" y="533" />
795 <dc:Bounds x="1724" y="495.5" width="0" height="0" />
798 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_261" bpmnElement="prepareSDNCRollbackRequest_ScriptTask">
799 <dc:Bounds x="886" y="830" width="100" height="79" />
801 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_19" bpmnElement="SequenceFlow_13" sourceElement="_BPMNShape_ScriptTask_63" targetElement="_BPMNShape_ScriptTask_134">
802 <di:waypoint x="1507" y="1338" />
803 <di:waypoint x="1505" y="1392" />
805 <dc:Bounds x="1506" y="1350" width="0" height="0" />
808 <bpmndi:BPMNShape id="_BPMNShape_SubProcess_28" bpmnElement="unexpectedErrors_SubProcess" isExpanded="true">
809 <dc:Bounds x="21" y="381" width="394" height="188" />
811 <bpmndi:BPMNShape id="_BPMNShape_StartEvent_71" bpmnElement="StartEvent_1">
812 <dc:Bounds x="54" y="458" width="36" height="36" />
814 <dc:Bounds x="72" y="499" width="0" height="0" />
817 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_270" bpmnElement="ScriptTask_1">
818 <dc:Bounds x="169" y="436" width="100" height="80" />
820 <bpmndi:BPMNShape id="_BPMNShape_EndEvent_220" bpmnElement="EndEvent_1">
821 <dc:Bounds x="330" y="458" width="36" height="36" />
823 <dc:Bounds x="348" y="499" width="0" height="0" />
826 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_5" bpmnElement="SequenceFlow_10" sourceElement="_BPMNShape_StartEvent_71" targetElement="_BPMNShape_ScriptTask_270">
827 <di:waypoint x="90" y="476" />
828 <di:waypoint x="169" y="476" />
830 <dc:Bounds x="129" y="476" width="6" height="6" />
833 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_13" bpmnElement="SequenceFlow_14" sourceElement="_BPMNShape_ScriptTask_270" targetElement="_BPMNShape_EndEvent_220">
834 <di:waypoint x="269" y="476" />
835 <di:waypoint x="330" y="476" />
837 <dc:Bounds x="301" y="476" width="6" height="6" />
840 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_3" bpmnElement="SequenceFlow_3" sourceElement="ScriptTask_0z2n0hl_di" targetElement="ExclusiveGateway_0lw40k5_di">
841 <di:waypoint x="809" y="235" />
842 <di:waypoint x="809" y="316" />
843 <di:waypoint x="951" y="316" />
845 <dc:Bounds x="779" y="275.5" width="90" height="0" />
848 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_333" bpmnElement="callRESTQueryNetworkTableRef_ScriptTask">
849 <dc:Bounds x="1454" y="879" width="100" height="80" />
851 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_14" bpmnElement="SequenceFlow_20" sourceElement="_BPMNShape_ScriptTask_333" targetElement="_BPMNShape_ScriptTask_157">
852 <di:waypoint x="1504" y="959" />
853 <di:waypoint x="1504" y="981" />
854 <di:waypoint x="1504" y="981" />
855 <di:waypoint x="1504" y="1009" />
857 <dc:Bounds x="1519" y="981" width="0" height="0" />
860 <bpmndi:BPMNEdge id="SequenceFlow_1n61wit_di" bpmnElement="SequenceFlow_1n61wit">
861 <di:waypoint x="433" y="195" />
862 <di:waypoint x="492" y="195" />
863 <di:waypoint x="492" y="195" />
864 <di:waypoint x="546" y="195" />
866 <dc:Bounds x="507" y="195" width="0" height="0" />
869 <bpmndi:BPMNShape id="ScriptTask_1jay2gg_di" bpmnElement="ScriptTask_preprocess">
870 <dc:Bounds x="546" y="155" width="100" height="80" />
872 <bpmndi:BPMNEdge id="SequenceFlow_0ftylq3_di" bpmnElement="SequenceFlow_0ftylq3">
873 <di:waypoint x="646" y="195" />
874 <di:waypoint x="706" y="195" />
875 <di:waypoint x="706" y="195" />
876 <di:waypoint x="759" y="195" />
878 <dc:Bounds x="676" y="195" width="90" height="0" />
881 <bpmndi:BPMNShape id="ExclusiveGateway_0lw40k5_di" bpmnElement="isNameSent_ExclusiveGateway" isMarkerVisible="true">
882 <dc:Bounds x="951" y="291" width="50" height="50" />
884 <dc:Bounds x="933" y="349" width="85" height="26" />
887 <bpmndi:BPMNEdge id="SequenceFlow_0635hhm_di" bpmnElement="isNameSentYes_SequenceFlow">
888 <di:waypoint x="976" y="291" />
889 <di:waypoint x="976" y="170" />
890 <di:waypoint x="976" y="170" />
891 <di:waypoint x="976" y="49" />
893 <dc:Bounds x="988" y="275" width="18" height="13" />
896 <bpmndi:BPMNEdge id="SequenceFlow_1sirjgc_di" bpmnElement="isNameSentNo_SequenceFlow">
897 <di:waypoint x="1001" y="316" />
898 <di:waypoint x="1199" y="316" />
900 <dc:Bounds x="1005" y="328" width="14" height="13" />
903 <bpmndi:BPMNShape id="CallActivity_1uxa4p9_di" bpmnElement="Task_1ipbwbj">
904 <dc:Bounds x="1014" y="1538" width="100" height="80" />
906 <bpmndi:BPMNShape id="ScriptTask_0m5hrmn_di" bpmnElement="Task_1rd6dg6">
907 <dc:Bounds x="1183" y="1538" width="100" height="80" />
909 <bpmndi:BPMNShape id="ExclusiveGateway_0n0ptg6_di" bpmnElement="ExclusiveGateway_0n0ptg6" isMarkerVisible="true">
910 <dc:Bounds x="724" y="1553" width="50" height="50" />
912 <dc:Bounds x="644" y="1566" width="68" height="24" />
915 <bpmndi:BPMNEdge id="SequenceFlow_13deudk_di" bpmnElement="SequenceFlow_13deudk">
916 <di:waypoint x="1183" y="1578" />
917 <di:waypoint x="1114" y="1578" />
919 <dc:Bounds x="1149" y="1563" width="0" height="0" />
922 <bpmndi:BPMNEdge id="SequenceFlow_08qibb9_di" bpmnElement="SequenceFlow_08qibb9">
923 <di:waypoint x="1014" y="1578" />
924 <di:waypoint x="953" y="1578" />
926 <dc:Bounds x="984" y="1563" width="0" height="0" />
929 <bpmndi:BPMNEdge id="SequenceFlow_1t03rs2_di" bpmnElement="SequenceFlow_1t03rs2">
930 <di:waypoint x="853" y="1578" />
931 <di:waypoint x="774" y="1578" />
933 <dc:Bounds x="814" y="1563" width="0" height="0" />
936 <bpmndi:BPMNEdge id="SequenceFlow_1jia57e_di" bpmnElement="SequenceFlow_1jia57e">
937 <di:waypoint x="749" y="1553" />
938 <di:waypoint x="749" y="1484" />
940 <dc:Bounds x="757" y="1537.7047949008065" width="18" height="12" />
943 <bpmndi:BPMNEdge id="SequenceFlow_18ybfu5_di" bpmnElement="SequenceFlow_18ybfu5">
944 <di:waypoint x="749" y="1603" />
945 <di:waypoint x="749" y="1669" />
947 <dc:Bounds x="758" y="1603.7606668519034" width="14" height="12" />
950 <bpmndi:BPMNShape id="ScriptTask_1v458g5_di" bpmnElement="validateSDNCActivate_Task">
951 <dc:Bounds x="853" y="1538" width="100" height="80" />
953 <bpmndi:BPMNShape id="BoundaryEvent_0pg57au_di" bpmnElement="BoundaryEvent_0vb26bm">
954 <dc:Bounds x="859" y="1600" width="36" height="36" />
956 <dc:Bounds x="877" y="1636" width="0" height="0" />
959 <bpmndi:BPMNEdge id="SequenceFlow_0s51ns0_di" bpmnElement="SequenceFlow_0s51ns0">
960 <di:waypoint x="877" y="1636" />
961 <di:waypoint x="877" y="1687" />
962 <di:waypoint x="767" y="1687" />
964 <dc:Bounds x="892" y="1661.5" width="0" height="0" />
967 <bpmndi:BPMNShape id="EndEvent_0h7h49p_di" bpmnElement="EndEvent_13v46cq">
968 <dc:Bounds x="731" y="1669" width="36" height="36" />
970 <dc:Bounds x="711" y="1715" width="76" height="24" />
973 <bpmndi:BPMNShape id="ExclusiveGateway_0f9d94i_di" bpmnElement="isSDNCActivate_ExclusiveGateway" isMarkerVisible="true">
974 <dc:Bounds x="304" y="953" width="50" height="50" />
976 <dc:Bounds x="210" y="966" width="84" height="24" />
979 <bpmndi:BPMNEdge id="SequenceFlow_0cly7z2_di" bpmnElement="SequenceFlow_0cly7z2">
980 <di:waypoint x="329" y="953" />
981 <di:waypoint x="329" y="910" />
983 <dc:Bounds x="335" y="937" width="18" height="12" />
986 <bpmndi:BPMNEdge id="SequenceFlow_12tlymf_di" bpmnElement="SequenceFlow_12tlymf">
987 <di:waypoint x="354" y="978" />
988 <di:waypoint x="457" y="978" />
989 <di:waypoint x="457" y="895" />
991 <dc:Bounds x="350" y="988" width="14" height="12" />
994 <bpmndi:BPMNShape id="ExclusiveGateway_1ts3ph0_di" bpmnElement="isSdncRpc1_ExclusiveGateway1" isMarkerVisible="true">
995 <dc:Bounds x="1337.228" y="291" width="50" height="50" />
997 <dc:Bounds x="1401" y="304" width="61" height="24" />
1000 <bpmndi:BPMNEdge id="SequenceFlow_1r5sja0_di" bpmnElement="isSdncRpc1No_SequenceFlow1">
1001 <di:waypoint x="1362" y="291" />
1002 <di:waypoint x="1362" y="195" />
1003 <di:waypoint x="1590" y="195" />
1005 <dc:Bounds x="1371" y="273" width="14" height="12" />
1008 <bpmndi:BPMNEdge id="SequenceFlow_1ow57qy_di" bpmnElement="isSdncRpc1Yes_SequenceFlow1">
1009 <di:waypoint x="1362" y="341" />
1010 <di:waypoint x="1362" y="395" />
1012 <dc:Bounds x="1373" y="341" width="18" height="12" />
1015 <bpmndi:BPMNShape id="CallActivity_067czgj_di" bpmnElement="Task_0pbtywn">
1016 <dc:Bounds x="1454" y="395" width="100" height="80" />
1018 <bpmndi:BPMNEdge id="SequenceFlow_0j8bxnb_di" bpmnElement="SequenceFlow_0j8bxnb">
1019 <di:waypoint x="1412" y="435" />
1020 <di:waypoint x="1454" y="435" />
1022 <dc:Bounds x="1433" y="420" width="0" height="0" />
1025 <bpmndi:BPMNEdge id="SequenceFlow_0d93bqw_di" bpmnElement="SequenceFlow_0d93bqw">
1026 <di:waypoint x="1554" y="435" />
1027 <di:waypoint x="1590" y="435" />
1029 <dc:Bounds x="1572" y="420" width="0" height="0" />
1032 <bpmndi:BPMNShape id="ExclusiveGateway_00dh41t_di" bpmnElement="isSdncRpc4_ExclusiveGateway4" isMarkerVisible="true">
1033 <dc:Bounds x="713" y="751" width="50" height="50" />
1035 <dc:Bounds x="714" y="710" width="61" height="24" />
1038 <bpmndi:BPMNEdge id="SequenceFlow_0suu90e_di" bpmnElement="isSdncRpc4Yes_SequenceFlow4">
1039 <di:waypoint x="738" y="801" />
1040 <di:waypoint x="738" y="830" />
1042 <dc:Bounds x="743" y="800" width="18" height="12" />
1045 <bpmndi:BPMNEdge id="SequenceFlow_0xnyl6e_di" bpmnElement="isSdncRpc4No_SequenceFlow4">
1046 <di:waypoint x="763" y="776" />
1047 <di:waypoint x="936" y="776" />
1048 <di:waypoint x="936" y="830" />
1050 <dc:Bounds x="772" y="755" width="14" height="12" />
1053 <bpmndi:BPMNShape id="ExclusiveGateway_1gghe34_di" bpmnElement="isSdncRpc2_ExclusiveGateway2" isMarkerVisible="true">
1054 <dc:Bounds x="1360" y="1553" width="50" height="50" />
1056 <dc:Bounds x="1343" y="1619" width="83" height="36" />
1059 <bpmndi:BPMNEdge id="SequenceFlow_1lphs99_di" bpmnElement="isSdncRpc2Yes_SequenceFlow2">
1060 <di:waypoint x="1360" y="1578" />
1061 <di:waypoint x="1283" y="1578" />
1063 <dc:Bounds x="1337" y="1580.0388981849903" width="18" height="12" />
1066 <bpmndi:BPMNEdge id="SequenceFlow_0lk1uut_di" bpmnElement="isSdncRpc2No_SequenceFlow2">
1067 <di:waypoint x="1385" y="1553" />
1068 <di:waypoint x="1385" y="1444" />
1069 <di:waypoint x="799" y="1444" />
1071 <dc:Bounds x="1362" y="1543.660178848007" width="14" height="12" />
1074 <bpmndi:BPMNShape id="ScriptTask_1lkq0a3_di" bpmnElement="Task_10lubzj">
1075 <dc:Bounds x="1312" y="395" width="100" height="80" />
1077 <bpmndi:BPMNShape id="ScriptTask_19o9l99_di" bpmnElement="Task_0q6pzpn">
1078 <dc:Bounds x="688" y="830" width="100" height="80" />
1080 <bpmndi:BPMNShape id="EndEvent_1te02c4_di" bpmnElement="EndEvent_1te02c4">
1081 <dc:Bounds x="467" y="1426" width="36" height="36" />
1083 <dc:Bounds x="486" y="1462" width="0" height="0" />
1086 <bpmndi:BPMNShape id="EndEvent_1kpt4kc_di" bpmnElement="EndEvent_1kpt4kc">
1087 <dc:Bounds x="1160" y="1075" width="36" height="36" />
1089 <dc:Bounds x="1179" y="1111" width="0" height="0" />
1092 <bpmndi:BPMNShape id="EndEvent_0ti2ctu_di" bpmnElement="EndEvent_0ti2ctu">
1093 <dc:Bounds x="1486" y="-9" width="36" height="36" />
1095 <dc:Bounds x="1468" y="38" width="72" height="12" />
1098 <bpmndi:BPMNEdge id="SequenceFlow_1s8b1m1_di" bpmnElement="SequenceFlow_1s8b1m1">
1099 <di:waypoint x="699" y="1444" />
1100 <di:waypoint x="597" y="1444" />
1101 <di:waypoint x="597" y="1444" />
1102 <di:waypoint x="503" y="1444" />
1104 <dc:Bounds x="612" y="1444" width="0" height="0" />
1107 <bpmndi:BPMNShape id="ScriptTask_1feo4ms_di" bpmnElement="Task_0zzobg6">
1108 <dc:Bounds x="699" y="1404" width="100" height="80" />
1110 <bpmndi:BPMNShape id="ScriptTask_0myjg9k_di" bpmnElement="ScriptTask_0myjg9k">
1111 <dc:Bounds x="688" y="1053" width="100" height="80" />
1113 <bpmndi:BPMNEdge id="SequenceFlow_0b8j5rw_di" bpmnElement="SequenceFlow_0b8j5rw">
1114 <di:waypoint x="379" y="870" />
1115 <di:waypoint x="432" y="870" />
1117 <dc:Bounds x="406" y="855" width="0" height="0" />
1120 <bpmndi:BPMNShape id="ScriptTask_17adm0m_di" bpmnElement="Task_1imzwi3">
1121 <dc:Bounds x="279" y="830" width="100" height="80" />
1123 <bpmndi:BPMNEdge id="SequenceFlow_1ipz2ze_di" bpmnElement="SequenceFlow_1ipz2ze">
1124 <di:waypoint x="1454" y="1578" />
1125 <di:waypoint x="1432" y="1578" />
1126 <di:waypoint x="1432" y="1578" />
1127 <di:waypoint x="1410" y="1578" />
1129 <dc:Bounds x="1447" y="1578" width="0" height="0" />
1132 <bpmndi:BPMNShape id="CallActivity_1u07hp7_di" bpmnElement="CallActivity_1u07hp7">
1133 <dc:Bounds x="841" y="1053" width="100" height="80" />
1135 <bpmndi:BPMNEdge id="SequenceFlow_0vzsyrd_di" bpmnElement="SequenceFlow_0vzsyrd">
1136 <di:waypoint x="941" y="1093" />
1137 <di:waypoint x="1007" y="1093" />
1139 <dc:Bounds x="974" y="1078" width="0" height="0" />
1142 <bpmndi:BPMNEdge id="SequenceFlow_0bwpkkb_di" bpmnElement="SequenceFlow_0bwpkkb">
1143 <di:waypoint x="738" y="910" />
1144 <di:waypoint x="738" y="953" />
1146 <dc:Bounds x="753" y="922" width="0" height="0" />
1149 <bpmndi:BPMNEdge id="SequenceFlow_0lndbvr_di" bpmnElement="SequenceFlow_0lndbvr">
1150 <di:waypoint x="936" y="909" />
1151 <di:waypoint x="936" y="978" />
1152 <di:waypoint x="763" y="978" />
1154 <dc:Bounds x="951" y="944" width="0" height="0" />
1157 <bpmndi:BPMNEdge id="SequenceFlow_096tad6_di" bpmnElement="SequenceFlow_096tad6">
1158 <di:waypoint x="788" y="1093" />
1159 <di:waypoint x="841" y="1093" />
1161 <dc:Bounds x="815" y="1078" width="0" height="0" />
1164 <bpmndi:BPMNShape id="TextAnnotation_1py1p84_di" bpmnElement="TextAnnotation_1py1p84">
1165 <dc:Bounds x="1036" y="901" width="252" height="119" />
1167 <bpmndi:BPMNEdge id="Association_0nketgd_di" bpmnElement="Association_0nketgd">
1168 <di:waypoint x="941" y="1069" />
1169 <di:waypoint x="1041" y="1020" />
1171 <bpmndi:BPMNShape id="ScriptTask_0w2ekuz_di" bpmnElement="ScriptTask_0w2ekuz">
1172 <dc:Bounds x="1007" y="1053" width="100" height="80" />
1174 <bpmndi:BPMNEdge id="SequenceFlow_1qwubew_di" bpmnElement="SequenceFlow_1qwubew">
1175 <di:waypoint x="1107" y="1093" />
1176 <di:waypoint x="1160" y="1093" />
1178 <dc:Bounds x="1134" y="1068" width="0" height="0" />
1181 <bpmndi:BPMNShape id="ExclusiveGateway_1r7vhm5_di" bpmnElement="isRollbackOn_ExclusiveGateway" isMarkerVisible="true">
1182 <dc:Bounds x="304" y="1159" width="50" height="50" />
1184 <dc:Bounds x="290" y="1209" width="78" height="12" />
1187 <bpmndi:BPMNEdge id="SequenceFlow_19kcbiw_di" bpmnElement="isRollbackOn_SequenceFlow_Yes">
1188 <di:waypoint x="329" y="1159" />
1189 <di:waypoint x="329" y="1110" />
1191 <dc:Bounds x="337" y="1142" width="18" height="12" />
1194 <bpmndi:BPMNEdge id="SequenceFlow_0pl3e54_di" bpmnElement="isRollbackOn_SequenceFlow_No">
1195 <di:waypoint x="354" y="1184" />
1196 <di:waypoint x="432" y="1184" />
1198 <dc:Bounds x="355" y="1190" width="14" height="12" />
1201 <bpmndi:BPMNShape id="InclusiveGateway_0zl5xa8_di" bpmnElement="ExclusiveGateway_1qb2vwe">
1202 <dc:Bounds x="713" y="953" width="50" height="50" />
1204 <dc:Bounds x="738" y="1003" width="0" height="0" />
1207 <bpmndi:BPMNEdge id="SequenceFlow_15sffxc_di" bpmnElement="SequenceFlow_15sffxc">
1208 <di:waypoint x="738" y="1003" />
1209 <di:waypoint x="738" y="1053" />
1211 <dc:Bounds x="753" y="1028" width="0" height="0" />
1214 <bpmndi:BPMNShape id="InclusiveGateway_0t3i8it_di" bpmnElement="ExclusiveGateway_1bk0tqd">
1215 <dc:Bounds x="432" y="845" width="50" height="50" />
1217 <dc:Bounds x="457" y="895" width="0" height="0" />
1220 <bpmndi:BPMNEdge id="SequenceFlow_0k7y7b5_di" bpmnElement="SequenceFlow_0k7y7b5">
1221 <di:waypoint x="482" y="870" />
1222 <di:waypoint x="527" y="870" />
1224 <dc:Bounds x="505" y="845" width="0" height="0" />
1227 <bpmndi:BPMNShape id="ScriptTask_0p3v749_di" bpmnElement="ScriptTask_0p3v749">
1228 <dc:Bounds x="1335" y="-31" width="100" height="80" />
1230 <bpmndi:BPMNEdge id="SequenceFlow_18ylufb_di" bpmnElement="SequenceFlow_18ylufb">
1231 <di:waypoint x="1435" y="9" />
1232 <di:waypoint x="1486" y="9" />
1234 <dc:Bounds x="1461" y="-6" width="0" height="0" />
1237 <bpmndi:BPMNShape id="InclusiveGateway_1eochiz_di" bpmnElement="ExclusiveGateway_1umhuft">
1238 <dc:Bounds x="432" y="1159" width="50" height="50" />
1240 <dc:Bounds x="457" y="1209" width="0" height="0" />
1243 <bpmndi:BPMNEdge id="SequenceFlow_17nx822_di" bpmnElement="SequenceFlow_17nx822">
1244 <di:waypoint x="482" y="1184" />
1245 <di:waypoint x="1057" y="1184" />
1246 <di:waypoint x="1057" y="1133" />
1248 <dc:Bounds x="770" y="1169" width="0" height="0" />
1251 <bpmndi:BPMNShape id="TextAnnotation_1orb6o6_di" bpmnElement="TextAnnotation_1orb6o6">
1252 <dc:Bounds x="1606" y="1241" width="233" height="37" />
1254 <bpmndi:BPMNEdge id="Association_0c315jr_di" bpmnElement="Association_0c315jr">
1255 <di:waypoint x="1557" y="1289" />
1256 <di:waypoint x="1621" y="1278" />
1258 <bpmndi:BPMNShape id="TextAnnotation_0wjpv6r_di" bpmnElement="TextAnnotation_0wjpv6r">
1259 <dc:Bounds x="341" y="735" width="180" height="36" />
1261 <bpmndi:BPMNEdge id="Association_0eolbkz_di" bpmnElement="Association_0eolbkz">
1262 <di:waypoint x="452" y="850" />
1263 <di:waypoint x="435" y="771" />
1265 <bpmndi:BPMNShape id="ScriptTask_0j3058g_di" bpmnElement="ScriptTask_0j3058g">
1266 <dc:Bounds x="170" y="1144" width="100" height="80" />
1268 <bpmndi:BPMNEdge id="SequenceFlow_10ttvwn_di" bpmnElement="SequenceFlow_10ttvwn">
1269 <di:waypoint x="270" y="1184" />
1270 <di:waypoint x="304" y="1184" />
1272 <dc:Bounds x="287" y="1159" width="0" height="0" />
1275 <bpmndi:BPMNShape id="ScriptTask_0z2n0hl_di" bpmnElement="callGetServiceInstance">
1276 <dc:Bounds x="759" y="155" width="100" height="80" />
1279 </bpmndi:BPMNDiagram>
1280 </bpmn2:definitions>