Merge "Use new sdnc async subflow"
[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_1jwsja5</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_1jwsja5" sourceRef="Task_CreateVnf" targetRef="Task_createPlatform" />
29     <bpmn:sequenceFlow id="SequenceFlow_1nle8kc" sourceRef="Task_createInstanceGroups" targetRef="ExclusiveGateway_02tchpp" />
30     <bpmn:sequenceFlow id="SequenceFlow_11jum90" name="no" sourceRef="ExclusiveGateway_02tchpp" targetRef="ExclusiveGateway_1blf52g" />
31     <bpmn:sequenceFlow id="SequenceFlow_1uiok7v" name="yes" sourceRef="ExclusiveGateway_02tchpp" targetRef="Task_callHoming">
32       <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[${execution.getVariable("callHoming")}]]></bpmn:conditionExpression>
33     </bpmn:sequenceFlow>
34     <bpmn:sequenceFlow id="SequenceFlow_0v8d14a" sourceRef="Task_callHoming" targetRef="ExclusiveGateway_1blf52g" />
35     <bpmn:callActivity id="Task_callHoming" name="Call Homing" calledElement="HomingBB">
36       <bpmn:extensionElements>
37         <camunda:in source="gBuildingBlockExecution" target="gBuildingBlockExecution" />
38         <camunda:in source="mso-request-id" target="mso-request-id" />
39         <camunda:out source="generalBuildingBlock" target="gBBInput" />
40         <camunda:out source="WorkflowException" target="WorkflowException" />
41       </bpmn:extensionElements>
42       <bpmn:incoming>SequenceFlow_1uiok7v</bpmn:incoming>
43       <bpmn:outgoing>SequenceFlow_0v8d14a</bpmn:outgoing>
44     </bpmn:callActivity>
45     <bpmn:sequenceFlow id="SequenceFlow_169g0ir" sourceRef="Task_createPlatform" targetRef="Task_createLineOfBusiness" />
46     <bpmn:sequenceFlow id="SequenceFlow_1lppa2m" sourceRef="Task_createLineOfBusiness" targetRef="Task_createInstanceGroups" />
47     <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;)))}">
48       <bpmn:incoming>SequenceFlow_1jwsja5</bpmn:incoming>
49       <bpmn:outgoing>SequenceFlow_169g0ir</bpmn:outgoing>
50     </bpmn:serviceTask>
51     <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;)))}">
52       <bpmn:incoming>SequenceFlow_169g0ir</bpmn:incoming>
53       <bpmn:outgoing>SequenceFlow_1lppa2m</bpmn:outgoing>
54     </bpmn:serviceTask>
55     <bpmn:subProcess id="SubProcess_19596dp" name="Error Handling&#10;&#10;" triggeredByEvent="true">
56       <bpmn:startEvent id="StartEvent_1c3cyuv">
57         <bpmn:outgoing>SequenceFlow_1i52a7x</bpmn:outgoing>
58         <bpmn:errorEventDefinition />
59       </bpmn:startEvent>
60       <bpmn:endEvent id="EndEvent_1bywujf">
61         <bpmn:incoming>SequenceFlow_1i52a7x</bpmn:incoming>
62         <bpmn:terminateEventDefinition />
63       </bpmn:endEvent>
64       <bpmn:sequenceFlow id="SequenceFlow_1i52a7x" sourceRef="StartEvent_1c3cyuv" targetRef="EndEvent_1bywujf" />
65     </bpmn:subProcess>
66     <bpmn:inclusiveGateway id="ExclusiveGateway_02tchpp" name="Call Homing?" default="SequenceFlow_11jum90">
67       <bpmn:incoming>SequenceFlow_1nle8kc</bpmn:incoming>
68       <bpmn:outgoing>SequenceFlow_11jum90</bpmn:outgoing>
69       <bpmn:outgoing>SequenceFlow_1uiok7v</bpmn:outgoing>
70     </bpmn:inclusiveGateway>
71     <bpmn:inclusiveGateway id="ExclusiveGateway_1blf52g">
72       <bpmn:incoming>SequenceFlow_11jum90</bpmn:incoming>
73       <bpmn:incoming>SequenceFlow_0v8d14a</bpmn:incoming>
74       <bpmn:outgoing>SequenceFlow_1samncw</bpmn:outgoing>
75     </bpmn:inclusiveGateway>
76     <bpmn:callActivity id="CallActivity_sdncAssign" name="SDNC Assign (vnf)" calledElement="SDNCHandler">
77       <bpmn:extensionElements>
78         <camunda:in source="SDNCRequest" target="SDNCRequest" />
79         <camunda:out source="SDNCResponse" target="SDNCResponse" />
80       </bpmn:extensionElements>
81       <bpmn:incoming>SequenceFlow_1qkhm79</bpmn:incoming>
82       <bpmn:outgoing>SequenceFlow_1vw20wu</bpmn:outgoing>
83     </bpmn:callActivity>
84     <bpmn:sequenceFlow id="SequenceFlow_1samncw" sourceRef="ExclusiveGateway_1blf52g" targetRef="Task_SDNCAdapterVnfTopologyAssign" />
85     <bpmn:sequenceFlow id="SequenceFlow_1qkhm79" sourceRef="Task_SDNCAdapterVnfTopologyAssign" targetRef="CallActivity_sdncAssign" />
86     <bpmn:sequenceFlow id="SequenceFlow_1vw20wu" sourceRef="CallActivity_sdncAssign" targetRef="Task_UpdateVnfOrchestrationStatusAssigned" />
87   </bpmn:process>
88   <bpmn:error id="Error_0rgauy1" name="gDelegateError" errorCode="7000" />
89   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
90     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="AssignVnfBB">
91       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="Start_AssignVnfBB">
92         <dc:Bounds x="72" y="116" width="36" height="36" />
93         <bpmndi:BPMNLabel>
94           <dc:Bounds x="79" y="152" width="23" height="12" />
95         </bpmndi:BPMNLabel>
96       </bpmndi:BPMNShape>
97       <bpmndi:BPMNShape id="ServiceTask_0m0ikey_di" bpmnElement="Task_SDNCAdapterVnfTopologyAssign">
98         <dc:Bounds x="930" y="94" width="100" height="80" />
99       </bpmndi:BPMNShape>
100       <bpmndi:BPMNShape id="EndEvent_1h93h9d_di" bpmnElement="End_AssignVnfBB">
101         <dc:Bounds x="1323" y="116" width="36" height="36" />
102         <bpmndi:BPMNLabel>
103           <dc:Bounds x="1296" y="156" width="90" height="12" />
104         </bpmndi:BPMNLabel>
105       </bpmndi:BPMNShape>
106       <bpmndi:BPMNShape id="ServiceTask_1r380lg_di" bpmnElement="Task_CreateVnf">
107         <dc:Bounds x="147" y="94" width="100" height="80" />
108       </bpmndi:BPMNShape>
109       <bpmndi:BPMNEdge id="SequenceFlow_0zaz9o2_di" bpmnElement="SequenceFlow_0zaz9o2">
110         <di:waypoint xsi:type="dc:Point" x="108" y="134" />
111         <di:waypoint xsi:type="dc:Point" x="147" y="134" />
112         <bpmndi:BPMNLabel>
113           <dc:Bounds x="83" y="113" width="90" height="12" />
114         </bpmndi:BPMNLabel>
115       </bpmndi:BPMNEdge>
116       <bpmndi:BPMNEdge id="SequenceFlow_0csh9dc_di" bpmnElement="SequenceFlow_0csh9dc">
117         <di:waypoint xsi:type="dc:Point" x="1303" y="134" />
118         <di:waypoint xsi:type="dc:Point" x="1323" y="134" />
119         <bpmndi:BPMNLabel>
120           <dc:Bounds x="1268" y="113" width="90" height="12" />
121         </bpmndi:BPMNLabel>
122       </bpmndi:BPMNEdge>
123       <bpmndi:BPMNShape id="ServiceTask_0s6d1be_di" bpmnElement="Task_UpdateVnfOrchestrationStatusAssigned">
124         <dc:Bounds x="1203" y="94" width="100" height="80" />
125       </bpmndi:BPMNShape>
126       <bpmndi:BPMNShape id="ServiceTask_0wjy7za_di" bpmnElement="Task_createInstanceGroups">
127         <dc:Bounds x="534" y="94" width="100" height="80" />
128       </bpmndi:BPMNShape>
129       <bpmndi:BPMNEdge id="SequenceFlow_1jwsja5_di" bpmnElement="SequenceFlow_1jwsja5">
130         <di:waypoint xsi:type="dc:Point" x="247" y="134" />
131         <di:waypoint xsi:type="dc:Point" x="279" y="134" />
132         <bpmndi:BPMNLabel>
133           <dc:Bounds x="218" y="113" width="90" height="12" />
134         </bpmndi:BPMNLabel>
135       </bpmndi:BPMNEdge>
136       <bpmndi:BPMNEdge id="SequenceFlow_1nle8kc_di" bpmnElement="SequenceFlow_1nle8kc">
137         <di:waypoint xsi:type="dc:Point" x="634" y="134" />
138         <di:waypoint xsi:type="dc:Point" x="679" y="134" />
139         <bpmndi:BPMNLabel>
140           <dc:Bounds x="611.5" y="113" width="90" height="12" />
141         </bpmndi:BPMNLabel>
142       </bpmndi:BPMNEdge>
143       <bpmndi:BPMNEdge id="SequenceFlow_11jum90_di" bpmnElement="SequenceFlow_11jum90">
144         <di:waypoint xsi:type="dc:Point" x="704" y="159" />
145         <di:waypoint xsi:type="dc:Point" x="704" y="195" />
146         <di:waypoint xsi:type="dc:Point" x="874" y="195" />
147         <di:waypoint xsi:type="dc:Point" x="874" y="159" />
148         <bpmndi:BPMNLabel>
149           <dc:Bounds x="715.1383523847063" y="174" width="12" height="12" />
150         </bpmndi:BPMNLabel>
151       </bpmndi:BPMNEdge>
152       <bpmndi:BPMNEdge id="SequenceFlow_1uiok7v_di" bpmnElement="SequenceFlow_1uiok7v">
153         <di:waypoint xsi:type="dc:Point" x="704" y="109" />
154         <di:waypoint xsi:type="dc:Point" x="704" y="68" />
155         <di:waypoint xsi:type="dc:Point" x="739" y="68" />
156         <bpmndi:BPMNLabel>
157           <dc:Bounds x="711" y="75.5" width="19" height="12" />
158         </bpmndi:BPMNLabel>
159       </bpmndi:BPMNEdge>
160       <bpmndi:BPMNEdge id="SequenceFlow_0v8d14a_di" bpmnElement="SequenceFlow_0v8d14a">
161         <di:waypoint xsi:type="dc:Point" x="839" y="68" />
162         <di:waypoint xsi:type="dc:Point" x="874" y="68" />
163         <di:waypoint xsi:type="dc:Point" x="874" y="109" />
164         <bpmndi:BPMNLabel>
165           <dc:Bounds x="811.5" y="47" width="90" height="12" />
166         </bpmndi:BPMNLabel>
167       </bpmndi:BPMNEdge>
168       <bpmndi:BPMNShape id="CallActivity_14ye6fs_di" bpmnElement="Task_callHoming">
169         <dc:Bounds x="739" y="28" width="100" height="80" />
170       </bpmndi:BPMNShape>
171       <bpmndi:BPMNEdge id="SequenceFlow_169g0ir_di" bpmnElement="SequenceFlow_169g0ir">
172         <di:waypoint xsi:type="dc:Point" x="379" y="134" />
173         <di:waypoint xsi:type="dc:Point" x="404" y="134" />
174         <bpmndi:BPMNLabel>
175           <dc:Bounds x="347" y="113" width="90" height="12" />
176         </bpmndi:BPMNLabel>
177       </bpmndi:BPMNEdge>
178       <bpmndi:BPMNEdge id="SequenceFlow_1lppa2m_di" bpmnElement="SequenceFlow_1lppa2m">
179         <di:waypoint xsi:type="dc:Point" x="504" y="134" />
180         <di:waypoint xsi:type="dc:Point" x="534" y="134" />
181         <bpmndi:BPMNLabel>
182           <dc:Bounds x="474" y="113" width="90" height="12" />
183         </bpmndi:BPMNLabel>
184       </bpmndi:BPMNEdge>
185       <bpmndi:BPMNShape id="ServiceTask_0c97kfg_di" bpmnElement="Task_createPlatform">
186         <dc:Bounds x="279" y="94" width="100" height="80" />
187       </bpmndi:BPMNShape>
188       <bpmndi:BPMNShape id="ServiceTask_1b9yljc_di" bpmnElement="Task_createLineOfBusiness">
189         <dc:Bounds x="404" y="94" width="100" height="80" />
190       </bpmndi:BPMNShape>
191       <bpmndi:BPMNShape id="SubProcess_19596dp_di" bpmnElement="SubProcess_19596dp" isExpanded="true">
192         <dc:Bounds x="673" y="239" width="231" height="135" />
193       </bpmndi:BPMNShape>
194       <bpmndi:BPMNShape id="StartEvent_1c3cyuv_di" bpmnElement="StartEvent_1c3cyuv">
195         <dc:Bounds x="710" y="295" width="36" height="36" />
196         <bpmndi:BPMNLabel>
197           <dc:Bounds x="638" y="331" width="90" height="12" />
198         </bpmndi:BPMNLabel>
199       </bpmndi:BPMNShape>
200       <bpmndi:BPMNShape id="EndEvent_1bywujf_di" bpmnElement="EndEvent_1bywujf">
201         <dc:Bounds x="846" y="295" width="36" height="36" />
202         <bpmndi:BPMNLabel>
203           <dc:Bounds x="774" y="331" width="90" height="12" />
204         </bpmndi:BPMNLabel>
205       </bpmndi:BPMNShape>
206       <bpmndi:BPMNEdge id="SequenceFlow_1i52a7x_di" bpmnElement="SequenceFlow_1i52a7x">
207         <di:waypoint xsi:type="dc:Point" x="746" y="313" />
208         <di:waypoint xsi:type="dc:Point" x="846" y="313" />
209         <bpmndi:BPMNLabel>
210           <dc:Bounds x="751" y="292" width="90" height="12" />
211         </bpmndi:BPMNLabel>
212       </bpmndi:BPMNEdge>
213       <bpmndi:BPMNShape id="InclusiveGateway_0x0c3kk_di" bpmnElement="ExclusiveGateway_02tchpp">
214         <dc:Bounds x="679" y="109" width="50" height="50" />
215         <bpmndi:BPMNLabel>
216           <dc:Bounds x="732" y="128" width="64" height="12" />
217         </bpmndi:BPMNLabel>
218       </bpmndi:BPMNShape>
219       <bpmndi:BPMNShape id="InclusiveGateway_0ijggth_di" bpmnElement="ExclusiveGateway_1blf52g">
220         <dc:Bounds x="849" y="109" width="50" height="50" />
221         <bpmndi:BPMNLabel>
222           <dc:Bounds x="896" y="163" width="0" height="12" />
223         </bpmndi:BPMNLabel>
224       </bpmndi:BPMNShape>
225       <bpmndi:BPMNShape id="CallActivity_12uxg1m_di" bpmnElement="CallActivity_sdncAssign">
226         <dc:Bounds x="1060" y="94" width="100" height="80" />
227       </bpmndi:BPMNShape>
228       <bpmndi:BPMNEdge id="SequenceFlow_1samncw_di" bpmnElement="SequenceFlow_1samncw">
229         <di:waypoint xsi:type="dc:Point" x="899" y="134" />
230         <di:waypoint xsi:type="dc:Point" x="930" y="134" />
231         <bpmndi:BPMNLabel>
232           <dc:Bounds x="914.5" y="113" width="0" height="12" />
233         </bpmndi:BPMNLabel>
234       </bpmndi:BPMNEdge>
235       <bpmndi:BPMNEdge id="SequenceFlow_1qkhm79_di" bpmnElement="SequenceFlow_1qkhm79">
236         <di:waypoint xsi:type="dc:Point" x="1030" y="134" />
237         <di:waypoint xsi:type="dc:Point" x="1060" y="134" />
238         <bpmndi:BPMNLabel>
239           <dc:Bounds x="1045" y="113" width="0" height="12" />
240         </bpmndi:BPMNLabel>
241       </bpmndi:BPMNEdge>
242       <bpmndi:BPMNEdge id="SequenceFlow_1vw20wu_di" bpmnElement="SequenceFlow_1vw20wu">
243         <di:waypoint xsi:type="dc:Point" x="1160" y="134" />
244         <di:waypoint xsi:type="dc:Point" x="1203" y="134" />
245         <bpmndi:BPMNLabel>
246           <dc:Bounds x="1181.5" y="113" width="0" height="12" />
247         </bpmndi:BPMNLabel>
248       </bpmndi:BPMNEdge>
249     </bpmndi:BPMNPlane>
250   </bpmndi:BPMNDiagram>
251 </bpmn:definitions>