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="3.1.2" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd">
3 <bpmn2:process id="AssignNetworkBB" name="AssignNetworkBB" isExecutable="true">
4 <bpmn2:startEvent id="AssignNetworkBB_start">
5 <bpmn2:outgoing>SequenceFlow_11op1ih</bpmn2:outgoing>
7 <bpmn2:serviceTask id="ServiceTask_get_cloud_region" name=" Process cloud region by version " camunda:expression="${AssignNetworkBBUtils.getCloudRegion(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
8 <bpmn2:incoming>SequenceFlow_0jm95hf</bpmn2:incoming>
9 <bpmn2:outgoing>SequenceFlow_16hhbw3</bpmn2:outgoing>
11 <bpmn2:serviceTask id="ServiceTask_assign_network_sdnc" name=" SDNC Assign (network) " camunda:expression="${SDNCAssignTasks.assignNetwork(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
12 <bpmn2:incoming>SequenceFlow_16hhbw3</bpmn2:incoming>
13 <bpmn2:outgoing>SequenceFlow_0rt36co</bpmn2:outgoing>
15 <bpmn2:serviceTask id="ServiceTask_put_network_in_AAI" name=" AAI Create (network) " camunda:expression="${AAICreateTasks.createNetwork(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
16 <bpmn2:incoming>SequenceFlow_0gkr871</bpmn2:incoming>
17 <bpmn2:outgoing>SequenceFlow_1ctpnpe</bpmn2:outgoing>
19 <bpmn2:serviceTask id="ServiceTask_assign_network_aai" name=" AAI Update (network) " camunda:expression="${AAIUpdateTasks.updateOrchestrationStatusAssignedNetwork(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
20 <bpmn2:incoming>SequenceFlow_1mvf7b9</bpmn2:incoming>
21 <bpmn2:outgoing>SequenceFlow_0988gld</bpmn2:outgoing>
23 <bpmn2:sequenceFlow id="SequenceFlow_017131q" name="Yes" sourceRef="networkFoundByName_ExclusiveGateway" targetRef="ExclusiveGateway_0vtj8n8">
24 <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression">#{AssignNetwork.networkFoundByName(execution.getVariable("gBuildingBlockExecution")) == true}</bpmn2:conditionExpression>
26 <bpmn2:sequenceFlow id="SequenceFlow_0gkr871" name="No" sourceRef="networkFoundByName_ExclusiveGateway" targetRef="ServiceTask_put_network_in_AAI" />
27 <bpmn2:endEvent id="AssignNetworkBB_end">
28 <bpmn2:incoming>SequenceFlow_0988gld</bpmn2:incoming>
30 <bpmn2:sequenceFlow id="SequenceFlow_11op1ih" sourceRef="AssignNetworkBB_start" targetRef="networkFoundByName_ExclusiveGateway" />
31 <bpmn2:serviceTask id="ServiceTask_connect_to_NCIG" name=" AAI Connect (collection) " camunda:expression="${AAICreateTasks.connectNetworkToNetworkCollectionInstanceGroup(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
32 <bpmn2:incoming>SequenceFlow_07z7hcu</bpmn2:incoming>
33 <bpmn2:outgoing>SequenceFlow_0e08b9t</bpmn2:outgoing>
35 <bpmn2:serviceTask id="ServiceTask_connect_to_NCSI" name=" AAI Connect (svc instance) " camunda:expression="${AAICreateTasks.connectNetworkToNetworkCollectionServiceInstance(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
36 <bpmn2:incoming>SequenceFlow_0e08b9t</bpmn2:incoming>
37 <bpmn2:outgoing>SequenceFlow_0mxc4ri</bpmn2:outgoing>
39 <bpmn2:sequenceFlow id="SequenceFlow_1ctpnpe" sourceRef="ServiceTask_put_network_in_AAI" targetRef="ExclusiveGateway_0g85lk7" />
40 <bpmn2:sequenceFlow id="SequenceFlow_0e08b9t" sourceRef="ServiceTask_connect_to_NCIG" targetRef="ServiceTask_connect_to_NCSI" />
41 <bpmn2:sequenceFlow id="SequenceFlow_0mxc4ri" sourceRef="ServiceTask_connect_to_NCSI" targetRef="ExclusiveGateway_0vtj8n8" />
42 <bpmn2:serviceTask id="ServiceTask_connect_to_Tenant" name=" AAI Connect (tenant) " camunda:expression="${AAICreateTasks.connectNetworkToTenant(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
43 <bpmn2:incoming>SequenceFlow_0lj5jj1</bpmn2:incoming>
44 <bpmn2:outgoing>SequenceFlow_0fwcvep</bpmn2:outgoing>
46 <bpmn2:serviceTask id="ServiceTask_connect_to_CloudRegion" name=" AAI Connect (cloud region) " camunda:expression="${AAICreateTasks.connectNetworkToCloudRegion(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
47 <bpmn2:incoming>SequenceFlow_0fwcvep</bpmn2:incoming>
48 <bpmn2:outgoing>SequenceFlow_07z7hcu</bpmn2:outgoing>
50 <bpmn2:sequenceFlow id="SequenceFlow_0fwcvep" sourceRef="ServiceTask_connect_to_Tenant" targetRef="ServiceTask_connect_to_CloudRegion" />
51 <bpmn2:sequenceFlow id="SequenceFlow_07z7hcu" sourceRef="ServiceTask_connect_to_CloudRegion" targetRef="ServiceTask_connect_to_NCIG" />
52 <bpmn2:inclusiveGateway id="networkFoundByName_ExclusiveGateway" name="Network Name Found?" default="SequenceFlow_0gkr871">
53 <bpmn2:incoming>SequenceFlow_11op1ih</bpmn2:incoming>
54 <bpmn2:outgoing>SequenceFlow_017131q</bpmn2:outgoing>
55 <bpmn2:outgoing>SequenceFlow_0gkr871</bpmn2:outgoing>
56 </bpmn2:inclusiveGateway>
57 <bpmn2:sequenceFlow id="SequenceFlow_0jm95hf" sourceRef="ExclusiveGateway_0vtj8n8" targetRef="ServiceTask_get_cloud_region" />
58 <bpmn2:sequenceFlow id="SequenceFlow_16hhbw3" sourceRef="ServiceTask_get_cloud_region" targetRef="ServiceTask_assign_network_sdnc" />
59 <bpmn2:sequenceFlow id="SequenceFlow_0988gld" sourceRef="ServiceTask_assign_network_aai" targetRef="AssignNetworkBB_end" />
60 <bpmn2:callActivity id="CallActivity_sdncHandlerCall" name="SDNC Assign (network)" calledElement="SDNCHandler">
61 <bpmn2:extensionElements>
62 <camunda:in source="SDNCRequest" target="SDNCRequest" />
63 <camunda:out source="SDNCResponse" target="SDNCResponse" />
64 <camunda:out source="WorkflowException" target="WorkflowException" />
65 <camunda:in source="mso-request-id" target="mso-request-id" />
66 </bpmn2:extensionElements>
67 <bpmn2:incoming>SequenceFlow_0rt36co</bpmn2:incoming>
68 <bpmn2:outgoing>SequenceFlow_1mvf7b9</bpmn2:outgoing>
70 <bpmn2:sequenceFlow id="SequenceFlow_0rt36co" sourceRef="ServiceTask_assign_network_sdnc" targetRef="CallActivity_sdncHandlerCall" />
71 <bpmn2:sequenceFlow id="SequenceFlow_1mvf7b9" sourceRef="CallActivity_sdncHandlerCall" targetRef="ServiceTask_assign_network_aai" />
72 <bpmn2:serviceTask id="Task_0mu8391" name="Create Platform" camunda:expression="${AAICreateTasks.createPlatformForNetwork(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
73 <bpmn2:incoming>SequenceFlow_1kslfgw</bpmn2:incoming>
74 <bpmn2:outgoing>SequenceFlow_0j7rpm9</bpmn2:outgoing>
76 <bpmn2:serviceTask id="ServiceTask_0e2crgd" name="Create Lob" camunda:expression="${AAICreateTasks.createLineOfBusinessForNetwork(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
77 <bpmn2:incoming>SequenceFlow_0j7rpm9</bpmn2:incoming>
78 <bpmn2:outgoing>SequenceFlow_0ugp99e</bpmn2:outgoing>
80 <bpmn2:sequenceFlow id="SequenceFlow_0lj5jj1" sourceRef="ExclusiveGateway_0g85lk7" targetRef="ServiceTask_connect_to_Tenant" />
81 <bpmn2:sequenceFlow id="SequenceFlow_1kslfgw" sourceRef="ExclusiveGateway_0g85lk7" targetRef="Task_0mu8391" />
82 <bpmn2:sequenceFlow id="SequenceFlow_0j7rpm9" sourceRef="Task_0mu8391" targetRef="ServiceTask_0e2crgd" />
83 <bpmn2:sequenceFlow id="SequenceFlow_0ugp99e" sourceRef="ServiceTask_0e2crgd" targetRef="ExclusiveGateway_0vtj8n8" />
84 <bpmn2:parallelGateway id="ExclusiveGateway_0g85lk7">
85 <bpmn2:incoming>SequenceFlow_1ctpnpe</bpmn2:incoming>
86 <bpmn2:outgoing>SequenceFlow_0lj5jj1</bpmn2:outgoing>
87 <bpmn2:outgoing>SequenceFlow_1kslfgw</bpmn2:outgoing>
88 </bpmn2:parallelGateway>
89 <bpmn2:inclusiveGateway id="ExclusiveGateway_0vtj8n8">
90 <bpmn2:incoming>SequenceFlow_017131q</bpmn2:incoming>
91 <bpmn2:incoming>SequenceFlow_0mxc4ri</bpmn2:incoming>
92 <bpmn2:incoming>SequenceFlow_0ugp99e</bpmn2:incoming>
93 <bpmn2:outgoing>SequenceFlow_0jm95hf</bpmn2:outgoing>
94 </bpmn2:inclusiveGateway>
95 <bpmn2:textAnnotation id="TextAnnotation_0dnksb2">
96 <bpmn2:text>sets Cloud Region on BB execution for SDNC assign</bpmn2:text>
97 </bpmn2:textAnnotation>
98 <bpmn2:association id="Association_1rsqd3z" sourceRef="ServiceTask_get_cloud_region" targetRef="TextAnnotation_0dnksb2" />
99 <bpmn2:textAnnotation id="TextAnnotation_17jb2vn">
100 <bpmn2:text>conditionally executed if Network Collection Instance Group exists</bpmn2:text>
101 </bpmn2:textAnnotation>
102 <bpmn2:association id="Association_15ppe1t" sourceRef="ServiceTask_connect_to_NCIG" targetRef="TextAnnotation_17jb2vn" />
104 <bpmn2:error id="Error_2" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
105 <bpmn2:error id="Error_1" name="java.lang.Exception" errorCode="java.lang.Exception" />
106 <bpmndi:BPMNDiagram id="BPMNDiagram_1">
107 <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="AssignNetworkBB">
108 <bpmndi:BPMNShape id="_BPMNShape_StartEvent_47" bpmnElement="AssignNetworkBB_start">
109 <dc:Bounds x="156" y="137" width="36" height="36" />
111 <dc:Bounds x="739" y="-64" width="50" height="12" />
114 <bpmndi:BPMNShape id="ServiceTask_1wo7ke9_di" bpmnElement="ServiceTask_get_cloud_region">
115 <dc:Bounds x="1042" y="115" width="100" height="80" />
117 <bpmndi:BPMNShape id="ServiceTask_1ofnl0p_di" bpmnElement="ServiceTask_assign_network_sdnc">
118 <dc:Bounds x="1179" y="115" width="100" height="80" />
120 <bpmndi:BPMNShape id="TextAnnotation_0dnksb2_di" bpmnElement="TextAnnotation_0dnksb2">
121 <dc:Bounds x="986" y="242" width="212" height="30" />
123 <bpmndi:BPMNEdge id="Association_1rsqd3z_di" bpmnElement="Association_1rsqd3z">
124 <di:waypoint x="1092" y="195" />
125 <di:waypoint x="1092" y="242" />
127 <bpmndi:BPMNShape id="ServiceTask_1dm3ngd_di" bpmnElement="ServiceTask_put_network_in_AAI">
128 <dc:Bounds x="316" y="193" width="100" height="80" />
130 <bpmndi:BPMNShape id="ServiceTask_18yks1p_di" bpmnElement="ServiceTask_assign_network_aai">
131 <dc:Bounds x="1516" y="115" width="100" height="80" />
133 <bpmndi:BPMNEdge id="SequenceFlow_017131q_di" bpmnElement="SequenceFlow_017131q">
134 <di:waypoint x="273" y="130" />
135 <di:waypoint x="273" y="81" />
136 <di:waypoint x="972" y="81" />
137 <di:waypoint x="972" y="130" />
139 <dc:Bounds x="282" y="90" width="18" height="14" />
142 <bpmndi:BPMNEdge id="SequenceFlow_0gkr871_di" bpmnElement="SequenceFlow_0gkr871">
143 <di:waypoint x="273" y="180" />
144 <di:waypoint x="273" y="233" />
145 <di:waypoint x="316" y="233" />
147 <dc:Bounds x="282" y="206" width="15" height="14" />
150 <bpmndi:BPMNShape id="EndEvent_083u1a5_di" bpmnElement="AssignNetworkBB_end">
151 <dc:Bounds x="1651" y="137" width="36" height="36" />
153 <dc:Bounds x="2214" y="-65" width="90" height="12" />
156 <bpmndi:BPMNEdge id="SequenceFlow_11op1ih_di" bpmnElement="SequenceFlow_11op1ih">
157 <di:waypoint x="192" y="155" />
158 <di:waypoint x="248" y="155" />
160 <dc:Bounds x="765" y="-102" width="90" height="0" />
163 <bpmndi:BPMNShape id="ServiceTask_0a96yhg_di" bpmnElement="ServiceTask_connect_to_NCIG">
164 <dc:Bounds x="743" y="193" width="100" height="80" />
166 <bpmndi:BPMNShape id="ServiceTask_0mauyto_di" bpmnElement="ServiceTask_connect_to_NCSI">
167 <dc:Bounds x="867" y="193" width="100" height="80" />
169 <bpmndi:BPMNEdge id="SequenceFlow_1ctpnpe_di" bpmnElement="SequenceFlow_1ctpnpe">
170 <di:waypoint x="416" y="232" />
171 <di:waypoint x="421" y="232" />
173 <dc:Bounds x="976" y="-24" width="90" height="0" />
176 <bpmndi:BPMNEdge id="SequenceFlow_0e08b9t_di" bpmnElement="SequenceFlow_0e08b9t">
177 <di:waypoint x="843" y="233" />
178 <di:waypoint x="867" y="233" />
180 <dc:Bounds x="1359" y="-24" width="90" height="0" />
183 <bpmndi:BPMNEdge id="SequenceFlow_0mxc4ri_di" bpmnElement="SequenceFlow_0mxc4ri">
184 <di:waypoint x="917" y="193" />
185 <di:waypoint x="956" y="164" />
187 <dc:Bounds x="1497" y="-24" width="90" height="0" />
190 <bpmndi:BPMNShape id="ServiceTask_019bzpc_di" bpmnElement="ServiceTask_connect_to_Tenant">
191 <dc:Bounds x="515" y="193" width="100" height="80" />
193 <bpmndi:BPMNShape id="ServiceTask_1alvmym_di" bpmnElement="ServiceTask_connect_to_CloudRegion">
194 <dc:Bounds x="622" y="193" width="100" height="80" />
196 <bpmndi:BPMNEdge id="SequenceFlow_0fwcvep_di" bpmnElement="SequenceFlow_0fwcvep">
197 <di:waypoint x="565" y="193" />
198 <di:waypoint x="565" y="173" />
199 <di:waypoint x="672" y="173" />
200 <di:waypoint x="672" y="193" />
202 <dc:Bounds x="1104" y="-24" width="90" height="0" />
205 <bpmndi:BPMNEdge id="SequenceFlow_07z7hcu_di" bpmnElement="SequenceFlow_07z7hcu">
206 <di:waypoint x="722" y="233" />
207 <di:waypoint x="743" y="233" />
209 <dc:Bounds x="1229" y="-24" width="90" height="0" />
212 <bpmndi:BPMNShape id="TextAnnotation_17jb2vn_di" bpmnElement="TextAnnotation_17jb2vn">
213 <dc:Bounds x="777" y="288" width="158" height="54" />
215 <bpmndi:BPMNEdge id="Association_15ppe1t_di" bpmnElement="Association_15ppe1t">
216 <di:waypoint x="793" y="273" />
217 <di:waypoint x="793" y="288" />
219 <bpmndi:BPMNShape id="InclusiveGateway_0kiphfm_di" bpmnElement="networkFoundByName_ExclusiveGateway">
220 <dc:Bounds x="248" y="130" width="50" height="50" />
222 <dc:Bounds x="308" y="138" width="73" height="27" />
225 <bpmndi:BPMNEdge id="SequenceFlow_0jm95hf_di" bpmnElement="SequenceFlow_0jm95hf">
226 <di:waypoint x="997" y="155" />
227 <di:waypoint x="1042" y="155" />
229 <dc:Bounds x="1609.5" y="-108" width="0" height="12" />
232 <bpmndi:BPMNEdge id="SequenceFlow_16hhbw3_di" bpmnElement="SequenceFlow_16hhbw3">
233 <di:waypoint x="1142" y="155" />
234 <di:waypoint x="1179" y="155" />
236 <dc:Bounds x="1750.5" y="-108" width="0" height="12" />
239 <bpmndi:BPMNEdge id="SequenceFlow_0988gld_di" bpmnElement="SequenceFlow_0988gld">
240 <di:waypoint x="1616" y="155" />
241 <di:waypoint x="1651" y="155" />
243 <dc:Bounds x="2178.5" y="-108" width="90" height="12" />
246 <bpmndi:BPMNShape id="CallActivity_0h7upeg_di" bpmnElement="CallActivity_sdncHandlerCall">
247 <dc:Bounds x="1337" y="115" width="100" height="80" />
249 <bpmndi:BPMNEdge id="SequenceFlow_0rt36co_di" bpmnElement="SequenceFlow_0rt36co">
250 <di:waypoint x="1279" y="155" />
251 <di:waypoint x="1337" y="155" />
253 <dc:Bounds x="1898" y="-108" width="0" height="12" />
256 <bpmndi:BPMNEdge id="SequenceFlow_1mvf7b9_di" bpmnElement="SequenceFlow_1mvf7b9">
257 <di:waypoint x="1437" y="155" />
258 <di:waypoint x="1516" y="155" />
260 <dc:Bounds x="2066.5" y="-108" width="0" height="12" />
263 <bpmndi:BPMNShape id="ServiceTask_0z9uk3m_di" bpmnElement="Task_0mu8391">
264 <dc:Bounds x="471" y="305" width="100" height="80" />
266 <bpmndi:BPMNShape id="ServiceTask_0e2crgd_di" bpmnElement="ServiceTask_0e2crgd">
267 <dc:Bounds x="631" y="305" width="100" height="80" />
269 <bpmndi:BPMNEdge id="SequenceFlow_0lj5jj1_di" bpmnElement="SequenceFlow_0lj5jj1">
270 <di:waypoint x="471" y="232" />
271 <di:waypoint x="515" y="233" />
273 <bpmndi:BPMNEdge id="SequenceFlow_1kslfgw_di" bpmnElement="SequenceFlow_1kslfgw">
274 <di:waypoint x="446" y="257" />
275 <di:waypoint x="446" y="345" />
276 <di:waypoint x="471" y="345" />
278 <bpmndi:BPMNEdge id="SequenceFlow_0j7rpm9_di" bpmnElement="SequenceFlow_0j7rpm9">
279 <di:waypoint x="571" y="343" />
280 <di:waypoint x="631" y="341" />
282 <bpmndi:BPMNEdge id="SequenceFlow_0ugp99e_di" bpmnElement="SequenceFlow_0ugp99e">
283 <di:waypoint x="731" y="345" />
284 <di:waypoint x="972" y="345" />
285 <di:waypoint x="972" y="180" />
287 <bpmndi:BPMNShape id="ParallelGateway_02lmom2_di" bpmnElement="ExclusiveGateway_0g85lk7">
288 <dc:Bounds x="421" y="207" width="50" height="50" />
290 <bpmndi:BPMNShape id="InclusiveGateway_1cof7a3_di" bpmnElement="ExclusiveGateway_0vtj8n8">
291 <dc:Bounds x="947" y="130" width="50" height="50" />
294 </bpmndi:BPMNDiagram>