1 <?xml version="1.0" encoding="UTF-8"?>
2 <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.11.3">
3 <bpmn:process id="AssignVnfBB" name="AssignVnfBB" isExecutable="true">
4 <bpmn:startEvent id="Start_AssignVnfBB">
5 <bpmn:outgoing>SequenceFlow_0zaz9o2</bpmn:outgoing>
7 <bpmn:endEvent id="End_AssignVnfBB">
8 <bpmn:incoming>SequenceFlow_0csh9dc</bpmn:incoming>
10 <bpmn:serviceTask id="Task_CreateVnf" name=" AAI Create (vnf) " camunda:expression="${AAICreateTasks.createVnf(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
11 <bpmn:incoming>SequenceFlow_0zaz9o2</bpmn:incoming>
12 <bpmn:outgoing>SequenceFlow_0qj7zcn</bpmn:outgoing>
14 <bpmn:sequenceFlow id="SequenceFlow_0zaz9o2" sourceRef="Start_AssignVnfBB" targetRef="Task_CreateVnf" />
15 <bpmn:sequenceFlow id="SequenceFlow_0csh9dc" sourceRef="Task_UpdateVnfOrchestrationStatusAssigned" targetRef="End_AssignVnfBB" />
16 <bpmn:serviceTask id="Task_UpdateVnfOrchestrationStatusAssigned" name=" AAI Update (vnf) " camunda:expression="${AAIUpdateTasks.updateOrchestrationStatusAssignedVnf(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
17 <bpmn:incoming>SequenceFlow_0yzidhu</bpmn:incoming>
18 <bpmn:outgoing>SequenceFlow_0csh9dc</bpmn:outgoing>
20 <bpmn:serviceTask id="Task_createInstanceGroups" name=" AAI Create (instance grp) " camunda:expression="${AssignVnf.createInstanceGroups(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
21 <bpmn:incoming>SequenceFlow_1lppa2m</bpmn:incoming>
22 <bpmn:outgoing>SequenceFlow_1nle8kc</bpmn:outgoing>
24 <bpmn:sequenceFlow id="SequenceFlow_1nle8kc" sourceRef="Task_createInstanceGroups" targetRef="ExclusiveGateway_02tchpp" />
25 <bpmn:sequenceFlow id="SequenceFlow_11jum90" name="no" sourceRef="ExclusiveGateway_02tchpp" targetRef="ExclusiveGateway_1blf52g" />
26 <bpmn:sequenceFlow id="SequenceFlow_1uiok7v" name="yes" sourceRef="ExclusiveGateway_02tchpp" targetRef="Task_callHoming">
27 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[${execution.getVariable("homing") == true}]]></bpmn:conditionExpression>
29 <bpmn:sequenceFlow id="SequenceFlow_0v8d14a" sourceRef="Task_callHoming" targetRef="ExclusiveGateway_1blf52g" />
30 <bpmn:callActivity id="Task_callHoming" name="Call Homing" calledElement="HomingBB">
31 <bpmn:extensionElements>
32 <camunda:in source="gBuildingBlockExecution" target="gBuildingBlockExecution" />
33 <camunda:in source="mso-request-id" target="mso-request-id" />
34 <camunda:out source="generalBuildingBlock" target="gBBInput" />
35 <camunda:out source="WorkflowException" target="WorkflowException" />
36 </bpmn:extensionElements>
37 <bpmn:incoming>SequenceFlow_1uiok7v</bpmn:incoming>
38 <bpmn:outgoing>SequenceFlow_0v8d14a</bpmn:outgoing>
40 <bpmn:sequenceFlow id="SequenceFlow_169g0ir" sourceRef="Task_createPlatform" targetRef="Task_createLineOfBusiness" />
41 <bpmn:sequenceFlow id="SequenceFlow_1lppa2m" sourceRef="Task_createLineOfBusiness" targetRef="Task_createInstanceGroups" />
42 <bpmn:serviceTask id="Task_createPlatform" name=" AAI Connect (platform) " camunda:expression="${AAICreateTasks.createPlatform(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
43 <bpmn:incoming>SequenceFlow_18ixm0j</bpmn:incoming>
44 <bpmn:outgoing>SequenceFlow_169g0ir</bpmn:outgoing>
46 <bpmn:serviceTask id="Task_createLineOfBusiness" name=" AAI Create (line bus) " camunda:expression="${AAICreateTasks.createLineOfBusiness(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
47 <bpmn:incoming>SequenceFlow_169g0ir</bpmn:incoming>
48 <bpmn:outgoing>SequenceFlow_1lppa2m</bpmn:outgoing>
50 <bpmn:subProcess id="SubProcess_19596dp" name="Error Handling " triggeredByEvent="true">
51 <bpmn:startEvent id="StartEvent_1c3cyuv">
52 <bpmn:outgoing>SequenceFlow_1i52a7x</bpmn:outgoing>
53 <bpmn:errorEventDefinition />
55 <bpmn:endEvent id="EndEvent_1bywujf">
56 <bpmn:incoming>SequenceFlow_1i52a7x</bpmn:incoming>
57 <bpmn:terminateEventDefinition />
59 <bpmn:sequenceFlow id="SequenceFlow_1i52a7x" sourceRef="StartEvent_1c3cyuv" targetRef="EndEvent_1bywujf" />
61 <bpmn:sequenceFlow id="SequenceFlow_14mpqit" sourceRef="ExclusiveGateway_1blf52g" targetRef="Task_SDNCCreateRequest" />
62 <bpmn:inclusiveGateway id="ExclusiveGateway_02tchpp" name="Call Homing?" default="SequenceFlow_11jum90">
63 <bpmn:incoming>SequenceFlow_1nle8kc</bpmn:incoming>
64 <bpmn:outgoing>SequenceFlow_11jum90</bpmn:outgoing>
65 <bpmn:outgoing>SequenceFlow_1uiok7v</bpmn:outgoing>
66 </bpmn:inclusiveGateway>
67 <bpmn:inclusiveGateway id="ExclusiveGateway_1blf52g">
68 <bpmn:incoming>SequenceFlow_11jum90</bpmn:incoming>
69 <bpmn:incoming>SequenceFlow_0v8d14a</bpmn:incoming>
70 <bpmn:outgoing>SequenceFlow_14mpqit</bpmn:outgoing>
71 </bpmn:inclusiveGateway>
72 <bpmn:serviceTask id="ServiceTask_ConnectVnfToCloudRegion" name=" AAI Connect (vnf to cloud region) " camunda:expression="${AAICreateTasks.connectVnfToCloudRegion(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
73 <bpmn:incoming>SequenceFlow_0qj7zcn</bpmn:incoming>
74 <bpmn:outgoing>SequenceFlow_0nsg48b</bpmn:outgoing>
76 <bpmn:sequenceFlow id="SequenceFlow_0qj7zcn" sourceRef="Task_CreateVnf" targetRef="ServiceTask_ConnectVnfToCloudRegion" />
77 <bpmn:serviceTask id="ServiceTask_ConnectVnfToTenant" name=" AAI Connect (vnf to tenant) " camunda:expression="${AAICreateTasks.connectVnfToTenant(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
78 <bpmn:incoming>SequenceFlow_0nsg48b</bpmn:incoming>
79 <bpmn:outgoing>SequenceFlow_18ixm0j</bpmn:outgoing>
81 <bpmn:sequenceFlow id="SequenceFlow_0nsg48b" sourceRef="ServiceTask_ConnectVnfToCloudRegion" targetRef="ServiceTask_ConnectVnfToTenant" />
82 <bpmn:sequenceFlow id="SequenceFlow_18ixm0j" sourceRef="ServiceTask_ConnectVnfToTenant" targetRef="Task_createPlatform" />
83 <bpmn:serviceTask id="Task_SDNCCreateRequest" name=" SDNC Create Request (vnf) " camunda:expression="${SDNCAssignTasks.assignVnf(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
84 <bpmn:incoming>SequenceFlow_14mpqit</bpmn:incoming>
85 <bpmn:outgoing>SequenceFlow_1991eue</bpmn:outgoing>
87 <bpmn:callActivity id="CallActivity_SDNCAssignVnf" name="SDNC Assign (vnf)" calledElement="SDNCHandler">
88 <bpmn:extensionElements>
89 <camunda:in source="SDNCRequest" target="SDNCRequest" />
90 <camunda:out source="SDNCResponse" target="SDNCResponse" />
91 <camunda:out source="WorkflowException" target="WorkflowException" />
92 <camunda:in source="mso-request-id" target="mso-request-id" />
93 </bpmn:extensionElements>
94 <bpmn:incoming>SequenceFlow_1991eue</bpmn:incoming>
95 <bpmn:outgoing>SequenceFlow_0yzidhu</bpmn:outgoing>
97 <bpmn:sequenceFlow id="SequenceFlow_1991eue" sourceRef="Task_SDNCCreateRequest" targetRef="CallActivity_SDNCAssignVnf" />
98 <bpmn:sequenceFlow id="SequenceFlow_0yzidhu" sourceRef="CallActivity_SDNCAssignVnf" targetRef="Task_UpdateVnfOrchestrationStatusAssigned" />
100 <bpmn:error id="Error_0rgauy1" name="gDelegateError" errorCode="7000" />
101 <bpmndi:BPMNDiagram id="BPMNDiagram_1">
102 <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="AssignVnfBB">
103 <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="Start_AssignVnfBB">
104 <dc:Bounds x="-249" y="116" width="36" height="36" />
106 <dc:Bounds x="-275" y="152" width="90" height="12" />
109 <bpmndi:BPMNShape id="EndEvent_1h93h9d_di" bpmnElement="End_AssignVnfBB">
110 <dc:Bounds x="1415" y="116" width="36" height="36" />
112 <dc:Bounds x="1388" y="156" width="90" height="12" />
115 <bpmndi:BPMNShape id="ServiceTask_1r380lg_di" bpmnElement="Task_CreateVnf">
116 <dc:Bounds x="-159" y="94" width="100" height="80" />
118 <bpmndi:BPMNEdge id="SequenceFlow_0zaz9o2_di" bpmnElement="SequenceFlow_0zaz9o2">
119 <di:waypoint xsi:type="dc:Point" x="-213" y="134" />
120 <di:waypoint xsi:type="dc:Point" x="-159" y="134" />
122 <dc:Bounds x="-231" y="113" width="90" height="12" />
125 <bpmndi:BPMNEdge id="SequenceFlow_0csh9dc_di" bpmnElement="SequenceFlow_0csh9dc">
126 <di:waypoint xsi:type="dc:Point" x="1342" y="134" />
127 <di:waypoint xsi:type="dc:Point" x="1415" y="134" />
129 <dc:Bounds x="1334" y="113" width="90" height="12" />
132 <bpmndi:BPMNShape id="ServiceTask_0s6d1be_di" bpmnElement="Task_UpdateVnfOrchestrationStatusAssigned">
133 <dc:Bounds x="1242" y="94" width="100" height="80" />
135 <bpmndi:BPMNShape id="ServiceTask_0wjy7za_di" bpmnElement="Task_createInstanceGroups">
136 <dc:Bounds x="534" y="94" width="100" height="80" />
138 <bpmndi:BPMNEdge id="SequenceFlow_1nle8kc_di" bpmnElement="SequenceFlow_1nle8kc">
139 <di:waypoint xsi:type="dc:Point" x="634" y="134" />
140 <di:waypoint xsi:type="dc:Point" x="679" y="134" />
142 <dc:Bounds x="611.5" y="113" width="90" height="12" />
145 <bpmndi:BPMNEdge id="SequenceFlow_11jum90_di" bpmnElement="SequenceFlow_11jum90">
146 <di:waypoint xsi:type="dc:Point" x="704" y="159" />
147 <di:waypoint xsi:type="dc:Point" x="704" y="195" />
148 <di:waypoint xsi:type="dc:Point" x="874" y="195" />
149 <di:waypoint xsi:type="dc:Point" x="874" y="159" />
151 <dc:Bounds x="715.1383523847063" y="174" width="12" height="12" />
154 <bpmndi:BPMNEdge id="SequenceFlow_1uiok7v_di" bpmnElement="SequenceFlow_1uiok7v">
155 <di:waypoint xsi:type="dc:Point" x="704" y="109" />
156 <di:waypoint xsi:type="dc:Point" x="704" y="68" />
157 <di:waypoint xsi:type="dc:Point" x="739" y="68" />
159 <dc:Bounds x="711" y="75.5" width="19" height="12" />
162 <bpmndi:BPMNEdge id="SequenceFlow_0v8d14a_di" bpmnElement="SequenceFlow_0v8d14a">
163 <di:waypoint xsi:type="dc:Point" x="839" y="68" />
164 <di:waypoint xsi:type="dc:Point" x="874" y="68" />
165 <di:waypoint xsi:type="dc:Point" x="874" y="109" />
167 <dc:Bounds x="811.5" y="47" width="90" height="12" />
170 <bpmndi:BPMNShape id="CallActivity_14ye6fs_di" bpmnElement="Task_callHoming">
171 <dc:Bounds x="739" y="28" width="100" height="80" />
173 <bpmndi:BPMNEdge id="SequenceFlow_169g0ir_di" bpmnElement="SequenceFlow_169g0ir">
174 <di:waypoint xsi:type="dc:Point" x="379" y="134" />
175 <di:waypoint xsi:type="dc:Point" x="404" y="134" />
177 <dc:Bounds x="347" y="113" width="90" height="12" />
180 <bpmndi:BPMNEdge id="SequenceFlow_1lppa2m_di" bpmnElement="SequenceFlow_1lppa2m">
181 <di:waypoint xsi:type="dc:Point" x="504" y="134" />
182 <di:waypoint xsi:type="dc:Point" x="534" y="134" />
184 <dc:Bounds x="474" y="113" width="90" height="12" />
187 <bpmndi:BPMNShape id="ServiceTask_0c97kfg_di" bpmnElement="Task_createPlatform">
188 <dc:Bounds x="279" y="94" width="100" height="80" />
190 <bpmndi:BPMNShape id="ServiceTask_1b9yljc_di" bpmnElement="Task_createLineOfBusiness">
191 <dc:Bounds x="404" y="94" width="100" height="80" />
193 <bpmndi:BPMNShape id="SubProcess_19596dp_di" bpmnElement="SubProcess_19596dp" isExpanded="true">
194 <dc:Bounds x="249" y="267" width="231" height="135" />
196 <bpmndi:BPMNShape id="StartEvent_1c3cyuv_di" bpmnElement="StartEvent_1c3cyuv">
197 <dc:Bounds x="286" y="323" width="36" height="36" />
199 <dc:Bounds x="259" y="359" width="0" height="12" />
202 <bpmndi:BPMNShape id="EndEvent_1bywujf_di" bpmnElement="EndEvent_1bywujf">
203 <dc:Bounds x="422" y="323" width="36" height="36" />
205 <dc:Bounds x="395" y="359" width="0" height="12" />
208 <bpmndi:BPMNEdge id="SequenceFlow_1i52a7x_di" bpmnElement="SequenceFlow_1i52a7x">
209 <di:waypoint xsi:type="dc:Point" x="322" y="341" />
210 <di:waypoint xsi:type="dc:Point" x="422" y="341" />
212 <dc:Bounds x="372" y="320" width="0" height="12" />
215 <bpmndi:BPMNEdge id="SequenceFlow_14mpqit_di" bpmnElement="SequenceFlow_14mpqit">
216 <di:waypoint xsi:type="dc:Point" x="899" y="134" />
217 <di:waypoint xsi:type="dc:Point" x="937" y="134" />
219 <dc:Bounds x="873" y="113" width="90" height="12" />
222 <bpmndi:BPMNShape id="InclusiveGateway_0x0c3kk_di" bpmnElement="ExclusiveGateway_02tchpp">
223 <dc:Bounds x="679" y="109" width="50" height="50" />
225 <dc:Bounds x="732" y="128" width="64" height="12" />
228 <bpmndi:BPMNShape id="InclusiveGateway_0ijggth_di" bpmnElement="ExclusiveGateway_1blf52g">
229 <dc:Bounds x="849" y="109" width="50" height="50" />
231 <dc:Bounds x="896" y="163" width="0" height="12" />
234 <bpmndi:BPMNShape id="ServiceTask_0zx2c43_di" bpmnElement="ServiceTask_ConnectVnfToCloudRegion">
235 <dc:Bounds x="-10" y="94" width="100" height="80" />
237 <bpmndi:BPMNEdge id="SequenceFlow_0qj7zcn_di" bpmnElement="SequenceFlow_0qj7zcn">
238 <di:waypoint xsi:type="dc:Point" x="-59" y="134" />
239 <di:waypoint xsi:type="dc:Point" x="-10" y="134" />
241 <dc:Bounds x="-34.5" y="113" width="0" height="12" />
244 <bpmndi:BPMNShape id="ServiceTask_0y6itfu_di" bpmnElement="ServiceTask_ConnectVnfToTenant">
245 <dc:Bounds x="140" y="94" width="100" height="80" />
247 <bpmndi:BPMNEdge id="SequenceFlow_0nsg48b_di" bpmnElement="SequenceFlow_0nsg48b">
248 <di:waypoint xsi:type="dc:Point" x="90" y="134" />
249 <di:waypoint xsi:type="dc:Point" x="140" y="134" />
251 <dc:Bounds x="115" y="113" width="0" height="12" />
254 <bpmndi:BPMNEdge id="SequenceFlow_18ixm0j_di" bpmnElement="SequenceFlow_18ixm0j">
255 <di:waypoint xsi:type="dc:Point" x="240" y="134" />
256 <di:waypoint xsi:type="dc:Point" x="279" y="134" />
258 <dc:Bounds x="259.5" y="113" width="0" height="12" />
261 <bpmndi:BPMNShape id="ServiceTask_07icomz_di" bpmnElement="Task_SDNCCreateRequest">
262 <dc:Bounds x="940" y="94" width="100" height="80" />
264 <bpmndi:BPMNShape id="CallActivity_09hycsr_di" bpmnElement="CallActivity_SDNCAssignVnf">
265 <dc:Bounds x="1088" y="94" width="100" height="80" />
267 <bpmndi:BPMNEdge id="SequenceFlow_1991eue_di" bpmnElement="SequenceFlow_1991eue">
268 <di:waypoint xsi:type="dc:Point" x="1040" y="134" />
269 <di:waypoint xsi:type="dc:Point" x="1088" y="134" />
271 <dc:Bounds x="1064" y="113" width="0" height="12" />
274 <bpmndi:BPMNEdge id="SequenceFlow_0yzidhu_di" bpmnElement="SequenceFlow_0yzidhu">
275 <di:waypoint xsi:type="dc:Point" x="1188" y="134" />
276 <di:waypoint xsi:type="dc:Point" x="1242" y="134" />
278 <dc:Bounds x="1215" y="113" width="0" height="12" />
282 </bpmndi:BPMNDiagram>