7bb97939ddc36c04ca8bc15252eb83058a1181f8
[so.git] / bpmn / so-bpmn-building-blocks / src / main / resources / subprocess / BuildingBlock / AssignVnfBB.bpmn
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>
6     </bpmn:startEvent>
7     <bpmn:endEvent id="End_AssignVnfBB">
8       <bpmn:incoming>SequenceFlow_0csh9dc</bpmn:incoming>
9     </bpmn:endEvent>
10     <bpmn:serviceTask id="Task_CreateVnf" name="&#10;AAI&#10;Create&#10;(vnf)&#10;" camunda:expression="${AAICreateTasks.createVnf(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
11       <bpmn:incoming>SequenceFlow_0zaz9o2</bpmn:incoming>
12       <bpmn:outgoing>SequenceFlow_0qj7zcn</bpmn:outgoing>
13     </bpmn:serviceTask>
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="&#10;AAI&#10;Update&#10;(vnf)&#10;" camunda:expression="${AAIUpdateTasks.updateOrchestrationStatusAssignedVnf(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
17       <bpmn:incoming>SequenceFlow_0yzidhu</bpmn:incoming>
18       <bpmn:outgoing>SequenceFlow_0csh9dc</bpmn:outgoing>
19     </bpmn:serviceTask>
20     <bpmn:serviceTask id="Task_createInstanceGroups" name="&#10;AAI&#10;Create&#10;(instance grp)&#10;" camunda:expression="${AssignVnf.createInstanceGroups(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
21       <bpmn:incoming>SequenceFlow_1lppa2m</bpmn:incoming>
22       <bpmn:outgoing>SequenceFlow_1nle8kc</bpmn:outgoing>
23     </bpmn:serviceTask>
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")}]]></bpmn:conditionExpression>
28     </bpmn:sequenceFlow>
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>
39     </bpmn:callActivity>
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="&#10;AAI&#10;Connect&#10;(platform)&#10;" camunda:expression="${AAICreateTasks.createPlatform(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
43       <bpmn:incoming>SequenceFlow_18ixm0j</bpmn:incoming>
44       <bpmn:outgoing>SequenceFlow_169g0ir</bpmn:outgoing>
45     </bpmn:serviceTask>
46     <bpmn:serviceTask id="Task_createLineOfBusiness" name="&#10;AAI&#10;Create&#10;(line bus)&#10;" camunda:expression="${AAICreateTasks.createLineOfBusiness(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
47       <bpmn:incoming>SequenceFlow_169g0ir</bpmn:incoming>
48       <bpmn:outgoing>SequenceFlow_1lppa2m</bpmn:outgoing>
49     </bpmn:serviceTask>
50     <bpmn:subProcess id="SubProcess_19596dp" name="Error Handling&#10;&#10;" triggeredByEvent="true">
51       <bpmn:startEvent id="StartEvent_1c3cyuv">
52         <bpmn:outgoing>SequenceFlow_1i52a7x</bpmn:outgoing>
53         <bpmn:errorEventDefinition />
54       </bpmn:startEvent>
55       <bpmn:endEvent id="EndEvent_1bywujf">
56         <bpmn:incoming>SequenceFlow_1i52a7x</bpmn:incoming>
57         <bpmn:terminateEventDefinition />
58       </bpmn:endEvent>
59       <bpmn:sequenceFlow id="SequenceFlow_1i52a7x" sourceRef="StartEvent_1c3cyuv" targetRef="EndEvent_1bywujf" />
60     </bpmn:subProcess>
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="&#10;AAI&#10;Connect&#10;(vnf to cloud region)&#10;" camunda:expression="${AAICreateTasks.connectVnfToCloudRegion(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
73       <bpmn:incoming>SequenceFlow_0qj7zcn</bpmn:incoming>
74       <bpmn:outgoing>SequenceFlow_0nsg48b</bpmn:outgoing>
75     </bpmn:serviceTask>
76     <bpmn:sequenceFlow id="SequenceFlow_0qj7zcn" sourceRef="Task_CreateVnf" targetRef="ServiceTask_ConnectVnfToCloudRegion" />
77     <bpmn:serviceTask id="ServiceTask_ConnectVnfToTenant" name="&#10;AAI&#10;Connect&#10;(vnf to tenant)&#10;" camunda:expression="${AAICreateTasks.connectVnfToTenant(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
78       <bpmn:incoming>SequenceFlow_0nsg48b</bpmn:incoming>
79       <bpmn:outgoing>SequenceFlow_18ixm0j</bpmn:outgoing>
80     </bpmn:serviceTask>
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="&#10;SDNC &#10;Create Request&#10;(vnf)&#10;" camunda:expression="${SDNCAssignTasks.assignVnf(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
84       <bpmn:incoming>SequenceFlow_14mpqit</bpmn:incoming>
85       <bpmn:outgoing>SequenceFlow_1991eue</bpmn:outgoing>
86     </bpmn:serviceTask>
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>
96     </bpmn:callActivity>
97     <bpmn:sequenceFlow id="SequenceFlow_1991eue" sourceRef="Task_SDNCCreateRequest" targetRef="CallActivity_SDNCAssignVnf" />
98     <bpmn:sequenceFlow id="SequenceFlow_0yzidhu" sourceRef="CallActivity_SDNCAssignVnf" targetRef="Task_UpdateVnfOrchestrationStatusAssigned" />
99   </bpmn:process>
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" />
105         <bpmndi:BPMNLabel>
106           <dc:Bounds x="-275" y="152" width="90" height="12" />
107         </bpmndi:BPMNLabel>
108       </bpmndi:BPMNShape>
109       <bpmndi:BPMNShape id="EndEvent_1h93h9d_di" bpmnElement="End_AssignVnfBB">
110         <dc:Bounds x="1415" y="116" width="36" height="36" />
111         <bpmndi:BPMNLabel>
112           <dc:Bounds x="1388" y="156" width="90" height="12" />
113         </bpmndi:BPMNLabel>
114       </bpmndi:BPMNShape>
115       <bpmndi:BPMNShape id="ServiceTask_1r380lg_di" bpmnElement="Task_CreateVnf">
116         <dc:Bounds x="-159" y="94" width="100" height="80" />
117       </bpmndi:BPMNShape>
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" />
121         <bpmndi:BPMNLabel>
122           <dc:Bounds x="-231" y="113" width="90" height="12" />
123         </bpmndi:BPMNLabel>
124       </bpmndi:BPMNEdge>
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" />
128         <bpmndi:BPMNLabel>
129           <dc:Bounds x="1334" y="113" width="90" height="12" />
130         </bpmndi:BPMNLabel>
131       </bpmndi:BPMNEdge>
132       <bpmndi:BPMNShape id="ServiceTask_0s6d1be_di" bpmnElement="Task_UpdateVnfOrchestrationStatusAssigned">
133         <dc:Bounds x="1242" y="94" width="100" height="80" />
134       </bpmndi:BPMNShape>
135       <bpmndi:BPMNShape id="ServiceTask_0wjy7za_di" bpmnElement="Task_createInstanceGroups">
136         <dc:Bounds x="534" y="94" width="100" height="80" />
137       </bpmndi:BPMNShape>
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" />
141         <bpmndi:BPMNLabel>
142           <dc:Bounds x="611.5" y="113" width="90" height="12" />
143         </bpmndi:BPMNLabel>
144       </bpmndi:BPMNEdge>
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" />
150         <bpmndi:BPMNLabel>
151           <dc:Bounds x="715.1383523847063" y="174" width="12" height="12" />
152         </bpmndi:BPMNLabel>
153       </bpmndi:BPMNEdge>
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" />
158         <bpmndi:BPMNLabel>
159           <dc:Bounds x="711" y="75.5" width="19" height="12" />
160         </bpmndi:BPMNLabel>
161       </bpmndi:BPMNEdge>
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" />
166         <bpmndi:BPMNLabel>
167           <dc:Bounds x="811.5" y="47" width="90" height="12" />
168         </bpmndi:BPMNLabel>
169       </bpmndi:BPMNEdge>
170       <bpmndi:BPMNShape id="CallActivity_14ye6fs_di" bpmnElement="Task_callHoming">
171         <dc:Bounds x="739" y="28" width="100" height="80" />
172       </bpmndi:BPMNShape>
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" />
176         <bpmndi:BPMNLabel>
177           <dc:Bounds x="347" y="113" width="90" height="12" />
178         </bpmndi:BPMNLabel>
179       </bpmndi:BPMNEdge>
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" />
183         <bpmndi:BPMNLabel>
184           <dc:Bounds x="474" y="113" width="90" height="12" />
185         </bpmndi:BPMNLabel>
186       </bpmndi:BPMNEdge>
187       <bpmndi:BPMNShape id="ServiceTask_0c97kfg_di" bpmnElement="Task_createPlatform">
188         <dc:Bounds x="279" y="94" width="100" height="80" />
189       </bpmndi:BPMNShape>
190       <bpmndi:BPMNShape id="ServiceTask_1b9yljc_di" bpmnElement="Task_createLineOfBusiness">
191         <dc:Bounds x="404" y="94" width="100" height="80" />
192       </bpmndi:BPMNShape>
193       <bpmndi:BPMNShape id="SubProcess_19596dp_di" bpmnElement="SubProcess_19596dp" isExpanded="true">
194         <dc:Bounds x="249" y="267" width="231" height="135" />
195       </bpmndi:BPMNShape>
196       <bpmndi:BPMNShape id="StartEvent_1c3cyuv_di" bpmnElement="StartEvent_1c3cyuv">
197         <dc:Bounds x="286" y="323" width="36" height="36" />
198         <bpmndi:BPMNLabel>
199           <dc:Bounds x="259" y="359" width="0" height="12" />
200         </bpmndi:BPMNLabel>
201       </bpmndi:BPMNShape>
202       <bpmndi:BPMNShape id="EndEvent_1bywujf_di" bpmnElement="EndEvent_1bywujf">
203         <dc:Bounds x="422" y="323" width="36" height="36" />
204         <bpmndi:BPMNLabel>
205           <dc:Bounds x="395" y="359" width="0" height="12" />
206         </bpmndi:BPMNLabel>
207       </bpmndi:BPMNShape>
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" />
211         <bpmndi:BPMNLabel>
212           <dc:Bounds x="372" y="320" width="0" height="12" />
213         </bpmndi:BPMNLabel>
214       </bpmndi:BPMNEdge>
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" />
218         <bpmndi:BPMNLabel>
219           <dc:Bounds x="873" y="113" width="90" height="12" />
220         </bpmndi:BPMNLabel>
221       </bpmndi:BPMNEdge>
222       <bpmndi:BPMNShape id="InclusiveGateway_0x0c3kk_di" bpmnElement="ExclusiveGateway_02tchpp">
223         <dc:Bounds x="679" y="109" width="50" height="50" />
224         <bpmndi:BPMNLabel>
225           <dc:Bounds x="732" y="128" width="64" height="12" />
226         </bpmndi:BPMNLabel>
227       </bpmndi:BPMNShape>
228       <bpmndi:BPMNShape id="InclusiveGateway_0ijggth_di" bpmnElement="ExclusiveGateway_1blf52g">
229         <dc:Bounds x="849" y="109" width="50" height="50" />
230         <bpmndi:BPMNLabel>
231           <dc:Bounds x="896" y="163" width="0" height="12" />
232         </bpmndi:BPMNLabel>
233       </bpmndi:BPMNShape>
234       <bpmndi:BPMNShape id="ServiceTask_0zx2c43_di" bpmnElement="ServiceTask_ConnectVnfToCloudRegion">
235         <dc:Bounds x="-10" y="94" width="100" height="80" />
236       </bpmndi:BPMNShape>
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" />
240         <bpmndi:BPMNLabel>
241           <dc:Bounds x="-34.5" y="113" width="0" height="12" />
242         </bpmndi:BPMNLabel>
243       </bpmndi:BPMNEdge>
244       <bpmndi:BPMNShape id="ServiceTask_0y6itfu_di" bpmnElement="ServiceTask_ConnectVnfToTenant">
245         <dc:Bounds x="140" y="94" width="100" height="80" />
246       </bpmndi:BPMNShape>
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" />
250         <bpmndi:BPMNLabel>
251           <dc:Bounds x="115" y="113" width="0" height="12" />
252         </bpmndi:BPMNLabel>
253       </bpmndi:BPMNEdge>
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" />
257         <bpmndi:BPMNLabel>
258           <dc:Bounds x="259.5" y="113" width="0" height="12" />
259         </bpmndi:BPMNLabel>
260       </bpmndi:BPMNEdge>
261       <bpmndi:BPMNShape id="ServiceTask_07icomz_di" bpmnElement="Task_SDNCCreateRequest">
262         <dc:Bounds x="940" y="94" width="100" height="80" />
263       </bpmndi:BPMNShape>
264       <bpmndi:BPMNShape id="CallActivity_09hycsr_di" bpmnElement="CallActivity_SDNCAssignVnf">
265         <dc:Bounds x="1088" y="94" width="100" height="80" />
266       </bpmndi:BPMNShape>
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" />
270         <bpmndi:BPMNLabel>
271           <dc:Bounds x="1064" y="113" width="0" height="12" />
272         </bpmndi:BPMNLabel>
273       </bpmndi:BPMNEdge>
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" />
277         <bpmndi:BPMNLabel>
278           <dc:Bounds x="1215" y="113" width="0" height="12" />
279         </bpmndi:BPMNLabel>
280       </bpmndi:BPMNEdge>
281     </bpmndi:BPMNPlane>
282   </bpmndi:BPMNDiagram>
283 </bpmn:definitions>