Merge "use config value instead hard code of url"
[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.7.1">
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:serviceTask id="Task_SDNCAdapterVnfTopologyAssign" name="&#10;SDNC &#10;Create Request&#10;(vnf)&#10;" camunda:expression="${SDNCAssignTasks.assignVnf(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
8       <bpmn:incoming>SequenceFlow_1samncw</bpmn:incoming>
9       <bpmn:outgoing>SequenceFlow_1qkhm79</bpmn:outgoing>
10     </bpmn:serviceTask>
11     <bpmn:endEvent id="End_AssignVnfBB">
12       <bpmn:incoming>SequenceFlow_0csh9dc</bpmn:incoming>
13     </bpmn:endEvent>
14     <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;)))}">
15       <bpmn:incoming>SequenceFlow_0zaz9o2</bpmn:incoming>
16       <bpmn:outgoing>SequenceFlow_0qj7zcn</bpmn:outgoing>
17     </bpmn:serviceTask>
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="&#10;AAI&#10;Update&#10;(vnf)&#10;" camunda:expression="${AAIUpdateTasks.updateOrchestrationStatusAssignedVnf(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
21       <bpmn:incoming>SequenceFlow_1vw20wu</bpmn:incoming>
22       <bpmn:outgoing>SequenceFlow_0csh9dc</bpmn:outgoing>
23     </bpmn:serviceTask>
24     <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;)))}">
25       <bpmn:incoming>SequenceFlow_1lppa2m</bpmn:incoming>
26       <bpmn:outgoing>SequenceFlow_1nle8kc</bpmn:outgoing>
27     </bpmn:serviceTask>
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>
32     </bpmn:sequenceFlow>
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>
43     </bpmn:callActivity>
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="&#10;AAI&#10;Connect&#10;(platform)&#10;" camunda:expression="${AAICreateTasks.createPlatform(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
47       <bpmn:incoming>SequenceFlow_18ixm0j</bpmn:incoming>
48       <bpmn:outgoing>SequenceFlow_169g0ir</bpmn:outgoing>
49     </bpmn:serviceTask>
50     <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;)))}">
51       <bpmn:incoming>SequenceFlow_169g0ir</bpmn:incoming>
52       <bpmn:outgoing>SequenceFlow_1lppa2m</bpmn:outgoing>
53     </bpmn:serviceTask>
54     <bpmn:subProcess id="SubProcess_19596dp" name="Error Handling&#10;&#10;" triggeredByEvent="true">
55       <bpmn:startEvent id="StartEvent_1c3cyuv">
56         <bpmn:outgoing>SequenceFlow_1i52a7x</bpmn:outgoing>
57         <bpmn:errorEventDefinition />
58       </bpmn:startEvent>
59       <bpmn:endEvent id="EndEvent_1bywujf">
60         <bpmn:incoming>SequenceFlow_1i52a7x</bpmn:incoming>
61         <bpmn:terminateEventDefinition />
62       </bpmn:endEvent>
63       <bpmn:sequenceFlow id="SequenceFlow_1i52a7x" sourceRef="StartEvent_1c3cyuv" targetRef="EndEvent_1bywujf" />
64     </bpmn:subProcess>
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="&#10;AAI&#10;Connect&#10;(vnf to cloud region)&#10;" camunda:expression="${AAICreateTasks.connectVnfToCloudRegion(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
76       <bpmn:incoming>SequenceFlow_0qj7zcn</bpmn:incoming>
77       <bpmn:outgoing>SequenceFlow_0nsg48b</bpmn:outgoing>
78     </bpmn:serviceTask>
79     <bpmn:sequenceFlow id="SequenceFlow_0qj7zcn" sourceRef="Task_CreateVnf" targetRef="ServiceTask_ConnectVnfToCloudRegion" />
80     <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;)))}">
81       <bpmn:incoming>SequenceFlow_0nsg48b</bpmn:incoming>
82       <bpmn:outgoing>SequenceFlow_18ixm0j</bpmn:outgoing>
83     </bpmn:serviceTask>
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       </bpmn:extensionElements>
91       <bpmn:incoming>SequenceFlow_1qkhm79</bpmn:incoming>
92       <bpmn:outgoing>SequenceFlow_1vw20wu</bpmn:outgoing>
93     </bpmn:callActivity>
94     <bpmn:sequenceFlow id="SequenceFlow_1samncw" sourceRef="ExclusiveGateway_1blf52g" targetRef="Task_SDNCAdapterVnfTopologyAssign" />
95     <bpmn:sequenceFlow id="SequenceFlow_1qkhm79" sourceRef="Task_SDNCAdapterVnfTopologyAssign" targetRef="CallActivity_sdncAssign" />
96     <bpmn:sequenceFlow id="SequenceFlow_1vw20wu" sourceRef="CallActivity_sdncAssign" targetRef="Task_UpdateVnfOrchestrationStatusAssigned" />
97   </bpmn:process>
98   <bpmn:error id="Error_0rgauy1" name="gDelegateError" errorCode="7000" />
99   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
100     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="AssignVnfBB">
101       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="Start_AssignVnfBB">
102         <dc:Bounds x="-249" y="116" width="36" height="36" />
103         <bpmndi:BPMNLabel>
104           <dc:Bounds x="-275" y="152" width="90" height="12" />
105         </bpmndi:BPMNLabel>
106       </bpmndi:BPMNShape>
107       <bpmndi:BPMNShape id="ServiceTask_0m0ikey_di" bpmnElement="Task_SDNCAdapterVnfTopologyAssign">
108         <dc:Bounds x="930" y="94" width="100" height="80" />
109       </bpmndi:BPMNShape>
110       <bpmndi:BPMNShape id="EndEvent_1h93h9d_di" bpmnElement="End_AssignVnfBB">
111         <dc:Bounds x="1323" y="116" width="36" height="36" />
112         <bpmndi:BPMNLabel>
113           <dc:Bounds x="1296" y="156" width="90" height="12" />
114         </bpmndi:BPMNLabel>
115       </bpmndi:BPMNShape>
116       <bpmndi:BPMNShape id="ServiceTask_1r380lg_di" bpmnElement="Task_CreateVnf">
117         <dc:Bounds x="-159" y="94" width="100" height="80" />
118       </bpmndi:BPMNShape>
119       <bpmndi:BPMNEdge id="SequenceFlow_0zaz9o2_di" bpmnElement="SequenceFlow_0zaz9o2">
120         <di:waypoint xsi:type="dc:Point" x="-213" y="134" />
121         <di:waypoint xsi:type="dc:Point" x="-159" y="134" />
122         <bpmndi:BPMNLabel>
123           <dc:Bounds x="-231" y="113" width="90" height="12" />
124         </bpmndi:BPMNLabel>
125       </bpmndi:BPMNEdge>
126       <bpmndi:BPMNEdge id="SequenceFlow_0csh9dc_di" bpmnElement="SequenceFlow_0csh9dc">
127         <di:waypoint xsi:type="dc:Point" x="1303" y="134" />
128         <di:waypoint xsi:type="dc:Point" x="1323" y="134" />
129         <bpmndi:BPMNLabel>
130           <dc:Bounds x="1268" y="113" width="90" height="12" />
131         </bpmndi:BPMNLabel>
132       </bpmndi:BPMNEdge>
133       <bpmndi:BPMNShape id="ServiceTask_0s6d1be_di" bpmnElement="Task_UpdateVnfOrchestrationStatusAssigned">
134         <dc:Bounds x="1203" y="94" width="100" height="80" />
135       </bpmndi:BPMNShape>
136       <bpmndi:BPMNShape id="ServiceTask_0wjy7za_di" bpmnElement="Task_createInstanceGroups">
137         <dc:Bounds x="534" y="94" width="100" height="80" />
138       </bpmndi:BPMNShape>
139       <bpmndi:BPMNEdge id="SequenceFlow_1nle8kc_di" bpmnElement="SequenceFlow_1nle8kc">
140         <di:waypoint xsi:type="dc:Point" x="634" y="134" />
141         <di:waypoint xsi:type="dc:Point" x="679" y="134" />
142         <bpmndi:BPMNLabel>
143           <dc:Bounds x="611.5" y="113" width="90" height="12" />
144         </bpmndi:BPMNLabel>
145       </bpmndi:BPMNEdge>
146       <bpmndi:BPMNEdge id="SequenceFlow_11jum90_di" bpmnElement="SequenceFlow_11jum90">
147         <di:waypoint xsi:type="dc:Point" x="704" y="159" />
148         <di:waypoint xsi:type="dc:Point" x="704" y="195" />
149         <di:waypoint xsi:type="dc:Point" x="874" y="195" />
150         <di:waypoint xsi:type="dc:Point" x="874" y="159" />
151         <bpmndi:BPMNLabel>
152           <dc:Bounds x="715.1383523847063" y="174" width="12" height="12" />
153         </bpmndi:BPMNLabel>
154       </bpmndi:BPMNEdge>
155       <bpmndi:BPMNEdge id="SequenceFlow_1uiok7v_di" bpmnElement="SequenceFlow_1uiok7v">
156         <di:waypoint xsi:type="dc:Point" x="704" y="109" />
157         <di:waypoint xsi:type="dc:Point" x="704" y="68" />
158         <di:waypoint xsi:type="dc:Point" x="739" y="68" />
159         <bpmndi:BPMNLabel>
160           <dc:Bounds x="711" y="75.5" width="19" height="12" />
161         </bpmndi:BPMNLabel>
162       </bpmndi:BPMNEdge>
163       <bpmndi:BPMNEdge id="SequenceFlow_0v8d14a_di" bpmnElement="SequenceFlow_0v8d14a">
164         <di:waypoint xsi:type="dc:Point" x="839" y="68" />
165         <di:waypoint xsi:type="dc:Point" x="874" y="68" />
166         <di:waypoint xsi:type="dc:Point" x="874" y="109" />
167         <bpmndi:BPMNLabel>
168           <dc:Bounds x="811.5" y="47" width="90" height="12" />
169         </bpmndi:BPMNLabel>
170       </bpmndi:BPMNEdge>
171       <bpmndi:BPMNShape id="CallActivity_14ye6fs_di" bpmnElement="Task_callHoming">
172         <dc:Bounds x="739" y="28" width="100" height="80" />
173       </bpmndi:BPMNShape>
174       <bpmndi:BPMNEdge id="SequenceFlow_169g0ir_di" bpmnElement="SequenceFlow_169g0ir">
175         <di:waypoint xsi:type="dc:Point" x="379" y="134" />
176         <di:waypoint xsi:type="dc:Point" x="404" y="134" />
177         <bpmndi:BPMNLabel>
178           <dc:Bounds x="347" y="113" width="90" height="12" />
179         </bpmndi:BPMNLabel>
180       </bpmndi:BPMNEdge>
181       <bpmndi:BPMNEdge id="SequenceFlow_1lppa2m_di" bpmnElement="SequenceFlow_1lppa2m">
182         <di:waypoint xsi:type="dc:Point" x="504" y="134" />
183         <di:waypoint xsi:type="dc:Point" x="534" y="134" />
184         <bpmndi:BPMNLabel>
185           <dc:Bounds x="474" y="113" width="90" height="12" />
186         </bpmndi:BPMNLabel>
187       </bpmndi:BPMNEdge>
188       <bpmndi:BPMNShape id="ServiceTask_0c97kfg_di" bpmnElement="Task_createPlatform">
189         <dc:Bounds x="279" y="94" width="100" height="80" />
190       </bpmndi:BPMNShape>
191       <bpmndi:BPMNShape id="ServiceTask_1b9yljc_di" bpmnElement="Task_createLineOfBusiness">
192         <dc:Bounds x="404" y="94" width="100" height="80" />
193       </bpmndi:BPMNShape>
194       <bpmndi:BPMNShape id="SubProcess_19596dp_di" bpmnElement="SubProcess_19596dp" isExpanded="true">
195         <dc:Bounds x="673" y="239" width="231" height="135" />
196       </bpmndi:BPMNShape>
197       <bpmndi:BPMNShape id="StartEvent_1c3cyuv_di" bpmnElement="StartEvent_1c3cyuv">
198         <dc:Bounds x="710" y="295" width="36" height="36" />
199         <bpmndi:BPMNLabel>
200           <dc:Bounds x="638" y="331" width="90" height="12" />
201         </bpmndi:BPMNLabel>
202       </bpmndi:BPMNShape>
203       <bpmndi:BPMNShape id="EndEvent_1bywujf_di" bpmnElement="EndEvent_1bywujf">
204         <dc:Bounds x="846" y="295" width="36" height="36" />
205         <bpmndi:BPMNLabel>
206           <dc:Bounds x="774" y="331" width="90" height="12" />
207         </bpmndi:BPMNLabel>
208       </bpmndi:BPMNShape>
209       <bpmndi:BPMNEdge id="SequenceFlow_1i52a7x_di" bpmnElement="SequenceFlow_1i52a7x">
210         <di:waypoint xsi:type="dc:Point" x="746" y="313" />
211         <di:waypoint xsi:type="dc:Point" x="846" y="313" />
212         <bpmndi:BPMNLabel>
213           <dc:Bounds x="751" y="292" width="90" height="12" />
214         </bpmndi:BPMNLabel>
215       </bpmndi:BPMNEdge>
216       <bpmndi:BPMNShape id="InclusiveGateway_0x0c3kk_di" bpmnElement="ExclusiveGateway_02tchpp">
217         <dc:Bounds x="679" y="109" width="50" height="50" />
218         <bpmndi:BPMNLabel>
219           <dc:Bounds x="732" y="128" width="64" height="12" />
220         </bpmndi:BPMNLabel>
221       </bpmndi:BPMNShape>
222       <bpmndi:BPMNShape id="InclusiveGateway_0ijggth_di" bpmnElement="ExclusiveGateway_1blf52g">
223         <dc:Bounds x="849" y="109" width="50" height="50" />
224         <bpmndi:BPMNLabel>
225           <dc:Bounds x="896" y="163" width="0" height="12" />
226         </bpmndi:BPMNLabel>
227       </bpmndi:BPMNShape>
228       <bpmndi:BPMNShape id="ServiceTask_0zx2c43_di" bpmnElement="ServiceTask_ConnectVnfToCloudRegion">
229         <dc:Bounds x="-10" y="94" width="100" height="80" />
230       </bpmndi:BPMNShape>
231       <bpmndi:BPMNEdge id="SequenceFlow_0qj7zcn_di" bpmnElement="SequenceFlow_0qj7zcn">
232         <di:waypoint xsi:type="dc:Point" x="-59" y="134" />
233         <di:waypoint xsi:type="dc:Point" x="-10" y="134" />
234         <bpmndi:BPMNLabel>
235           <dc:Bounds x="-34.5" y="113" width="0" height="12" />
236         </bpmndi:BPMNLabel>
237       </bpmndi:BPMNEdge>
238       <bpmndi:BPMNShape id="ServiceTask_0y6itfu_di" bpmnElement="ServiceTask_ConnectVnfToTenant">
239         <dc:Bounds x="140" y="94" width="100" height="80" />
240       </bpmndi:BPMNShape>
241       <bpmndi:BPMNEdge id="SequenceFlow_0nsg48b_di" bpmnElement="SequenceFlow_0nsg48b">
242         <di:waypoint xsi:type="dc:Point" x="90" y="134" />
243         <di:waypoint xsi:type="dc:Point" x="140" y="134" />
244         <bpmndi:BPMNLabel>
245           <dc:Bounds x="115" y="113" width="0" height="12" />
246         </bpmndi:BPMNLabel>
247       </bpmndi:BPMNEdge>
248       <bpmndi:BPMNEdge id="SequenceFlow_18ixm0j_di" bpmnElement="SequenceFlow_18ixm0j">
249         <di:waypoint xsi:type="dc:Point" x="240" y="134" />
250         <di:waypoint xsi:type="dc:Point" x="279" y="134" />
251         <bpmndi:BPMNLabel>
252           <dc:Bounds x="259.5" y="113" width="0" height="12" />
253         </bpmndi:BPMNLabel>
254       </bpmndi:BPMNEdge>
255       <bpmndi:BPMNShape id="CallActivity_12uxg1m_di" bpmnElement="CallActivity_sdncAssign">
256         <dc:Bounds x="1060" y="94" width="100" height="80" />
257       </bpmndi:BPMNShape>
258       <bpmndi:BPMNEdge id="SequenceFlow_1samncw_di" bpmnElement="SequenceFlow_1samncw">
259         <di:waypoint xsi:type="dc:Point" x="899" y="134" />
260         <di:waypoint xsi:type="dc:Point" x="930" y="134" />
261         <bpmndi:BPMNLabel>
262           <dc:Bounds x="914.5" y="113" width="0" height="12" />
263         </bpmndi:BPMNLabel>
264       </bpmndi:BPMNEdge>
265       <bpmndi:BPMNEdge id="SequenceFlow_1qkhm79_di" bpmnElement="SequenceFlow_1qkhm79">
266         <di:waypoint xsi:type="dc:Point" x="1030" y="134" />
267         <di:waypoint xsi:type="dc:Point" x="1060" y="134" />
268         <bpmndi:BPMNLabel>
269           <dc:Bounds x="1045" y="113" width="0" height="12" />
270         </bpmndi:BPMNLabel>
271       </bpmndi:BPMNEdge>
272       <bpmndi:BPMNEdge id="SequenceFlow_1vw20wu_di" bpmnElement="SequenceFlow_1vw20wu">
273         <di:waypoint xsi:type="dc:Point" x="1160" y="134" />
274         <di:waypoint xsi:type="dc:Point" x="1203" y="134" />
275         <bpmndi:BPMNLabel>
276           <dc:Bounds x="1181.5" y="113" width="0" height="12" />
277         </bpmndi:BPMNLabel>
278       </bpmndi:BPMNEdge>
279     </bpmndi:BPMNPlane>
280   </bpmndi:BPMNDiagram>
281 </bpmn:definitions>
282