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.7.1">
3 <bpmn:process id="AssignVnfBB" name="AssignVnfBB" isExecutable="true">
4 <bpmn:startEvent id="Start_AssignVnfBB">
5 <bpmn:outgoing>SequenceFlow_0zaz9o2</bpmn:outgoing>
7 <bpmn:serviceTask id="Task_SDNCAdapterVnfTopologyAssign" name=" SDNC Create Request (vnf) " camunda:expression="${SDNCAssignTasks.assignVnf(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
8 <bpmn:incoming>SequenceFlow_1samncw</bpmn:incoming>
9 <bpmn:outgoing>SequenceFlow_1qkhm79</bpmn:outgoing>
11 <bpmn:endEvent id="End_AssignVnfBB">
12 <bpmn:incoming>SequenceFlow_0csh9dc</bpmn:incoming>
14 <bpmn:serviceTask id="Task_CreateVnf" name=" AAI Create (vnf) " camunda:expression="${AAICreateTasks.createVnf(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
15 <bpmn:incoming>SequenceFlow_0zaz9o2</bpmn:incoming>
16 <bpmn:outgoing>SequenceFlow_0qj7zcn</bpmn:outgoing>
18 <bpmn:sequenceFlow id="SequenceFlow_0zaz9o2" sourceRef="Start_AssignVnfBB" targetRef="Task_CreateVnf" />
19 <bpmn:sequenceFlow id="SequenceFlow_0csh9dc" sourceRef="Task_UpdateVnfOrchestrationStatusAssigned" targetRef="End_AssignVnfBB" />
20 <bpmn:serviceTask id="Task_UpdateVnfOrchestrationStatusAssigned" name=" AAI Update (vnf) " camunda:expression="${AAIUpdateTasks.updateOrchestrationStatusAssignedVnf(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
21 <bpmn:incoming>SequenceFlow_1vw20wu</bpmn:incoming>
22 <bpmn:outgoing>SequenceFlow_0csh9dc</bpmn:outgoing>
24 <bpmn:serviceTask id="Task_createInstanceGroups" name=" AAI Create (instance grp) " camunda:expression="${AssignVnf.createInstanceGroups(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
25 <bpmn:incoming>SequenceFlow_1lppa2m</bpmn:incoming>
26 <bpmn:outgoing>SequenceFlow_1nle8kc</bpmn:outgoing>
28 <bpmn:sequenceFlow id="SequenceFlow_1nle8kc" sourceRef="Task_createInstanceGroups" targetRef="ExclusiveGateway_02tchpp" />
29 <bpmn:sequenceFlow id="SequenceFlow_11jum90" name="no" sourceRef="ExclusiveGateway_02tchpp" targetRef="ExclusiveGateway_1blf52g" />
30 <bpmn:sequenceFlow id="SequenceFlow_1uiok7v" name="yes" sourceRef="ExclusiveGateway_02tchpp" targetRef="Task_callHoming">
31 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[${execution.getVariable("callHoming")}]]></bpmn:conditionExpression>
33 <bpmn:sequenceFlow id="SequenceFlow_0v8d14a" sourceRef="Task_callHoming" targetRef="ExclusiveGateway_1blf52g" />
34 <bpmn:callActivity id="Task_callHoming" name="Call Homing" calledElement="HomingBB">
35 <bpmn:extensionElements>
36 <camunda:in source="gBuildingBlockExecution" target="gBuildingBlockExecution" />
37 <camunda:in source="mso-request-id" target="mso-request-id" />
38 <camunda:out source="generalBuildingBlock" target="gBBInput" />
39 <camunda:out source="WorkflowException" target="WorkflowException" />
40 </bpmn:extensionElements>
41 <bpmn:incoming>SequenceFlow_1uiok7v</bpmn:incoming>
42 <bpmn:outgoing>SequenceFlow_0v8d14a</bpmn:outgoing>
44 <bpmn:sequenceFlow id="SequenceFlow_169g0ir" sourceRef="Task_createPlatform" targetRef="Task_createLineOfBusiness" />
45 <bpmn:sequenceFlow id="SequenceFlow_1lppa2m" sourceRef="Task_createLineOfBusiness" targetRef="Task_createInstanceGroups" />
46 <bpmn:serviceTask id="Task_createPlatform" name=" AAI Connect (platform) " camunda:expression="${AAICreateTasks.createPlatform(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
47 <bpmn:incoming>SequenceFlow_18ixm0j</bpmn:incoming>
48 <bpmn:outgoing>SequenceFlow_169g0ir</bpmn:outgoing>
50 <bpmn:serviceTask id="Task_createLineOfBusiness" name=" AAI Create (line bus) " camunda:expression="${AAICreateTasks.createLineOfBusiness(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
51 <bpmn:incoming>SequenceFlow_169g0ir</bpmn:incoming>
52 <bpmn:outgoing>SequenceFlow_1lppa2m</bpmn:outgoing>
54 <bpmn:subProcess id="SubProcess_19596dp" name="Error Handling " triggeredByEvent="true">
55 <bpmn:startEvent id="StartEvent_1c3cyuv">
56 <bpmn:outgoing>SequenceFlow_1i52a7x</bpmn:outgoing>
57 <bpmn:errorEventDefinition />
59 <bpmn:endEvent id="EndEvent_1bywujf">
60 <bpmn:incoming>SequenceFlow_1i52a7x</bpmn:incoming>
61 <bpmn:terminateEventDefinition />
63 <bpmn:sequenceFlow id="SequenceFlow_1i52a7x" sourceRef="StartEvent_1c3cyuv" targetRef="EndEvent_1bywujf" />
65 <bpmn:inclusiveGateway id="ExclusiveGateway_02tchpp" name="Call Homing?" default="SequenceFlow_11jum90">
66 <bpmn:incoming>SequenceFlow_1nle8kc</bpmn:incoming>
67 <bpmn:outgoing>SequenceFlow_11jum90</bpmn:outgoing>
68 <bpmn:outgoing>SequenceFlow_1uiok7v</bpmn:outgoing>
69 </bpmn:inclusiveGateway>
70 <bpmn:inclusiveGateway id="ExclusiveGateway_1blf52g">
71 <bpmn:incoming>SequenceFlow_11jum90</bpmn:incoming>
72 <bpmn:incoming>SequenceFlow_0v8d14a</bpmn:incoming>
73 <bpmn:outgoing>SequenceFlow_1samncw</bpmn:outgoing>
74 </bpmn:inclusiveGateway>
75 <bpmn:serviceTask id="ServiceTask_ConnectVnfToCloudRegion" name=" AAI Connect (vnf to cloud region) " camunda:expression="${AAICreateTasks.connectVnfToCloudRegion(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
76 <bpmn:incoming>SequenceFlow_0qj7zcn</bpmn:incoming>
77 <bpmn:outgoing>SequenceFlow_0nsg48b</bpmn:outgoing>
79 <bpmn:sequenceFlow id="SequenceFlow_0qj7zcn" sourceRef="Task_CreateVnf" targetRef="ServiceTask_ConnectVnfToCloudRegion" />
80 <bpmn:serviceTask id="ServiceTask_ConnectVnfToTenant" name=" AAI Connect (vnf to tenant) " camunda:expression="${AAICreateTasks.connectVnfToTenant(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
81 <bpmn:incoming>SequenceFlow_0nsg48b</bpmn:incoming>
82 <bpmn:outgoing>SequenceFlow_18ixm0j</bpmn:outgoing>
84 <bpmn:sequenceFlow id="SequenceFlow_0nsg48b" sourceRef="ServiceTask_ConnectVnfToCloudRegion" targetRef="ServiceTask_ConnectVnfToTenant" />
85 <bpmn:sequenceFlow id="SequenceFlow_18ixm0j" sourceRef="ServiceTask_ConnectVnfToTenant" targetRef="Task_createPlatform" />
86 <bpmn:callActivity id="CallActivity_sdncAssign" name="SDNC Assign (vnf)" calledElement="SDNCHandler">
87 <bpmn:extensionElements>
88 <camunda:in source="SDNCRequest" target="SDNCRequest" />
89 <camunda:out source="SDNCResponse" target="SDNCResponse" />
90 <camunda:out source="WorkflowException" target="WorkflowException" />
91 <camunda:in source="mso-request-id" target="mso-request-id" />
92 </bpmn:extensionElements>
93 <bpmn:incoming>SequenceFlow_1qkhm79</bpmn:incoming>
94 <bpmn:outgoing>SequenceFlow_1vw20wu</bpmn:outgoing>
96 <bpmn:sequenceFlow id="SequenceFlow_1samncw" sourceRef="ExclusiveGateway_1blf52g" targetRef="Task_SDNCAdapterVnfTopologyAssign" />
97 <bpmn:sequenceFlow id="SequenceFlow_1qkhm79" sourceRef="Task_SDNCAdapterVnfTopologyAssign" targetRef="CallActivity_sdncAssign" />
98 <bpmn:sequenceFlow id="SequenceFlow_1vw20wu" sourceRef="CallActivity_sdncAssign" 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="ServiceTask_0m0ikey_di" bpmnElement="Task_SDNCAdapterVnfTopologyAssign">
110 <dc:Bounds x="930" y="94" width="100" height="80" />
112 <bpmndi:BPMNShape id="EndEvent_1h93h9d_di" bpmnElement="End_AssignVnfBB">
113 <dc:Bounds x="1323" y="116" width="36" height="36" />
115 <dc:Bounds x="1296" y="156" width="90" height="12" />
118 <bpmndi:BPMNShape id="ServiceTask_1r380lg_di" bpmnElement="Task_CreateVnf">
119 <dc:Bounds x="-159" y="94" width="100" height="80" />
121 <bpmndi:BPMNEdge id="SequenceFlow_0zaz9o2_di" bpmnElement="SequenceFlow_0zaz9o2">
122 <di:waypoint xsi:type="dc:Point" x="-213" y="134" />
123 <di:waypoint xsi:type="dc:Point" x="-159" y="134" />
125 <dc:Bounds x="-231" y="113" width="90" height="12" />
128 <bpmndi:BPMNEdge id="SequenceFlow_0csh9dc_di" bpmnElement="SequenceFlow_0csh9dc">
129 <di:waypoint xsi:type="dc:Point" x="1303" y="134" />
130 <di:waypoint xsi:type="dc:Point" x="1323" y="134" />
132 <dc:Bounds x="1268" y="113" width="90" height="12" />
135 <bpmndi:BPMNShape id="ServiceTask_0s6d1be_di" bpmnElement="Task_UpdateVnfOrchestrationStatusAssigned">
136 <dc:Bounds x="1203" y="94" width="100" height="80" />
138 <bpmndi:BPMNShape id="ServiceTask_0wjy7za_di" bpmnElement="Task_createInstanceGroups">
139 <dc:Bounds x="534" y="94" width="100" height="80" />
141 <bpmndi:BPMNEdge id="SequenceFlow_1nle8kc_di" bpmnElement="SequenceFlow_1nle8kc">
142 <di:waypoint xsi:type="dc:Point" x="634" y="134" />
143 <di:waypoint xsi:type="dc:Point" x="679" y="134" />
145 <dc:Bounds x="611.5" y="113" width="90" height="12" />
148 <bpmndi:BPMNEdge id="SequenceFlow_11jum90_di" bpmnElement="SequenceFlow_11jum90">
149 <di:waypoint xsi:type="dc:Point" x="704" y="159" />
150 <di:waypoint xsi:type="dc:Point" x="704" y="195" />
151 <di:waypoint xsi:type="dc:Point" x="874" y="195" />
152 <di:waypoint xsi:type="dc:Point" x="874" y="159" />
154 <dc:Bounds x="715.1383523847063" y="174" width="12" height="12" />
157 <bpmndi:BPMNEdge id="SequenceFlow_1uiok7v_di" bpmnElement="SequenceFlow_1uiok7v">
158 <di:waypoint xsi:type="dc:Point" x="704" y="109" />
159 <di:waypoint xsi:type="dc:Point" x="704" y="68" />
160 <di:waypoint xsi:type="dc:Point" x="739" y="68" />
162 <dc:Bounds x="711" y="75.5" width="19" height="12" />
165 <bpmndi:BPMNEdge id="SequenceFlow_0v8d14a_di" bpmnElement="SequenceFlow_0v8d14a">
166 <di:waypoint xsi:type="dc:Point" x="839" y="68" />
167 <di:waypoint xsi:type="dc:Point" x="874" y="68" />
168 <di:waypoint xsi:type="dc:Point" x="874" y="109" />
170 <dc:Bounds x="811.5" y="47" width="90" height="12" />
173 <bpmndi:BPMNShape id="CallActivity_14ye6fs_di" bpmnElement="Task_callHoming">
174 <dc:Bounds x="739" y="28" width="100" height="80" />
176 <bpmndi:BPMNEdge id="SequenceFlow_169g0ir_di" bpmnElement="SequenceFlow_169g0ir">
177 <di:waypoint xsi:type="dc:Point" x="379" y="134" />
178 <di:waypoint xsi:type="dc:Point" x="404" y="134" />
180 <dc:Bounds x="347" y="113" width="90" height="12" />
183 <bpmndi:BPMNEdge id="SequenceFlow_1lppa2m_di" bpmnElement="SequenceFlow_1lppa2m">
184 <di:waypoint xsi:type="dc:Point" x="504" y="134" />
185 <di:waypoint xsi:type="dc:Point" x="534" y="134" />
187 <dc:Bounds x="474" y="113" width="90" height="12" />
190 <bpmndi:BPMNShape id="ServiceTask_0c97kfg_di" bpmnElement="Task_createPlatform">
191 <dc:Bounds x="279" y="94" width="100" height="80" />
193 <bpmndi:BPMNShape id="ServiceTask_1b9yljc_di" bpmnElement="Task_createLineOfBusiness">
194 <dc:Bounds x="404" y="94" width="100" height="80" />
196 <bpmndi:BPMNShape id="SubProcess_19596dp_di" bpmnElement="SubProcess_19596dp" isExpanded="true">
197 <dc:Bounds x="673" y="239" width="231" height="135" />
199 <bpmndi:BPMNShape id="StartEvent_1c3cyuv_di" bpmnElement="StartEvent_1c3cyuv">
200 <dc:Bounds x="710" y="295" width="36" height="36" />
202 <dc:Bounds x="638" y="331" width="90" height="12" />
205 <bpmndi:BPMNShape id="EndEvent_1bywujf_di" bpmnElement="EndEvent_1bywujf">
206 <dc:Bounds x="846" y="295" width="36" height="36" />
208 <dc:Bounds x="774" y="331" width="90" height="12" />
211 <bpmndi:BPMNEdge id="SequenceFlow_1i52a7x_di" bpmnElement="SequenceFlow_1i52a7x">
212 <di:waypoint xsi:type="dc:Point" x="746" y="313" />
213 <di:waypoint xsi:type="dc:Point" x="846" y="313" />
215 <dc:Bounds x="751" y="292" width="90" height="12" />
218 <bpmndi:BPMNShape id="InclusiveGateway_0x0c3kk_di" bpmnElement="ExclusiveGateway_02tchpp">
219 <dc:Bounds x="679" y="109" width="50" height="50" />
221 <dc:Bounds x="732" y="128" width="64" height="12" />
224 <bpmndi:BPMNShape id="InclusiveGateway_0ijggth_di" bpmnElement="ExclusiveGateway_1blf52g">
225 <dc:Bounds x="849" y="109" width="50" height="50" />
227 <dc:Bounds x="896" y="163" width="0" height="12" />
230 <bpmndi:BPMNShape id="ServiceTask_0zx2c43_di" bpmnElement="ServiceTask_ConnectVnfToCloudRegion">
231 <dc:Bounds x="-10" y="94" width="100" height="80" />
233 <bpmndi:BPMNEdge id="SequenceFlow_0qj7zcn_di" bpmnElement="SequenceFlow_0qj7zcn">
234 <di:waypoint xsi:type="dc:Point" x="-59" y="134" />
235 <di:waypoint xsi:type="dc:Point" x="-10" y="134" />
237 <dc:Bounds x="-34.5" y="113" width="0" height="12" />
240 <bpmndi:BPMNShape id="ServiceTask_0y6itfu_di" bpmnElement="ServiceTask_ConnectVnfToTenant">
241 <dc:Bounds x="140" y="94" width="100" height="80" />
243 <bpmndi:BPMNEdge id="SequenceFlow_0nsg48b_di" bpmnElement="SequenceFlow_0nsg48b">
244 <di:waypoint xsi:type="dc:Point" x="90" y="134" />
245 <di:waypoint xsi:type="dc:Point" x="140" y="134" />
247 <dc:Bounds x="115" y="113" width="0" height="12" />
250 <bpmndi:BPMNEdge id="SequenceFlow_18ixm0j_di" bpmnElement="SequenceFlow_18ixm0j">
251 <di:waypoint xsi:type="dc:Point" x="240" y="134" />
252 <di:waypoint xsi:type="dc:Point" x="279" y="134" />
254 <dc:Bounds x="259.5" y="113" width="0" height="12" />
257 <bpmndi:BPMNShape id="CallActivity_12uxg1m_di" bpmnElement="CallActivity_sdncAssign">
258 <dc:Bounds x="1060" y="94" width="100" height="80" />
260 <bpmndi:BPMNEdge id="SequenceFlow_1samncw_di" bpmnElement="SequenceFlow_1samncw">
261 <di:waypoint xsi:type="dc:Point" x="899" y="134" />
262 <di:waypoint xsi:type="dc:Point" x="930" y="134" />
264 <dc:Bounds x="914.5" y="113" width="0" height="12" />
267 <bpmndi:BPMNEdge id="SequenceFlow_1qkhm79_di" bpmnElement="SequenceFlow_1qkhm79">
268 <di:waypoint xsi:type="dc:Point" x="1030" y="134" />
269 <di:waypoint xsi:type="dc:Point" x="1060" y="134" />
271 <dc:Bounds x="1045" y="113" width="0" height="12" />
274 <bpmndi:BPMNEdge id="SequenceFlow_1vw20wu_di" bpmnElement="SequenceFlow_1vw20wu">
275 <di:waypoint xsi:type="dc:Point" x="1160" y="134" />
276 <di:waypoint xsi:type="dc:Point" x="1203" y="134" />
278 <dc:Bounds x="1181.5" y="113" width="0" height="12" />
282 </bpmndi:BPMNDiagram>