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