11/7: merge casablanca to master
[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;Assign&#10;(vnf)&#10;" camunda:expression="${SDNCAssignTasks.assignVnf(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
8       <bpmn:incoming>SequenceFlow_14mpqit</bpmn:incoming>
9       <bpmn:outgoing>SequenceFlow_1ks8kmt</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_1ks8kmt" sourceRef="Task_SDNCAdapterVnfTopologyAssign" targetRef="Task_UpdateVnfOrchestrationStatusAssigned" />
20     <bpmn:sequenceFlow id="SequenceFlow_0csh9dc" sourceRef="Task_UpdateVnfOrchestrationStatusAssigned" targetRef="End_AssignVnfBB" />
21     <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;)))}">
22       <bpmn:incoming>SequenceFlow_1ks8kmt</bpmn:incoming>
23       <bpmn:outgoing>SequenceFlow_0csh9dc</bpmn:outgoing>
24     </bpmn:serviceTask>
25     <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;)))}">
26       <bpmn:incoming>SequenceFlow_1lppa2m</bpmn:incoming>
27       <bpmn:outgoing>SequenceFlow_1nle8kc</bpmn:outgoing>
28     </bpmn:serviceTask>
29     <bpmn:sequenceFlow id="SequenceFlow_1jwsja5" sourceRef="Task_CreateVnf" targetRef="Task_createPlatform" />
30     <bpmn:sequenceFlow id="SequenceFlow_1nle8kc" sourceRef="Task_createInstanceGroups" targetRef="ExclusiveGateway_02tchpp" />
31     <bpmn:sequenceFlow id="SequenceFlow_11jum90" name="no" sourceRef="ExclusiveGateway_02tchpp" targetRef="ExclusiveGateway_1blf52g">
32       <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[${execution.getVariable("callHoming") == false}]]></bpmn:conditionExpression>
33     </bpmn:sequenceFlow>
34     <bpmn:sequenceFlow id="SequenceFlow_1uiok7v" name="yes" sourceRef="ExclusiveGateway_02tchpp" targetRef="Task_callHoming">
35       <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[${execution.getVariable("callHoming") == true}]]></bpmn:conditionExpression>
36     </bpmn:sequenceFlow>
37     <bpmn:sequenceFlow id="SequenceFlow_0v8d14a" sourceRef="Task_callHoming" targetRef="ExclusiveGateway_1blf52g" />
38     <bpmn:callActivity id="Task_callHoming" name="Call Homing" calledElement="HomingBB">
39       <bpmn:extensionElements>
40         <camunda:in source="gBuildingBlockExecution" target="gBuildingBlockExecution" />
41         <camunda:in source="mso-request-id" target="mso-request-id" />
42         <camunda:out source="generalBuildingBlock" target="gBBInput" />
43       </bpmn:extensionElements>
44       <bpmn:incoming>SequenceFlow_1uiok7v</bpmn:incoming>
45       <bpmn:outgoing>SequenceFlow_0v8d14a</bpmn:outgoing>
46     </bpmn:callActivity>
47     <bpmn:sequenceFlow id="SequenceFlow_169g0ir" sourceRef="Task_createPlatform" targetRef="Task_createLineOfBusiness" />
48     <bpmn:sequenceFlow id="SequenceFlow_1lppa2m" sourceRef="Task_createLineOfBusiness" targetRef="Task_createInstanceGroups" />
49     <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;)))}">
50       <bpmn:incoming>SequenceFlow_1jwsja5</bpmn:incoming>
51       <bpmn:outgoing>SequenceFlow_169g0ir</bpmn:outgoing>
52     </bpmn:serviceTask>
53     <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;)))}">
54       <bpmn:incoming>SequenceFlow_169g0ir</bpmn:incoming>
55       <bpmn:outgoing>SequenceFlow_1lppa2m</bpmn:outgoing>
56     </bpmn:serviceTask>
57     <bpmn:subProcess id="SubProcess_19596dp" name="Error Handling&#10;&#10;" triggeredByEvent="true">
58       <bpmn:startEvent id="StartEvent_1c3cyuv">
59         <bpmn:outgoing>SequenceFlow_1i52a7x</bpmn:outgoing>
60         <bpmn:errorEventDefinition />
61       </bpmn:startEvent>
62       <bpmn:endEvent id="EndEvent_1bywujf">
63         <bpmn:incoming>SequenceFlow_1i52a7x</bpmn:incoming>
64         <bpmn:terminateEventDefinition />
65       </bpmn:endEvent>
66       <bpmn:sequenceFlow id="SequenceFlow_1i52a7x" sourceRef="StartEvent_1c3cyuv" targetRef="EndEvent_1bywujf" />
67     </bpmn:subProcess>
68     <bpmn:sequenceFlow id="SequenceFlow_14mpqit" sourceRef="ExclusiveGateway_1blf52g" targetRef="Task_SDNCAdapterVnfTopologyAssign" />
69     <bpmn:inclusiveGateway id="ExclusiveGateway_02tchpp" name="Call Homing?">
70       <bpmn:incoming>SequenceFlow_1nle8kc</bpmn:incoming>
71       <bpmn:outgoing>SequenceFlow_11jum90</bpmn:outgoing>
72       <bpmn:outgoing>SequenceFlow_1uiok7v</bpmn:outgoing>
73     </bpmn:inclusiveGateway>
74     <bpmn:inclusiveGateway id="ExclusiveGateway_1blf52g">
75       <bpmn:incoming>SequenceFlow_11jum90</bpmn:incoming>
76       <bpmn:incoming>SequenceFlow_0v8d14a</bpmn:incoming>
77       <bpmn:outgoing>SequenceFlow_14mpqit</bpmn:outgoing>
78     </bpmn:inclusiveGateway>
79   </bpmn:process>
80   <bpmn:error id="Error_0rgauy1" name="gDelegateError" errorCode="7000" />
81   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
82     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="AssignVnfBB">
83       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="Start_AssignVnfBB">
84         <dc:Bounds x="72" y="116" width="36" height="36" />
85         <bpmndi:BPMNLabel>
86           <dc:Bounds x="79" y="152" width="23" height="12" />
87         </bpmndi:BPMNLabel>
88       </bpmndi:BPMNShape>
89       <bpmndi:BPMNShape id="ServiceTask_0m0ikey_di" bpmnElement="Task_SDNCAdapterVnfTopologyAssign">
90         <dc:Bounds x="930" y="94" width="100" height="80" />
91       </bpmndi:BPMNShape>
92       <bpmndi:BPMNShape id="EndEvent_1h93h9d_di" bpmnElement="End_AssignVnfBB">
93         <dc:Bounds x="1229" y="116" width="36" height="36" />
94         <bpmndi:BPMNLabel>
95           <dc:Bounds x="1238" y="156" width="18" height="12" />
96         </bpmndi:BPMNLabel>
97       </bpmndi:BPMNShape>
98       <bpmndi:BPMNShape id="ServiceTask_1r380lg_di" bpmnElement="Task_CreateVnf">
99         <dc:Bounds x="147" y="94" width="100" height="80" />
100       </bpmndi:BPMNShape>
101       <bpmndi:BPMNEdge id="SequenceFlow_0zaz9o2_di" bpmnElement="SequenceFlow_0zaz9o2">
102         <di:waypoint xsi:type="dc:Point" x="108" y="134" />
103         <di:waypoint xsi:type="dc:Point" x="147" y="134" />
104         <bpmndi:BPMNLabel>
105           <dc:Bounds x="83" y="113" width="90" height="12" />
106         </bpmndi:BPMNLabel>
107       </bpmndi:BPMNEdge>
108       <bpmndi:BPMNEdge id="SequenceFlow_1ks8kmt_di" bpmnElement="SequenceFlow_1ks8kmt">
109         <di:waypoint xsi:type="dc:Point" x="1030" y="134" />
110         <di:waypoint xsi:type="dc:Point" x="1056" y="134" />
111         <bpmndi:BPMNLabel>
112           <dc:Bounds x="998" y="113" width="90" height="12" />
113         </bpmndi:BPMNLabel>
114       </bpmndi:BPMNEdge>
115       <bpmndi:BPMNEdge id="SequenceFlow_0csh9dc_di" bpmnElement="SequenceFlow_0csh9dc">
116         <di:waypoint xsi:type="dc:Point" x="1156" y="134" />
117         <di:waypoint xsi:type="dc:Point" x="1229" y="134" />
118         <bpmndi:BPMNLabel>
119           <dc:Bounds x="1147.5" y="113" width="90" height="12" />
120         </bpmndi:BPMNLabel>
121       </bpmndi:BPMNEdge>
122       <bpmndi:BPMNShape id="ServiceTask_0s6d1be_di" bpmnElement="Task_UpdateVnfOrchestrationStatusAssigned">
123         <dc:Bounds x="1056" y="94" width="100" height="80" />
124       </bpmndi:BPMNShape>
125       <bpmndi:BPMNShape id="ServiceTask_0wjy7za_di" bpmnElement="Task_createInstanceGroups">
126         <dc:Bounds x="534" y="94" width="100" height="80" />
127       </bpmndi:BPMNShape>
128       <bpmndi:BPMNEdge id="SequenceFlow_1jwsja5_di" bpmnElement="SequenceFlow_1jwsja5">
129         <di:waypoint xsi:type="dc:Point" x="247" y="134" />
130         <di:waypoint xsi:type="dc:Point" x="279" y="134" />
131         <bpmndi:BPMNLabel>
132           <dc:Bounds x="218" y="113" width="90" height="12" />
133         </bpmndi:BPMNLabel>
134       </bpmndi:BPMNEdge>
135       <bpmndi:BPMNEdge id="SequenceFlow_1nle8kc_di" bpmnElement="SequenceFlow_1nle8kc">
136         <di:waypoint xsi:type="dc:Point" x="634" y="134" />
137         <di:waypoint xsi:type="dc:Point" x="679" y="134" />
138         <bpmndi:BPMNLabel>
139           <dc:Bounds x="611.5" y="113" width="90" height="12" />
140         </bpmndi:BPMNLabel>
141       </bpmndi:BPMNEdge>
142       <bpmndi:BPMNEdge id="SequenceFlow_11jum90_di" bpmnElement="SequenceFlow_11jum90">
143         <di:waypoint xsi:type="dc:Point" x="704" y="159" />
144         <di:waypoint xsi:type="dc:Point" x="704" y="195" />
145         <di:waypoint xsi:type="dc:Point" x="874" y="195" />
146         <di:waypoint xsi:type="dc:Point" x="874" y="159" />
147         <bpmndi:BPMNLabel>
148           <dc:Bounds x="715.1383523847063" y="174" width="12" height="12" />
149         </bpmndi:BPMNLabel>
150       </bpmndi:BPMNEdge>
151       <bpmndi:BPMNEdge id="SequenceFlow_1uiok7v_di" bpmnElement="SequenceFlow_1uiok7v">
152         <di:waypoint xsi:type="dc:Point" x="704" y="109" />
153         <di:waypoint xsi:type="dc:Point" x="704" y="68" />
154         <di:waypoint xsi:type="dc:Point" x="739" y="68" />
155         <bpmndi:BPMNLabel>
156           <dc:Bounds x="711" y="75.5" width="19" height="12" />
157         </bpmndi:BPMNLabel>
158       </bpmndi:BPMNEdge>
159       <bpmndi:BPMNEdge id="SequenceFlow_0v8d14a_di" bpmnElement="SequenceFlow_0v8d14a">
160         <di:waypoint xsi:type="dc:Point" x="839" y="68" />
161         <di:waypoint xsi:type="dc:Point" x="874" y="68" />
162         <di:waypoint xsi:type="dc:Point" x="874" y="109" />
163         <bpmndi:BPMNLabel>
164           <dc:Bounds x="811.5" y="47" width="90" height="12" />
165         </bpmndi:BPMNLabel>
166       </bpmndi:BPMNEdge>
167       <bpmndi:BPMNShape id="CallActivity_14ye6fs_di" bpmnElement="Task_callHoming">
168         <dc:Bounds x="739" y="28" width="100" height="80" />
169       </bpmndi:BPMNShape>
170       <bpmndi:BPMNEdge id="SequenceFlow_169g0ir_di" bpmnElement="SequenceFlow_169g0ir">
171         <di:waypoint xsi:type="dc:Point" x="379" y="134" />
172         <di:waypoint xsi:type="dc:Point" x="404" y="134" />
173         <bpmndi:BPMNLabel>
174           <dc:Bounds x="347" y="113" width="90" height="12" />
175         </bpmndi:BPMNLabel>
176       </bpmndi:BPMNEdge>
177       <bpmndi:BPMNEdge id="SequenceFlow_1lppa2m_di" bpmnElement="SequenceFlow_1lppa2m">
178         <di:waypoint xsi:type="dc:Point" x="504" y="134" />
179         <di:waypoint xsi:type="dc:Point" x="534" y="134" />
180         <bpmndi:BPMNLabel>
181           <dc:Bounds x="474" y="113" width="90" height="12" />
182         </bpmndi:BPMNLabel>
183       </bpmndi:BPMNEdge>
184       <bpmndi:BPMNShape id="ServiceTask_0c97kfg_di" bpmnElement="Task_createPlatform">
185         <dc:Bounds x="279" y="94" width="100" height="80" />
186       </bpmndi:BPMNShape>
187       <bpmndi:BPMNShape id="ServiceTask_1b9yljc_di" bpmnElement="Task_createLineOfBusiness">
188         <dc:Bounds x="404" y="94" width="100" height="80" />
189       </bpmndi:BPMNShape>
190       <bpmndi:BPMNShape id="SubProcess_19596dp_di" bpmnElement="SubProcess_19596dp" isExpanded="true">
191         <dc:Bounds x="249" y="267" width="231" height="135" />
192       </bpmndi:BPMNShape>
193       <bpmndi:BPMNShape id="StartEvent_1c3cyuv_di" bpmnElement="StartEvent_1c3cyuv">
194         <dc:Bounds x="286" y="323" width="36" height="36" />
195         <bpmndi:BPMNLabel>
196           <dc:Bounds x="259" y="359" width="0" height="12" />
197         </bpmndi:BPMNLabel>
198       </bpmndi:BPMNShape>
199       <bpmndi:BPMNShape id="EndEvent_1bywujf_di" bpmnElement="EndEvent_1bywujf">
200         <dc:Bounds x="422" y="323" width="36" height="36" />
201         <bpmndi:BPMNLabel>
202           <dc:Bounds x="395" y="359" width="0" height="12" />
203         </bpmndi:BPMNLabel>
204       </bpmndi:BPMNShape>
205       <bpmndi:BPMNEdge id="SequenceFlow_1i52a7x_di" bpmnElement="SequenceFlow_1i52a7x">
206         <di:waypoint xsi:type="dc:Point" x="322" y="341" />
207         <di:waypoint xsi:type="dc:Point" x="422" y="341" />
208         <bpmndi:BPMNLabel>
209           <dc:Bounds x="372" y="320" width="0" height="12" />
210         </bpmndi:BPMNLabel>
211       </bpmndi:BPMNEdge>
212       <bpmndi:BPMNEdge id="SequenceFlow_14mpqit_di" bpmnElement="SequenceFlow_14mpqit">
213         <di:waypoint xsi:type="dc:Point" x="899" y="134" />
214         <di:waypoint xsi:type="dc:Point" x="930" y="134" />
215         <bpmndi:BPMNLabel>
216           <dc:Bounds x="914.5" y="113" width="0" height="12" />
217         </bpmndi:BPMNLabel>
218       </bpmndi:BPMNEdge>
219       <bpmndi:BPMNShape id="InclusiveGateway_0x0c3kk_di" bpmnElement="ExclusiveGateway_02tchpp">
220         <dc:Bounds x="679" y="109" width="50" height="50" />
221         <bpmndi:BPMNLabel>
222           <dc:Bounds x="731" y="128" width="67" height="13" />
223         </bpmndi:BPMNLabel>
224       </bpmndi:BPMNShape>
225       <bpmndi:BPMNShape id="InclusiveGateway_0ijggth_di" bpmnElement="ExclusiveGateway_1blf52g">
226         <dc:Bounds x="849" y="109" width="50" height="50" />
227         <bpmndi:BPMNLabel>
228           <dc:Bounds x="896" y="163" width="0" height="12" />
229         </bpmndi:BPMNLabel>
230       </bpmndi:BPMNShape>
231     </bpmndi:BPMNPlane>
232   </bpmndi:BPMNDiagram>
233 </bpmn:definitions>