Merge "Added fix for potential nullpointerexception"
[so.git] / bpmn / so-bpmn-building-blocks / src / main / resources / subprocess / BuildingBlock / DeleteVolumeGroupBB.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="DeleteVolumeGroupBB" name="DeleteVolumeGroupBB" isExecutable="true">
4     <bpmn:startEvent id="DeleteVolumeGroupBB_Start" name="Start">
5       <bpmn:outgoing>SequenceFlow_1wz1rfg</bpmn:outgoing>
6     </bpmn:startEvent>
7     <bpmn:sequenceFlow id="SequenceFlow_1wz1rfg" sourceRef="DeleteVolumeGroupBB_Start" targetRef="DeleteVolumeGroupVnfAdapter" />
8     <bpmn:endEvent id="DeleteVolumeGroupBB_End">
9       <bpmn:incoming>SequenceFlow_0mh0v9h</bpmn:incoming>
10     </bpmn:endEvent>
11     <bpmn:serviceTask id="UpdateVolumeGroupAAI" name="&#10;AAI&#10;Update&#10;(volume grp)&#10;" camunda:expression="${AAIUpdateTasks.updateOrchestrationStatusAssignedVolumeGroup(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
12       <bpmn:incoming>SequenceFlow_0fkan8t</bpmn:incoming>
13       <bpmn:outgoing>SequenceFlow_0mh0v9h</bpmn:outgoing>
14     </bpmn:serviceTask>
15     <bpmn:sequenceFlow id="SequenceFlow_0mh0v9h" sourceRef="UpdateVolumeGroupAAI" targetRef="DeleteVolumeGroupBB_End" />
16     <bpmn:sequenceFlow id="SequenceFlow_13ngwev" sourceRef="DeleteVolumeGroupVnfAdapter" targetRef="VnfAdapter" />
17     <bpmn:serviceTask id="DeleteVolumeGroupVnfAdapter" name="Delete Volume Group Vnf Adapter (AIC Delete)" camunda:expression="${VnfAdapterDeleteTasks.deleteVolumeGroup(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
18       <bpmn:incoming>SequenceFlow_1wz1rfg</bpmn:incoming>
19       <bpmn:outgoing>SequenceFlow_13ngwev</bpmn:outgoing>
20     </bpmn:serviceTask>
21     <bpmn:sequenceFlow id="SequenceFlow_0fkan8t" sourceRef="VnfAdapter" targetRef="UpdateVolumeGroupAAI" />
22     <bpmn:callActivity id="VnfAdapter" name="Vnf Adapter" calledElement="VnfAdapter">
23       <bpmn:extensionElements>
24         <camunda:in source="gBuildingBlockExecution" target="gBuildingBlockExecution" />
25         <camunda:inputOutput>
26           <camunda:outputParameter name="Output_3bec9ju" />
27         </camunda:inputOutput>
28         <camunda:out source="WorkflowException" target="WorkflowException" />
29         <camunda:out source="heatStackId" target="heatStackId" />
30         <camunda:in source="deleteVolumeGroupRequest" target="deleteVolumeGroupRequest" />
31         <camunda:in source="VNFREST_Request" target="VNFREST_Request" />
32       </bpmn:extensionElements>
33       <bpmn:incoming>SequenceFlow_13ngwev</bpmn:incoming>
34       <bpmn:outgoing>SequenceFlow_0fkan8t</bpmn:outgoing>
35     </bpmn:callActivity>
36     <bpmn:subProcess id="SubProcess_089t601" name="Sub Process Error" triggeredByEvent="true">
37       <bpmn:endEvent id="EndEvent_18lpeyi" name="End">
38         <bpmn:incoming>SequenceFlow_07rsz9o</bpmn:incoming>
39       </bpmn:endEvent>
40       <bpmn:startEvent id="StartEvent_1gun94q" name="Start">
41         <bpmn:outgoing>SequenceFlow_07rsz9o</bpmn:outgoing>
42         <bpmn:errorEventDefinition />
43       </bpmn:startEvent>
44       <bpmn:sequenceFlow id="SequenceFlow_07rsz9o" sourceRef="StartEvent_1gun94q" targetRef="EndEvent_18lpeyi" />
45     </bpmn:subProcess>
46   </bpmn:process>
47   <bpmn:error id="Error_0pz4sdi" name="gDelegateError" errorCode="7000" />
48   <bpmn:escalation id="Escalation_1hjulni" name="Escalation_2cgup2p" />
49   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
50     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DeleteVolumeGroupBB">
51       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="DeleteVolumeGroupBB_Start">
52         <dc:Bounds x="310" y="102" width="36" height="36" />
53         <bpmndi:BPMNLabel>
54           <dc:Bounds x="316" y="138" width="24" height="12" />
55         </bpmndi:BPMNLabel>
56       </bpmndi:BPMNShape>
57       <bpmndi:BPMNEdge id="SequenceFlow_1wz1rfg_di" bpmnElement="SequenceFlow_1wz1rfg">
58         <di:waypoint xsi:type="dc:Point" x="346" y="120" />
59         <di:waypoint xsi:type="dc:Point" x="388" y="120" />
60         <bpmndi:BPMNLabel>
61           <dc:Bounds x="322" y="99" width="90" height="12" />
62         </bpmndi:BPMNLabel>
63       </bpmndi:BPMNEdge>
64       <bpmndi:BPMNShape id="EndEvent_1k6463v_di" bpmnElement="DeleteVolumeGroupBB_End">
65         <dc:Bounds x="824" y="102" width="36" height="36" />
66         <bpmndi:BPMNLabel>
67           <dc:Bounds x="842" y="142" width="0" height="0" />
68         </bpmndi:BPMNLabel>
69       </bpmndi:BPMNShape>
70       <bpmndi:BPMNShape id="ServiceTask_0rytcj0_di" bpmnElement="UpdateVolumeGroupAAI">
71         <dc:Bounds x="665" y="80" width="100" height="80" />
72       </bpmndi:BPMNShape>
73       <bpmndi:BPMNEdge id="SequenceFlow_0mh0v9h_di" bpmnElement="SequenceFlow_0mh0v9h">
74         <di:waypoint xsi:type="dc:Point" x="765" y="120" />
75         <di:waypoint xsi:type="dc:Point" x="824" y="120" />
76         <bpmndi:BPMNLabel>
77           <dc:Bounds x="795" y="99" width="0" height="0" />
78         </bpmndi:BPMNLabel>
79       </bpmndi:BPMNEdge>
80       <bpmndi:BPMNEdge id="SequenceFlow_13ngwev_di" bpmnElement="SequenceFlow_13ngwev">
81         <di:waypoint xsi:type="dc:Point" x="488" y="120" />
82         <di:waypoint xsi:type="dc:Point" x="526" y="120" />
83         <bpmndi:BPMNLabel>
84           <dc:Bounds x="507" y="105" width="0" height="0" />
85         </bpmndi:BPMNLabel>
86       </bpmndi:BPMNEdge>
87       <bpmndi:BPMNShape id="ServiceTask_1nrp0hb_di" bpmnElement="DeleteVolumeGroupVnfAdapter">
88         <dc:Bounds x="388" y="80" width="100" height="80" />
89       </bpmndi:BPMNShape>
90       <bpmndi:BPMNEdge id="SequenceFlow_0fkan8t_di" bpmnElement="SequenceFlow_0fkan8t">
91         <di:waypoint xsi:type="dc:Point" x="626" y="120" />
92         <di:waypoint xsi:type="dc:Point" x="665" y="120" />
93         <bpmndi:BPMNLabel>
94           <dc:Bounds x="646" y="105" width="0" height="0" />
95         </bpmndi:BPMNLabel>
96       </bpmndi:BPMNEdge>
97       <bpmndi:BPMNShape id="CallActivity_0li7q97_di" bpmnElement="VnfAdapter">
98         <dc:Bounds x="526" y="80" width="100" height="80" />
99       </bpmndi:BPMNShape>
100       <bpmndi:BPMNShape id="SubProcess_089t601_di" bpmnElement="SubProcess_089t601" isExpanded="true">
101         <dc:Bounds x="459" y="242" width="233" height="135" />
102       </bpmndi:BPMNShape>
103       <bpmndi:BPMNShape id="EndEvent_18lpeyi_di" bpmnElement="EndEvent_18lpeyi">
104         <dc:Bounds x="613" y="287" width="36" height="36" />
105         <bpmndi:BPMNLabel>
106           <dc:Bounds x="622" y="327" width="19" height="12" />
107         </bpmndi:BPMNLabel>
108       </bpmndi:BPMNShape>
109       <bpmndi:BPMNShape id="StartEvent_1gun94q_di" bpmnElement="StartEvent_1gun94q">
110         <dc:Bounds x="498" y="287" width="36" height="36" />
111         <bpmndi:BPMNLabel>
112           <dc:Bounds x="505" y="327" width="24" height="12" />
113         </bpmndi:BPMNLabel>
114       </bpmndi:BPMNShape>
115       <bpmndi:BPMNEdge id="SequenceFlow_07rsz9o_di" bpmnElement="SequenceFlow_07rsz9o">
116         <di:waypoint xsi:type="dc:Point" x="534" y="305" />
117         <di:waypoint xsi:type="dc:Point" x="573" y="305" />
118         <di:waypoint xsi:type="dc:Point" x="573" y="305" />
119         <di:waypoint xsi:type="dc:Point" x="613" y="305" />
120         <bpmndi:BPMNLabel>
121           <dc:Bounds x="543" y="305" width="0" height="12" />
122         </bpmndi:BPMNLabel>
123       </bpmndi:BPMNEdge>
124     </bpmndi:BPMNPlane>
125   </bpmndi:BPMNDiagram>
126 </bpmn:definitions>