Fixing NullPointerException thrown by EtsiVnfDeleteBB
[so.git] / bpmn / so-bpmn-building-blocks / src / main / resources / subprocess / BuildingBlock / CreateVolumeGroupBB.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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.10.0">
3   <bpmn:process id="CreateVolumeGroupBB" name="CreateVolumeGroupBB" isExecutable="true">
4     <bpmn:startEvent id="CreateVolumeGroupBB_Start" name="Start">
5       <bpmn:outgoing>SequenceFlow_1wz1rfg</bpmn:outgoing>
6     </bpmn:startEvent>
7     <bpmn:sequenceFlow id="SequenceFlow_1wz1rfg" sourceRef="CreateVolumeGroupBB_Start" targetRef="QueryVfModuleSDNC" />
8     <bpmn:endEvent id="CreateVolumeGroupBB_End">
9       <bpmn:incoming>SequenceFlow_0mh0v9h</bpmn:incoming>
10     </bpmn:endEvent>
11     <bpmn:serviceTask id="CreateVolumeGroupVnfAdapter" name="Create Request" camunda:expression="${VnfAdapterCreateTasks.createVolumeGroupRequest(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
12       <bpmn:incoming>SequenceFlow_06q6g74</bpmn:incoming>
13       <bpmn:outgoing>SequenceFlow_0kfkpbh</bpmn:outgoing>
14     </bpmn:serviceTask>
15     <bpmn:sequenceFlow id="SequenceFlow_0kfkpbh" sourceRef="CreateVolumeGroupVnfAdapter" targetRef="Vnf_Adapter" />
16     <bpmn:serviceTask id="UpdateVolumeGroupAAI" name="&#10;AAI&#10;Update&#10;(volume)&#10;" camunda:expression="${AAIUpdateTasks.updateOrchestrationStatusCreatedVolumeGroup(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
17       <bpmn:incoming>SequenceFlow_1d5nux2</bpmn:incoming>
18       <bpmn:outgoing>SequenceFlow_0mh0v9h</bpmn:outgoing>
19     </bpmn:serviceTask>
20     <bpmn:sequenceFlow id="SequenceFlow_0mh0v9h" sourceRef="UpdateVolumeGroupAAI" targetRef="CreateVolumeGroupBB_End" />
21     <bpmn:serviceTask id="QueryVfModuleSDNC" name="&#10;SDNC&#10;Get&#10;(vnf)&#10;" camunda:expression="${SDNCQueryTasks.queryVfModuleForVolumeGroup(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
22       <bpmn:incoming>SequenceFlow_1wz1rfg</bpmn:incoming>
23       <bpmn:outgoing>SequenceFlow_06q6g74</bpmn:outgoing>
24     </bpmn:serviceTask>
25     <bpmn:sequenceFlow id="SequenceFlow_06q6g74" sourceRef="QueryVfModuleSDNC" targetRef="CreateVolumeGroupVnfAdapter" />
26     <bpmn:callActivity id="Vnf_Adapter" name="Vnf Adapter" calledElement="VnfAdapter">
27       <bpmn:extensionElements>
28         <camunda:in source="gBuildingBlockExecution" target="gBuildingBlockExecution" />
29         <camunda:out source="WorkflowException" target="WorkflowException" />
30         <camunda:in source="VNFREST_Request" target="VNFREST_Request" />
31         <camunda:out source="heatStackId" target="heatStackId" />
32       </bpmn:extensionElements>
33       <bpmn:incoming>SequenceFlow_0kfkpbh</bpmn:incoming>
34       <bpmn:outgoing>SequenceFlow_06flg6h</bpmn:outgoing>
35     </bpmn:callActivity>
36     <bpmn:sequenceFlow id="SequenceFlow_06flg6h" sourceRef="Vnf_Adapter" targetRef="UpdateVolumeGroupHeatStackId" />
37     <bpmn:sequenceFlow id="SequenceFlow_1d5nux2" sourceRef="UpdateVolumeGroupHeatStackId" targetRef="UpdateVolumeGroupAAI" />
38     <bpmn:serviceTask id="UpdateVolumeGroupHeatStackId" name="&#10;AAI&#10;Update&#10;(volume)&#10;" camunda:expression="${AAIUpdateTasks.updateHeatStackIdVolumeGroup(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
39       <bpmn:incoming>SequenceFlow_06flg6h</bpmn:incoming>
40       <bpmn:outgoing>SequenceFlow_1d5nux2</bpmn:outgoing>
41     </bpmn:serviceTask>
42     <bpmn:subProcess id="SubProcess_14koudj" name="Error Handling&#10;&#10;" triggeredByEvent="true">
43       <bpmn:startEvent id="StartEvent_1f7qpgu">
44         <bpmn:outgoing>SequenceFlow_1wtq4y7</bpmn:outgoing>
45         <bpmn:errorEventDefinition />
46       </bpmn:startEvent>
47       <bpmn:endEvent id="EndEvent_0zycnsk">
48         <bpmn:incoming>SequenceFlow_1wtq4y7</bpmn:incoming>
49         <bpmn:terminateEventDefinition />
50       </bpmn:endEvent>
51       <bpmn:sequenceFlow id="SequenceFlow_1wtq4y7" sourceRef="StartEvent_1f7qpgu" targetRef="EndEvent_0zycnsk" />
52     </bpmn:subProcess>
53   </bpmn:process>
54   <bpmn:error id="Error_0pz4sdi" name="gDelegateError" errorCode="7000" />
55   <bpmn:escalation id="Escalation_1hjulni" name="Escalation_2cgup2p" />
56   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
57     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="CreateVolumeGroupBB">
58       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="CreateVolumeGroupBB_Start">
59         <dc:Bounds x="237" y="102" width="36" height="36" />
60         <bpmndi:BPMNLabel>
61           <dc:Bounds x="243" y="138" width="24" height="12" />
62         </bpmndi:BPMNLabel>
63       </bpmndi:BPMNShape>
64       <bpmndi:BPMNEdge id="SequenceFlow_1wz1rfg_di" bpmnElement="SequenceFlow_1wz1rfg">
65         <di:waypoint xsi:type="dc:Point" x="273" y="120" />
66         <di:waypoint xsi:type="dc:Point" x="326" y="120" />
67         <bpmndi:BPMNLabel>
68           <dc:Bounds x="254.5" y="99" width="90" height="12" />
69         </bpmndi:BPMNLabel>
70       </bpmndi:BPMNEdge>
71       <bpmndi:BPMNShape id="EndEvent_1k6463v_di" bpmnElement="CreateVolumeGroupBB_End">
72         <dc:Bounds x="1063" y="102" width="36" height="36" />
73         <bpmndi:BPMNLabel>
74           <dc:Bounds x="1081" y="142" width="0" height="0" />
75         </bpmndi:BPMNLabel>
76       </bpmndi:BPMNShape>
77       <bpmndi:BPMNShape id="ServiceTask_01zmebl_di" bpmnElement="CreateVolumeGroupVnfAdapter">
78         <dc:Bounds x="476" y="80" width="100" height="80" />
79       </bpmndi:BPMNShape>
80       <bpmndi:BPMNEdge id="SequenceFlow_0kfkpbh_di" bpmnElement="SequenceFlow_0kfkpbh">
81         <di:waypoint xsi:type="dc:Point" x="576" y="120" />
82         <di:waypoint xsi:type="dc:Point" x="629" y="120" />
83         <bpmndi:BPMNLabel>
84           <dc:Bounds x="557.5" y="99" width="90" height="12" />
85         </bpmndi:BPMNLabel>
86       </bpmndi:BPMNEdge>
87       <bpmndi:BPMNShape id="ServiceTask_0rytcj0_di" bpmnElement="UpdateVolumeGroupAAI">
88         <dc:Bounds x="929" y="80" width="100" height="80" />
89       </bpmndi:BPMNShape>
90       <bpmndi:BPMNEdge id="SequenceFlow_0mh0v9h_di" bpmnElement="SequenceFlow_0mh0v9h">
91         <di:waypoint xsi:type="dc:Point" x="1029" y="120" />
92         <di:waypoint xsi:type="dc:Point" x="1063" y="120" />
93         <bpmndi:BPMNLabel>
94           <dc:Bounds x="1046" y="105" width="0" height="0" />
95         </bpmndi:BPMNLabel>
96       </bpmndi:BPMNEdge>
97       <bpmndi:BPMNShape id="ServiceTask_1wythmn_di" bpmnElement="QueryVfModuleSDNC">
98         <dc:Bounds x="326" y="80" width="100" height="80" />
99       </bpmndi:BPMNShape>
100       <bpmndi:BPMNEdge id="SequenceFlow_06q6g74_di" bpmnElement="SequenceFlow_06q6g74">
101         <di:waypoint xsi:type="dc:Point" x="426" y="120" />
102         <di:waypoint xsi:type="dc:Point" x="476" y="120" />
103         <bpmndi:BPMNLabel>
104           <dc:Bounds x="451" y="99" width="0" height="12" />
105         </bpmndi:BPMNLabel>
106       </bpmndi:BPMNEdge>
107       <bpmndi:BPMNShape id="CallActivity_1220w7e_di" bpmnElement="Vnf_Adapter">
108         <dc:Bounds x="629" y="80" width="100" height="80" />
109       </bpmndi:BPMNShape>
110       <bpmndi:BPMNEdge id="SequenceFlow_06flg6h_di" bpmnElement="SequenceFlow_06flg6h">
111         <di:waypoint xsi:type="dc:Point" x="729" y="120" />
112         <di:waypoint xsi:type="dc:Point" x="774" y="120" />
113         <bpmndi:BPMNLabel>
114           <dc:Bounds x="752" y="105" width="0" height="0" />
115         </bpmndi:BPMNLabel>
116       </bpmndi:BPMNEdge>
117       <bpmndi:BPMNEdge id="SequenceFlow_1d5nux2_di" bpmnElement="SequenceFlow_1d5nux2">
118         <di:waypoint xsi:type="dc:Point" x="874" y="120" />
119         <di:waypoint xsi:type="dc:Point" x="929" y="120" />
120         <bpmndi:BPMNLabel>
121           <dc:Bounds x="902" y="105" width="0" height="0" />
122         </bpmndi:BPMNLabel>
123       </bpmndi:BPMNEdge>
124       <bpmndi:BPMNShape id="ServiceTask_0m035ns_di" bpmnElement="UpdateVolumeGroupHeatStackId">
125         <dc:Bounds x="774" y="80" width="100" height="80" />
126       </bpmndi:BPMNShape>
127       <bpmndi:BPMNShape id="SubProcess_14koudj_di" bpmnElement="SubProcess_14koudj" isExpanded="true">
128         <dc:Bounds x="310" y="264" width="231" height="135" />
129       </bpmndi:BPMNShape>
130       <bpmndi:BPMNShape id="StartEvent_1f7qpgu_di" bpmnElement="StartEvent_1f7qpgu">
131         <dc:Bounds x="350" y="323" width="36" height="36" />
132         <bpmndi:BPMNLabel>
133           <dc:Bounds x="323" y="359" width="0" height="12" />
134         </bpmndi:BPMNLabel>
135       </bpmndi:BPMNShape>
136       <bpmndi:BPMNShape id="EndEvent_0zycnsk_di" bpmnElement="EndEvent_0zycnsk">
137         <dc:Bounds x="487" y="323" width="36" height="36" />
138         <bpmndi:BPMNLabel>
139           <dc:Bounds x="460" y="359" width="0" height="12" />
140         </bpmndi:BPMNLabel>
141       </bpmndi:BPMNShape>
142       <bpmndi:BPMNEdge id="SequenceFlow_1wtq4y7_di" bpmnElement="SequenceFlow_1wtq4y7">
143         <di:waypoint xsi:type="dc:Point" x="386" y="341" />
144         <di:waypoint xsi:type="dc:Point" x="487" y="341" />
145         <bpmndi:BPMNLabel>
146           <dc:Bounds x="436.5" y="320" width="0" height="12" />
147         </bpmndi:BPMNLabel>
148       </bpmndi:BPMNEdge>
149     </bpmndi:BPMNPlane>
150   </bpmndi:BPMNDiagram>
151 </bpmn:definitions>