Containerization feature of SO
[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.8.2">
3   <bpmn:process id="AssignVnfBB" name="AssignVnfBB" isExecutable="true">
4     <bpmn:startEvent id="Start_AssignVnfBB" name="start">
5       <bpmn:outgoing>SequenceFlow_0zaz9o2</bpmn:outgoing>
6     </bpmn:startEvent>
7     <bpmn:serviceTask id="Task_SDNCAdapterVnfTopologyAssign" name="Call SDNC Adapter VNF Topology Assign" camunda:expression="${SDNCAssignTasks.assignVnf(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
8       <bpmn:incoming>SequenceFlow_11jum90</bpmn:incoming>
9       <bpmn:incoming>SequenceFlow_0v8d14a</bpmn:incoming>
10       <bpmn:outgoing>SequenceFlow_1ks8kmt</bpmn:outgoing>
11     </bpmn:serviceTask>
12     <bpmn:endEvent id="End_AssignVnfBB" name="end">
13       <bpmn:incoming>SequenceFlow_0csh9dc</bpmn:incoming>
14     </bpmn:endEvent>
15     <bpmn:serviceTask id="Task_CreateVnf" name="Create Vnf (AAI)" camunda:expression="${AAICreateTasks.createVnf(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
16       <bpmn:incoming>SequenceFlow_0zaz9o2</bpmn:incoming>
17       <bpmn:outgoing>SequenceFlow_1jwsja5</bpmn:outgoing>
18     </bpmn:serviceTask>
19     <bpmn:sequenceFlow id="SequenceFlow_0zaz9o2" sourceRef="Start_AssignVnfBB" targetRef="Task_CreateVnf" />
20     <bpmn:sequenceFlow id="SequenceFlow_1ks8kmt" sourceRef="Task_SDNCAdapterVnfTopologyAssign" targetRef="Task_UpdateVnfOrchestrationStatusAssigned" />
21     <bpmn:sequenceFlow id="SequenceFlow_0csh9dc" sourceRef="Task_UpdateVnfOrchestrationStatusAssigned" targetRef="End_AssignVnfBB" />
22     <bpmn:serviceTask id="Task_UpdateVnfOrchestrationStatusAssigned" name="Update VNF Orchestration Status Assigned (AAI)" camunda:expression="${AAIUpdateTasks.updateOrchestrationStatusAssignedVnf(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
23       <bpmn:incoming>SequenceFlow_1ks8kmt</bpmn:incoming>
24       <bpmn:outgoing>SequenceFlow_0csh9dc</bpmn:outgoing>
25     </bpmn:serviceTask>
26     <bpmn:serviceTask id="Task_createInstanceGroups" name="Create Instance Groups (AAI)" camunda:expression="${AssignVnf.createInstanceGroups(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
27       <bpmn:incoming>SequenceFlow_1lppa2m</bpmn:incoming>
28       <bpmn:outgoing>SequenceFlow_1nle8kc</bpmn:outgoing>
29     </bpmn:serviceTask>
30     <bpmn:sequenceFlow id="SequenceFlow_1jwsja5" sourceRef="Task_CreateVnf" targetRef="Task_createPlatform" />
31     <bpmn:sequenceFlow id="SequenceFlow_1nle8kc" sourceRef="Task_createInstanceGroups" targetRef="ExclusiveGateway_02tchpp" />
32     <bpmn:exclusiveGateway id="ExclusiveGateway_02tchpp" name="Call Homing?" default="SequenceFlow_11jum90">
33       <bpmn:incoming>SequenceFlow_1nle8kc</bpmn:incoming>
34       <bpmn:outgoing>SequenceFlow_11jum90</bpmn:outgoing>
35       <bpmn:outgoing>SequenceFlow_1uiok7v</bpmn:outgoing>
36     </bpmn:exclusiveGateway>
37     <bpmn:sequenceFlow id="SequenceFlow_11jum90" name="no" sourceRef="ExclusiveGateway_02tchpp" targetRef="Task_SDNCAdapterVnfTopologyAssign" />
38     <bpmn:sequenceFlow id="SequenceFlow_1uiok7v" name="yes" sourceRef="ExclusiveGateway_02tchpp" targetRef="Task_callHoming">
39       <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[${execution.getVariable("callHoming")}]]></bpmn:conditionExpression>
40     </bpmn:sequenceFlow>
41     <bpmn:sequenceFlow id="SequenceFlow_0v8d14a" sourceRef="Task_callHoming" targetRef="Task_SDNCAdapterVnfTopologyAssign" />
42     <bpmn:callActivity id="Task_callHoming" name="Call Homing" calledElement="HomingV2">
43       <bpmn:extensionElements>
44         <camunda:in source="gBuildingBlockExecution" target="gBuildingBlockExecution" />
45         <camunda:in source="mso-request-id" target="mso-request-id" />
46         <camunda:out source="gBuildingBlockExecution" target="gBuildingBlockExecution" />
47       </bpmn:extensionElements>
48       <bpmn:incoming>SequenceFlow_1uiok7v</bpmn:incoming>
49       <bpmn:outgoing>SequenceFlow_0v8d14a</bpmn:outgoing>
50     </bpmn:callActivity>
51     <bpmn:sequenceFlow id="SequenceFlow_169g0ir" sourceRef="Task_createPlatform" targetRef="Task_createLineOfBusiness" />
52     <bpmn:sequenceFlow id="SequenceFlow_1lppa2m" sourceRef="Task_createLineOfBusiness" targetRef="Task_createInstanceGroups" />
53     <bpmn:serviceTask id="Task_createPlatform" name="Create/Connect Platform" camunda:expression="${AAICreateTasks.createPlatform(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
54       <bpmn:incoming>SequenceFlow_1jwsja5</bpmn:incoming>
55       <bpmn:outgoing>SequenceFlow_169g0ir</bpmn:outgoing>
56     </bpmn:serviceTask>
57     <bpmn:serviceTask id="Task_createLineOfBusiness" name="Create/Connect Line of Business" camunda:expression="${AAICreateTasks.createLineOfBusiness(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
58       <bpmn:incoming>SequenceFlow_169g0ir</bpmn:incoming>
59       <bpmn:outgoing>SequenceFlow_1lppa2m</bpmn:outgoing>
60     </bpmn:serviceTask>
61   </bpmn:process>
62   <bpmn:error id="Error_0rgauy1" name="gDelegateError" errorCode="7000" />
63   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
64     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="AssignVnfBB">
65       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="Start_AssignVnfBB">
66         <dc:Bounds x="-111" y="76" width="36" height="36" />
67         <bpmndi:BPMNLabel>
68           <dc:Bounds x="-104" y="112" width="22" height="12" />
69         </bpmndi:BPMNLabel>
70       </bpmndi:BPMNShape>
71       <bpmndi:BPMNShape id="ServiceTask_0m0ikey_di" bpmnElement="Task_SDNCAdapterVnfTopologyAssign">
72         <dc:Bounds x="605" y="54" width="100" height="80" />
73       </bpmndi:BPMNShape>
74       <bpmndi:BPMNShape id="EndEvent_1h93h9d_di" bpmnElement="End_AssignVnfBB">
75         <dc:Bounds x="895" y="76" width="36" height="36" />
76         <bpmndi:BPMNLabel>
77           <dc:Bounds x="904" y="116" width="18" height="12" />
78         </bpmndi:BPMNLabel>
79       </bpmndi:BPMNShape>
80       <bpmndi:BPMNShape id="ServiceTask_1r380lg_di" bpmnElement="Task_CreateVnf">
81         <dc:Bounds x="-36" y="54" width="100" height="80" />
82       </bpmndi:BPMNShape>
83       <bpmndi:BPMNEdge id="SequenceFlow_0zaz9o2_di" bpmnElement="SequenceFlow_0zaz9o2">
84         <di:waypoint xsi:type="dc:Point" x="-75" y="94" />
85         <di:waypoint xsi:type="dc:Point" x="-36" y="94" />
86         <bpmndi:BPMNLabel>
87           <dc:Bounds x="-100" y="73" width="90" height="12" />
88         </bpmndi:BPMNLabel>
89       </bpmndi:BPMNEdge>
90       <bpmndi:BPMNEdge id="SequenceFlow_1ks8kmt_di" bpmnElement="SequenceFlow_1ks8kmt">
91         <di:waypoint xsi:type="dc:Point" x="705" y="94" />
92         <di:waypoint xsi:type="dc:Point" x="747" y="94" />
93         <bpmndi:BPMNLabel>
94           <dc:Bounds x="681" y="73" width="90" height="12" />
95         </bpmndi:BPMNLabel>
96       </bpmndi:BPMNEdge>
97       <bpmndi:BPMNEdge id="SequenceFlow_0csh9dc_di" bpmnElement="SequenceFlow_0csh9dc">
98         <di:waypoint xsi:type="dc:Point" x="847" y="94" />
99         <di:waypoint xsi:type="dc:Point" x="895" y="94" />
100         <bpmndi:BPMNLabel>
101           <dc:Bounds x="826" y="73" width="90" height="12" />
102         </bpmndi:BPMNLabel>
103       </bpmndi:BPMNEdge>
104       <bpmndi:BPMNShape id="ServiceTask_0s6d1be_di" bpmnElement="Task_UpdateVnfOrchestrationStatusAssigned">
105         <dc:Bounds x="747" y="54" width="100" height="80" />
106       </bpmndi:BPMNShape>
107       <bpmndi:BPMNShape id="ServiceTask_0wjy7za_di" bpmnElement="Task_createInstanceGroups">
108         <dc:Bounds x="351" y="54" width="100" height="80" />
109       </bpmndi:BPMNShape>
110       <bpmndi:BPMNEdge id="SequenceFlow_1jwsja5_di" bpmnElement="SequenceFlow_1jwsja5">
111         <di:waypoint xsi:type="dc:Point" x="64" y="94" />
112         <di:waypoint xsi:type="dc:Point" x="96" y="94" />
113         <bpmndi:BPMNLabel>
114           <dc:Bounds x="35" y="73" width="90" height="12" />
115         </bpmndi:BPMNLabel>
116       </bpmndi:BPMNEdge>
117       <bpmndi:BPMNEdge id="SequenceFlow_1nle8kc_di" bpmnElement="SequenceFlow_1nle8kc">
118         <di:waypoint xsi:type="dc:Point" x="451" y="94" />
119         <di:waypoint xsi:type="dc:Point" x="496" y="94" />
120         <bpmndi:BPMNLabel>
121           <dc:Bounds x="428.5" y="73" width="90" height="12" />
122         </bpmndi:BPMNLabel>
123       </bpmndi:BPMNEdge>
124       <bpmndi:BPMNShape id="ExclusiveGateway_02tchpp_di" bpmnElement="ExclusiveGateway_02tchpp" isMarkerVisible="true">
125         <dc:Bounds x="496" y="69" width="50" height="50" />
126         <bpmndi:BPMNLabel>
127           <dc:Bounds x="489" y="123" width="64" height="12" />
128         </bpmndi:BPMNLabel>
129       </bpmndi:BPMNShape>
130       <bpmndi:BPMNEdge id="SequenceFlow_11jum90_di" bpmnElement="SequenceFlow_11jum90">
131         <di:waypoint xsi:type="dc:Point" x="546" y="94" />
132         <di:waypoint xsi:type="dc:Point" x="605" y="94" />
133         <bpmndi:BPMNLabel>
134           <dc:Bounds x="569.5" y="73" width="12" height="12" />
135         </bpmndi:BPMNLabel>
136       </bpmndi:BPMNEdge>
137       <bpmndi:BPMNEdge id="SequenceFlow_1uiok7v_di" bpmnElement="SequenceFlow_1uiok7v">
138         <di:waypoint xsi:type="dc:Point" x="521" y="69" />
139         <di:waypoint xsi:type="dc:Point" x="521" y="-23" />
140         <di:waypoint xsi:type="dc:Point" x="605" y="-23" />
141         <bpmndi:BPMNLabel>
142           <dc:Bounds x="527" y="17.494623655913976" width="18" height="12" />
143         </bpmndi:BPMNLabel>
144       </bpmndi:BPMNEdge>
145       <bpmndi:BPMNEdge id="SequenceFlow_0v8d14a_di" bpmnElement="SequenceFlow_0v8d14a">
146         <di:waypoint xsi:type="dc:Point" x="655" y="17" />
147         <di:waypoint xsi:type="dc:Point" x="655" y="54" />
148         <bpmndi:BPMNLabel>
149           <dc:Bounds x="670" y="29.5" width="0" height="12" />
150         </bpmndi:BPMNLabel>
151       </bpmndi:BPMNEdge>
152       <bpmndi:BPMNShape id="CallActivity_14ye6fs_di" bpmnElement="Task_callHoming">
153         <dc:Bounds x="605" y="-63" width="100" height="80" />
154       </bpmndi:BPMNShape>
155       <bpmndi:BPMNEdge id="SequenceFlow_169g0ir_di" bpmnElement="SequenceFlow_169g0ir">
156         <di:waypoint xsi:type="dc:Point" x="196" y="94" />
157         <di:waypoint xsi:type="dc:Point" x="221" y="94" />
158         <bpmndi:BPMNLabel>
159           <dc:Bounds x="208.5" y="73" width="0" height="12" />
160         </bpmndi:BPMNLabel>
161       </bpmndi:BPMNEdge>
162       <bpmndi:BPMNEdge id="SequenceFlow_1lppa2m_di" bpmnElement="SequenceFlow_1lppa2m">
163         <di:waypoint xsi:type="dc:Point" x="321" y="94" />
164         <di:waypoint xsi:type="dc:Point" x="351" y="94" />
165         <bpmndi:BPMNLabel>
166           <dc:Bounds x="336" y="73" width="0" height="12" />
167         </bpmndi:BPMNLabel>
168       </bpmndi:BPMNEdge>
169       <bpmndi:BPMNShape id="ServiceTask_0c97kfg_di" bpmnElement="Task_createPlatform">
170         <dc:Bounds x="96" y="54" width="100" height="80" />
171       </bpmndi:BPMNShape>
172       <bpmndi:BPMNShape id="ServiceTask_1b9yljc_di" bpmnElement="Task_createLineOfBusiness">
173         <dc:Bounds x="221" y="54" width="100" height="80" />
174       </bpmndi:BPMNShape>
175     </bpmndi:BPMNPlane>
176   </bpmndi:BPMNDiagram>
177 </bpmn:definitions>