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:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_1jxlg2g" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="4.12.0" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.15.0">
3 <bpmn:process id="UpgradeVfModuleBB" name="UpgradeVfModuleBB" isExecutable="true">
4 <bpmn:startEvent id="UpgradeVfModuleBB_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>Flow_0gbxjjk</bpmn:outgoing>
11 <bpmn:endEvent id="UpgradeVfModuleBB_End">
12 <bpmn:incoming>SequenceFlow_1vbwdaw</bpmn:incoming>
14 <bpmn:serviceTask id="QueryVnf" name=" SDNC Get (vnf) " camunda:expression="${SDNCQueryTasks.queryVnf(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
15 <bpmn:incoming>SequenceFlow_1xr6chl</bpmn:incoming>
16 <bpmn:outgoing>SequenceFlow_1s4rpyp</bpmn:outgoing>
18 <bpmn:serviceTask id="UpdateVfModuleStatus" name=" AAI Update (vf module) - Pending Activation " camunda:expression="${AAIUpdateTasks.updateOrchestrationStatusPendingActivationVfModule(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
19 <bpmn:incoming>SequenceFlow_0rds4rj</bpmn:incoming>
20 <bpmn:outgoing>SequenceFlow_1vbwdaw</bpmn:outgoing>
22 <bpmn:serviceTask id="UpdateVfModuleHeatStackId" name=" AAI Update (vf module) " camunda:expression="${AAIUpdateTasks.updateHeatStackIdVfModule(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
23 <bpmn:incoming>SequenceFlow_15do1tu</bpmn:incoming>
24 <bpmn:outgoing>SequenceFlow_0rds4rj</bpmn:outgoing>
26 <bpmn:serviceTask id="CreateNetworkPolicies" name="AAI Create (network policies)" camunda:expression="${AAICreateTasks.createNetworkPolicies(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
27 <bpmn:incoming>Flow_1c9ox62</bpmn:incoming>
28 <bpmn:outgoing>SequenceFlow_0xqhep5</bpmn:outgoing>
30 <bpmn:serviceTask id="UpdateVnfIpv4OamAddress" name="AAI Update (VNF) " camunda:expression="${AAIUpdateTasks.updateIpv4OamAddressVnf(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
31 <bpmn:incoming>SequenceFlow_0xqhep5</bpmn:incoming>
32 <bpmn:outgoing>SequenceFlow_1yo6mvv</bpmn:outgoing>
34 <bpmn:serviceTask id="UpdateVnfManagementV6Address" name="AAI Update (VNF)" camunda:expression="${AAIUpdateTasks.updateManagementV6AddressVnf(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
35 <bpmn:incoming>SequenceFlow_1yo6mvv</bpmn:incoming>
36 <bpmn:outgoing>SequenceFlow_1i03uy2</bpmn:outgoing>
38 <bpmn:serviceTask id="UpdateVfModuleContrailServiceInstanceFqdn" name="AAI Update (vf module) " camunda:expression="${AAIUpdateTasks.updateContrailServiceInstanceFqdnVfModule(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
39 <bpmn:incoming>SequenceFlow_1i03uy2</bpmn:incoming>
40 <bpmn:outgoing>SequenceFlow_15do1tu</bpmn:outgoing>
42 <bpmn:serviceTask id="CnfAdapter" name="Cnf Adapter" camunda:expression="${CnfAdapterUpgradeTasks.upgradeInstance(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
43 <bpmn:incoming>Flow_0gbxjjk</bpmn:incoming>
44 <bpmn:outgoing>Flow_1il4743</bpmn:outgoing>
46 <bpmn:subProcess id="Activity_10eqhmz" name="Inventory Error Handling" triggeredByEvent="true">
47 <bpmn:endEvent id="Event_108oetk">
48 <bpmn:incoming>Flow_03q6ty9</bpmn:incoming>
50 <bpmn:serviceTask id="Activity_1p8hxyt" name="Process Error" camunda:expression="${ExceptionBuilder.processInventoryException(execution)}">
51 <bpmn:incoming>Flow_1sqy91r</bpmn:incoming>
52 <bpmn:outgoing>Flow_03q6ty9</bpmn:outgoing>
54 <bpmn:sequenceFlow id="Flow_03q6ty9" sourceRef="Activity_1p8hxyt" targetRef="Event_108oetk" />
55 <bpmn:sequenceFlow id="Flow_1sqy91r" sourceRef="Event_1pengt4" targetRef="Activity_1p8hxyt" />
56 <bpmn:startEvent id="Event_1pengt4">
57 <bpmn:outgoing>Flow_1sqy91r</bpmn:outgoing>
58 <bpmn:errorEventDefinition id="ErrorEventDefinition_0sq3chy" errorRef="Error_0t7oivz" />
61 <bpmn:callActivity id="UpdateCnfAai" name="Update Cnf Data in AAI" calledElement="UpdateCnfAai">
62 <bpmn:extensionElements>
63 <camunda:in source="gBuildingBlockExecution" target="gBuildingBlockExecution" />
64 <camunda:out source="WorkflowException" target="WorkflowException" />
65 <camunda:in source="heatStackId" target="heatStackId" />
66 <camunda:out source="heatStackId" target="heatStackId" />
67 </bpmn:extensionElements>
68 <bpmn:incoming>Flow_1il4743</bpmn:incoming>
69 <bpmn:outgoing>Flow_0piytnn</bpmn:outgoing>
71 <bpmn:sequenceFlow id="SequenceFlow_1xr6chl" sourceRef="UpgradeVfModuleBB_Start" targetRef="QueryVnf" />
72 <bpmn:sequenceFlow id="SequenceFlow_1s4rpyp" sourceRef="QueryVnf" targetRef="QueryVfModule" />
73 <bpmn:sequenceFlow id="SequenceFlow_1vbwdaw" sourceRef="UpdateVfModuleStatus" targetRef="UpgradeVfModuleBB_End" />
74 <bpmn:sequenceFlow id="SequenceFlow_0rds4rj" sourceRef="UpdateVfModuleHeatStackId" targetRef="UpdateVfModuleStatus" />
75 <bpmn:sequenceFlow id="SequenceFlow_15do1tu" sourceRef="UpdateVfModuleContrailServiceInstanceFqdn" targetRef="UpdateVfModuleHeatStackId" />
76 <bpmn:sequenceFlow id="SequenceFlow_0xqhep5" sourceRef="CreateNetworkPolicies" targetRef="UpdateVnfIpv4OamAddress" />
77 <bpmn:sequenceFlow id="SequenceFlow_1yo6mvv" sourceRef="UpdateVnfIpv4OamAddress" targetRef="UpdateVnfManagementV6Address" />
78 <bpmn:sequenceFlow id="SequenceFlow_1i03uy2" sourceRef="UpdateVnfManagementV6Address" targetRef="UpdateVfModuleContrailServiceInstanceFqdn" />
79 <bpmn:sequenceFlow id="Flow_1il4743" sourceRef="CnfAdapter" targetRef="UpdateCnfAai" />
80 <bpmn:intermediateThrowEvent id="aaiThrow" name="Update AAI">
81 <bpmn:incoming>Flow_0piytnn</bpmn:incoming>
82 <bpmn:linkEventDefinition id="LinkEventDefinition_1c2sbij" name="AAI" />
83 </bpmn:intermediateThrowEvent>
84 <bpmn:sequenceFlow id="Flow_0gbxjjk" sourceRef="QueryVfModule" targetRef="CnfAdapter" />
85 <bpmn:sequenceFlow id="Flow_0piytnn" sourceRef="UpdateCnfAai" targetRef="aaiThrow" />
86 <bpmn:intermediateCatchEvent id="aaiCatch" name="Update AAI">
87 <bpmn:outgoing>Flow_1c9ox62</bpmn:outgoing>
88 <bpmn:linkEventDefinition id="LinkEventDefinition_0dycelb" name="AAI" />
89 </bpmn:intermediateCatchEvent>
90 <bpmn:sequenceFlow id="Flow_1c9ox62" sourceRef="aaiCatch" targetRef="CreateNetworkPolicies" />
92 <bpmn:error id="Error_0t7oivz" name="AAIInventoryFailure" errorCode="AAIInventoryFailure" />
93 <bpmndi:BPMNDiagram id="BPMNDiagram_1">
94 <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="UpgradeVfModuleBB">
95 <bpmndi:BPMNEdge id="Flow_1c9ox62_di" bpmnElement="Flow_1c9ox62">
96 <di:waypoint x="208" y="372" />
97 <di:waypoint x="300" y="372" />
99 <bpmndi:BPMNEdge id="Flow_0piytnn_di" bpmnElement="Flow_0piytnn">
100 <di:waypoint x="970" y="120" />
101 <di:waypoint x="1062" y="120" />
103 <bpmndi:BPMNEdge id="Flow_0gbxjjk_di" bpmnElement="Flow_0gbxjjk">
104 <di:waypoint x="570" y="120" />
105 <di:waypoint x="680" y="120" />
107 <bpmndi:BPMNEdge id="Flow_1il4743_di" bpmnElement="Flow_1il4743">
108 <di:waypoint x="780" y="120" />
109 <di:waypoint x="870" y="120" />
111 <bpmndi:BPMNEdge id="SequenceFlow_1i03uy2_di" bpmnElement="SequenceFlow_1i03uy2">
112 <di:waypoint x="722" y="372" />
113 <di:waypoint x="770" y="372" />
115 <bpmndi:BPMNEdge id="SequenceFlow_1yo6mvv_di" bpmnElement="SequenceFlow_1yo6mvv">
116 <di:waypoint x="553" y="372" />
117 <di:waypoint x="622" y="372" />
119 <bpmndi:BPMNEdge id="SequenceFlow_0xqhep5_di" bpmnElement="SequenceFlow_0xqhep5">
120 <di:waypoint x="400" y="372" />
121 <di:waypoint x="453" y="372" />
123 <bpmndi:BPMNEdge id="SequenceFlow_15do1tu_di" bpmnElement="SequenceFlow_15do1tu">
124 <di:waypoint x="870" y="372" />
125 <di:waypoint x="935" y="372" />
127 <bpmndi:BPMNEdge id="SequenceFlow_0rds4rj_di" bpmnElement="SequenceFlow_0rds4rj">
128 <di:waypoint x="1035" y="372" />
129 <di:waypoint x="1100" y="372" />
131 <bpmndi:BPMNEdge id="SequenceFlow_1vbwdaw_di" bpmnElement="SequenceFlow_1vbwdaw">
132 <di:waypoint x="1200" y="372" />
133 <di:waypoint x="1241" y="372" />
134 <di:waypoint x="1241" y="372" />
135 <di:waypoint x="1276" y="372" />
137 <bpmndi:BPMNEdge id="SequenceFlow_1s4rpyp_di" bpmnElement="SequenceFlow_1s4rpyp">
138 <di:waypoint x="389" y="120" />
139 <di:waypoint x="470" y="120" />
141 <bpmndi:BPMNEdge id="SequenceFlow_1xr6chl_di" bpmnElement="SequenceFlow_1xr6chl">
142 <di:waypoint x="188" y="120" />
143 <di:waypoint x="289" y="120" />
145 <bpmndi:BPMNShape id="CreateVfModuleBB_Start_di" bpmnElement="UpgradeVfModuleBB_Start">
146 <dc:Bounds x="152" y="102" width="36" height="36" />
148 <bpmndi:BPMNShape id="QueryVfModule_di" bpmnElement="QueryVfModule">
149 <dc:Bounds x="470" y="80" width="100" height="80" />
151 <bpmndi:BPMNShape id="CreateVfModuleBB_End_di" bpmnElement="UpgradeVfModuleBB_End">
152 <dc:Bounds x="1276" y="354" width="36" height="36" />
154 <bpmndi:BPMNShape id="QueryVnf_di" bpmnElement="QueryVnf">
155 <dc:Bounds x="289" y="80" width="100" height="80" />
157 <bpmndi:BPMNShape id="UpdateVfModuleStatus_di" bpmnElement="UpdateVfModuleStatus">
158 <dc:Bounds x="1100" y="332" width="100" height="80" />
160 <bpmndi:BPMNShape id="UpdateVfModuleHeatStackId_di" bpmnElement="UpdateVfModuleHeatStackId">
161 <dc:Bounds x="935" y="332" width="100" height="80" />
163 <bpmndi:BPMNShape id="CreateNetworkPolicies_di" bpmnElement="CreateNetworkPolicies">
164 <dc:Bounds x="300" y="332" width="100" height="80" />
166 <bpmndi:BPMNShape id="UpdateVnfIpv4OamAddress_di" bpmnElement="UpdateVnfIpv4OamAddress">
167 <dc:Bounds x="453" y="332" width="100" height="80" />
169 <bpmndi:BPMNShape id="UpdateVnfManagementV6Address_di" bpmnElement="UpdateVnfManagementV6Address">
170 <dc:Bounds x="622" y="332" width="100" height="80" />
172 <bpmndi:BPMNShape id="UpdateVfModuleContrailServiceInstanceFqdn_di" bpmnElement="UpdateVfModuleContrailServiceInstanceFqdn">
173 <dc:Bounds x="770" y="332" width="100" height="80" />
175 <bpmndi:BPMNShape id="CnfAdapter_di" bpmnElement="CnfAdapter">
176 <dc:Bounds x="680" y="80" width="100" height="80" />
178 <bpmndi:BPMNShape id="Activity_10eqhmz_di" bpmnElement="Activity_10eqhmz" isExpanded="true">
179 <dc:Bounds x="216" y="494" width="340" height="180" />
181 <bpmndi:BPMNEdge id="Flow_1sqy91r_di" bpmnElement="Flow_1sqy91r">
182 <di:waypoint x="292" y="584" />
183 <di:waypoint x="336" y="584" />
185 <bpmndi:BPMNEdge id="Flow_03q6ty9_di" bpmnElement="Flow_03q6ty9">
186 <di:waypoint x="436" y="584" />
187 <di:waypoint x="488" y="584" />
189 <bpmndi:BPMNShape id="Event_108oetk_di" bpmnElement="Event_108oetk">
190 <dc:Bounds x="488" y="566" width="36" height="36" />
192 <bpmndi:BPMNShape id="Activity_1p8hxyt_di" bpmnElement="Activity_1p8hxyt">
193 <dc:Bounds x="336" y="544" width="100" height="80" />
195 <bpmndi:BPMNShape id="Event_13ssqoq_di" bpmnElement="Event_1pengt4">
196 <dc:Bounds x="256" y="566" width="36" height="36" />
198 <bpmndi:BPMNShape id="UpdateCnfAai_di" bpmnElement="UpdateCnfAai">
199 <dc:Bounds x="870" y="80" width="100" height="80" />
201 <bpmndi:BPMNShape id="aaiThrow_di" bpmnElement="aaiThrow">
202 <dc:Bounds x="1062" y="102" width="36" height="36" />
204 <dc:Bounds x="1051" y="148" width="57" height="14" />
207 <bpmndi:BPMNShape id="aaiCatch_di" bpmnElement="aaiCatch">
208 <dc:Bounds x="172" y="354" width="36" height="36" />
210 <dc:Bounds x="162" y="394" width="57" height="14" />
214 </bpmndi:BPMNDiagram>