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.4.0">
3 <bpmn:process id="CreateVfModuleBB" name="CreateVfModuleBB" isExecutable="true">
4 <bpmn:startEvent id="CreateVfModuleBB_Start">
5 <bpmn:outgoing>SequenceFlow_1xr6chl</bpmn:outgoing>
7 <bpmn:serviceTask id="QueryVfModule" name=" SDNC Get (vf module) " camunda:expression="${SDNCQueryTasks.queryVfModule(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
8 <bpmn:incoming>SequenceFlow_1s4rpyp</bpmn:incoming>
9 <bpmn:outgoing>SequenceFlow_15hn8si</bpmn:outgoing>
11 <bpmn:sequenceFlow id="SequenceFlow_1xr6chl" sourceRef="CreateVfModuleBB_Start" targetRef="QueryVnf" />
12 <bpmn:endEvent id="CreateVfModuleBB_End">
13 <bpmn:incoming>SequenceFlow_1vbwdaw</bpmn:incoming>
15 <bpmn:serviceTask id="CreateVfModule" name="Create VF Module (VNF)" camunda:expression="${VnfAdapterCreateTasks.createVfModule(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
16 <bpmn:incoming>SequenceFlow_15hn8si</bpmn:incoming>
17 <bpmn:outgoing>SequenceFlow_16g4dz0</bpmn:outgoing>
19 <bpmn:sequenceFlow id="SequenceFlow_15hn8si" sourceRef="QueryVfModule" targetRef="CreateVfModule" />
20 <bpmn:sequenceFlow id="SequenceFlow_1s4rpyp" sourceRef="QueryVnf" targetRef="QueryVfModule" />
21 <bpmn:serviceTask id="QueryVnf" name=" SDNC Get (vnf) " camunda:expression="${SDNCQueryTasks.queryVnf(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
22 <bpmn:incoming>SequenceFlow_1xr6chl</bpmn:incoming>
23 <bpmn:outgoing>SequenceFlow_1s4rpyp</bpmn:outgoing>
25 <bpmn:sequenceFlow id="SequenceFlow_16g4dz0" sourceRef="CreateVfModule" targetRef="VnfAdapter" />
26 <bpmn:sequenceFlow id="SequenceFlow_0ecr393" sourceRef="VnfAdapter" targetRef="CreateNetworkPolicies" />
27 <bpmn:callActivity id="VnfAdapter" name="Vnf Adapter" calledElement="VnfAdapter">
28 <bpmn:extensionElements>
29 <camunda:in source="gBuildingBlockExecution" target="gBuildingBlockExecution" />
30 <camunda:out source="WorkflowException" target="WorkflowException" />
31 <camunda:in source="VNFREST_Request" target="VNFREST_Request" />
32 <camunda:out source="heatStackId" target="heatStackId" />
33 <camunda:out source="contrailServiceInstanceFqdn" target="contrailServiceInstanceFqdn" />
34 <camunda:out source="oamManagementV4Address" target="oamManagementV4Address" />
35 <camunda:out source="oamManagementV6Address" target="oamManagementV6Address" />
36 <camunda:out source="contrailNetworkPolicyFqdnList" target="contrailNetworkPolicyFqdnList" />
37 </bpmn:extensionElements>
38 <bpmn:incoming>SequenceFlow_16g4dz0</bpmn:incoming>
39 <bpmn:outgoing>SequenceFlow_0ecr393</bpmn:outgoing>
41 <bpmn:serviceTask id="UpdateVfModuleStatus" name=" AAI Update (vf module) " camunda:expression="${AAIUpdateTasks.updateOrchestrationStatusCreatedVfModule(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
42 <bpmn:incoming>SequenceFlow_0rds4rj</bpmn:incoming>
43 <bpmn:outgoing>SequenceFlow_1vbwdaw</bpmn:outgoing>
45 <bpmn:serviceTask id="UpdateVfModuleHeatStackId" name=" AAI Update (vf module) " camunda:expression="${AAIUpdateTasks.updateHeatStackIdVfModule(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
46 <bpmn:incoming>SequenceFlow_15do1tu</bpmn:incoming>
47 <bpmn:outgoing>SequenceFlow_0rds4rj</bpmn:outgoing>
49 <bpmn:subProcess id="SubProcess_1getwnf" name="Error Handling " triggeredByEvent="true">
50 <bpmn:startEvent id="StartEvent_1c8o652">
51 <bpmn:outgoing>SequenceFlow_0gcots6</bpmn:outgoing>
52 <bpmn:errorEventDefinition />
54 <bpmn:endEvent id="EndEvent_1emam1w">
55 <bpmn:incoming>SequenceFlow_0gcots6</bpmn:incoming>
56 <bpmn:terminateEventDefinition />
58 <bpmn:sequenceFlow id="SequenceFlow_0gcots6" sourceRef="StartEvent_1c8o652" targetRef="EndEvent_1emam1w" />
60 <bpmn:sequenceFlow id="SequenceFlow_0rds4rj" sourceRef="UpdateVfModuleHeatStackId" targetRef="UpdateVfModuleStatus" />
61 <bpmn:sequenceFlow id="SequenceFlow_1vbwdaw" sourceRef="UpdateVfModuleStatus" targetRef="CreateVfModuleBB_End" />
62 <bpmn:serviceTask id="CreateNetworkPolicies" name="AAI Create (network policies)" camunda:expression="${AAICreateTasks.createNetworkPolicies(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
63 <bpmn:incoming>SequenceFlow_0ecr393</bpmn:incoming>
64 <bpmn:outgoing>SequenceFlow_0xqhep5</bpmn:outgoing>
66 <bpmn:sequenceFlow id="SequenceFlow_0xqhep5" sourceRef="CreateNetworkPolicies" targetRef="UpdateVnfIpv4OamAddress" />
67 <bpmn:serviceTask id="UpdateVnfIpv4OamAddress" name="AAI Update (VNF) " camunda:expression="${AAIUpdateTasks.updateIpv4OamAddressVnf(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
68 <bpmn:incoming>SequenceFlow_0xqhep5</bpmn:incoming>
69 <bpmn:outgoing>SequenceFlow_1yo6mvv</bpmn:outgoing>
71 <bpmn:sequenceFlow id="SequenceFlow_1yo6mvv" sourceRef="UpdateVnfIpv4OamAddress" targetRef="UpdateVnfManagementV6Address" />
72 <bpmn:serviceTask id="UpdateVnfManagementV6Address" name="AAI Update (VNF)" camunda:expression="${AAIUpdateTasks.updateManagementV6AddressVnf(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
73 <bpmn:incoming>SequenceFlow_1yo6mvv</bpmn:incoming>
74 <bpmn:outgoing>SequenceFlow_1i03uy2</bpmn:outgoing>
76 <bpmn:sequenceFlow id="SequenceFlow_1i03uy2" sourceRef="UpdateVnfManagementV6Address" targetRef="UpdateVfModuleContrailServiceInstanceFqdn" />
77 <bpmn:serviceTask id="UpdateVfModuleContrailServiceInstanceFqdn" name="AAI Update (vf module) " camunda:expression="${AAIUpdateTasks.updateContrailServiceInstanceFqdnVfModule(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
78 <bpmn:incoming>SequenceFlow_1i03uy2</bpmn:incoming>
79 <bpmn:outgoing>SequenceFlow_15do1tu</bpmn:outgoing>
81 <bpmn:sequenceFlow id="SequenceFlow_15do1tu" sourceRef="UpdateVfModuleContrailServiceInstanceFqdn" targetRef="UpdateVfModuleHeatStackId" />
83 <bpmndi:BPMNDiagram id="BPMNDiagram_1">
84 <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="CreateVfModuleBB">
85 <bpmndi:BPMNShape id="StartEvent_0kxwniy_di" bpmnElement="CreateVfModuleBB_Start">
86 <dc:Bounds x="59" y="88" width="36" height="36" />
88 <dc:Bounds x="77" y="124" width="0" height="0" />
91 <bpmndi:BPMNShape id="ServiceTask_13t22km_di" bpmnElement="QueryVfModule">
92 <dc:Bounds x="416" y="66" width="100" height="80" />
94 <bpmndi:BPMNEdge id="SequenceFlow_1xr6chl_di" bpmnElement="SequenceFlow_1xr6chl">
95 <di:waypoint xsi:type="dc:Point" x="95" y="106" />
96 <di:waypoint xsi:type="dc:Point" x="216" y="106" />
98 <dc:Bounds x="156" y="91" width="0" height="0" />
101 <bpmndi:BPMNShape id="EndEvent_0qdq7wj_di" bpmnElement="CreateVfModuleBB_End">
102 <dc:Bounds x="1118" y="293" width="36" height="36" />
104 <dc:Bounds x="1136" y="333" width="0" height="0" />
107 <bpmndi:BPMNShape id="ServiceTask_1dgenhy_di" bpmnElement="CreateVfModule">
108 <dc:Bounds x="612" y="66" width="100" height="80" />
110 <bpmndi:BPMNEdge id="SequenceFlow_15hn8si_di" bpmnElement="SequenceFlow_15hn8si">
111 <di:waypoint xsi:type="dc:Point" x="516" y="106" />
112 <di:waypoint xsi:type="dc:Point" x="612" y="106" />
114 <dc:Bounds x="519" y="91" width="90" height="0" />
117 <bpmndi:BPMNEdge id="SequenceFlow_1s4rpyp_di" bpmnElement="SequenceFlow_1s4rpyp">
118 <di:waypoint xsi:type="dc:Point" x="316" y="106" />
119 <di:waypoint xsi:type="dc:Point" x="416" y="106" />
121 <dc:Bounds x="321" y="91" width="90" height="0" />
124 <bpmndi:BPMNShape id="ServiceTask_1frb5h2_di" bpmnElement="QueryVnf">
125 <dc:Bounds x="216" y="66" width="100" height="80" />
127 <bpmndi:BPMNEdge id="SequenceFlow_16g4dz0_di" bpmnElement="SequenceFlow_16g4dz0">
128 <di:waypoint xsi:type="dc:Point" x="712" y="106" />
129 <di:waypoint xsi:type="dc:Point" x="790" y="106" />
131 <dc:Bounds x="751" y="91" width="0" height="0" />
134 <bpmndi:BPMNEdge id="SequenceFlow_0ecr393_di" bpmnElement="SequenceFlow_0ecr393">
135 <di:waypoint xsi:type="dc:Point" x="890" y="107" />
136 <di:waypoint xsi:type="dc:Point" x="994" y="107" />
137 <di:waypoint xsi:type="dc:Point" x="994" y="209" />
138 <di:waypoint xsi:type="dc:Point" x="73" y="209" />
139 <di:waypoint xsi:type="dc:Point" x="73" y="306" />
140 <di:waypoint xsi:type="dc:Point" x="142" y="306" />
142 <dc:Bounds x="534" y="194" width="0" height="0" />
145 <bpmndi:BPMNShape id="CallActivity_1i1pfzb_di" bpmnElement="VnfAdapter">
146 <dc:Bounds x="790" y="66" width="100" height="80" />
148 <bpmndi:BPMNShape id="ServiceTask_0fpfn71_di" bpmnElement="UpdateVfModuleStatus">
149 <dc:Bounds x="942" y="271" width="100" height="80" />
151 <bpmndi:BPMNShape id="ServiceTask_04k1b85_di" bpmnElement="UpdateVfModuleHeatStackId">
152 <dc:Bounds x="777" y="271" width="100" height="80" />
154 <bpmndi:BPMNShape id="SubProcess_1getwnf_di" bpmnElement="SubProcess_1getwnf" isExpanded="true">
155 <dc:Bounds x="136" y="439" width="231" height="135" />
157 <bpmndi:BPMNShape id="StartEvent_1c8o652_di" bpmnElement="StartEvent_1c8o652">
158 <dc:Bounds x="175" y="497" width="36" height="36" />
160 <dc:Bounds x="148" y="533" width="0" height="0" />
163 <bpmndi:BPMNShape id="EndEvent_1emam1w_di" bpmnElement="EndEvent_1emam1w">
164 <dc:Bounds x="312" y="497" width="36" height="36" />
166 <dc:Bounds x="285" y="533" width="0" height="0" />
169 <bpmndi:BPMNEdge id="SequenceFlow_0gcots6_di" bpmnElement="SequenceFlow_0gcots6">
170 <di:waypoint xsi:type="dc:Point" x="211" y="515" />
171 <di:waypoint xsi:type="dc:Point" x="312" y="515" />
173 <dc:Bounds x="262" y="494" width="0" height="0" />
176 <bpmndi:BPMNEdge id="SequenceFlow_0rds4rj_di" bpmnElement="SequenceFlow_0rds4rj">
177 <di:waypoint xsi:type="dc:Point" x="877" y="311" />
178 <di:waypoint xsi:type="dc:Point" x="942" y="311" />
180 <dc:Bounds x="910" y="296" width="0" height="0" />
183 <bpmndi:BPMNEdge id="SequenceFlow_1vbwdaw_di" bpmnElement="SequenceFlow_1vbwdaw">
184 <di:waypoint xsi:type="dc:Point" x="1042" y="311" />
185 <di:waypoint xsi:type="dc:Point" x="1083" y="311" />
186 <di:waypoint xsi:type="dc:Point" x="1083" y="311" />
187 <di:waypoint xsi:type="dc:Point" x="1118" y="311" />
189 <dc:Bounds x="1098" y="311" width="0" height="0" />
192 <bpmndi:BPMNShape id="ServiceTask_1v8zx4s_di" bpmnElement="CreateNetworkPolicies">
193 <dc:Bounds x="142" y="271" width="100" height="80" />
195 <bpmndi:BPMNEdge id="SequenceFlow_0xqhep5_di" bpmnElement="SequenceFlow_0xqhep5">
196 <di:waypoint xsi:type="dc:Point" x="242" y="311" />
197 <di:waypoint xsi:type="dc:Point" x="295" y="311" />
199 <dc:Bounds x="269" y="296" width="0" height="0" />
202 <bpmndi:BPMNShape id="ServiceTask_015ayw5_di" bpmnElement="UpdateVnfIpv4OamAddress">
203 <dc:Bounds x="295" y="271" width="100" height="80" />
205 <bpmndi:BPMNEdge id="SequenceFlow_1yo6mvv_di" bpmnElement="SequenceFlow_1yo6mvv">
206 <di:waypoint xsi:type="dc:Point" x="395" y="311" />
207 <di:waypoint xsi:type="dc:Point" x="464" y="311" />
209 <dc:Bounds x="430" y="296" width="0" height="0" />
212 <bpmndi:BPMNShape id="ServiceTask_0mlfsc9_di" bpmnElement="UpdateVnfManagementV6Address">
213 <dc:Bounds x="464" y="271" width="100" height="80" />
215 <bpmndi:BPMNEdge id="SequenceFlow_1i03uy2_di" bpmnElement="SequenceFlow_1i03uy2">
216 <di:waypoint xsi:type="dc:Point" x="564" y="311" />
217 <di:waypoint xsi:type="dc:Point" x="612" y="311" />
219 <dc:Bounds x="588" y="296" width="0" height="0" />
222 <bpmndi:BPMNShape id="ServiceTask_0wctnhw_di" bpmnElement="UpdateVfModuleContrailServiceInstanceFqdn">
223 <dc:Bounds x="612" y="271" width="100" height="80" />
225 <bpmndi:BPMNEdge id="SequenceFlow_15do1tu_di" bpmnElement="SequenceFlow_15do1tu">
226 <di:waypoint xsi:type="dc:Point" x="712" y="311" />
227 <di:waypoint xsi:type="dc:Point" x="777" y="311" />
229 <dc:Bounds x="745" y="286" width="0" height="0" />
233 </bpmndi:BPMNDiagram>