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