Merge "added check for null object"
[so.git] / bpmn / so-bpmn-building-blocks / src / main / resources / subprocess / BuildingBlock / DeactivateVnfBB.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="DeactivateVnfBB" name="DeactivateVnfBB" isExecutable="true">
4     <bpmn:startEvent id="Start_DeactivateVnfBB" name="start">
5       <bpmn:outgoing>SequenceFlow_0k9qnoi</bpmn:outgoing>
6     </bpmn:startEvent>
7     <bpmn:sequenceFlow id="SequenceFlow_0k9qnoi" sourceRef="Start_DeactivateVnfBB" targetRef="Task_SDNCAdapterVnfTopologyDeactivate" />
8     <bpmn:endEvent id="End_DeactivateVnfBB" name="end">
9       <bpmn:incoming>SequenceFlow_0vnitwg</bpmn:incoming>
10     </bpmn:endEvent>
11     <bpmn:sequenceFlow id="SequenceFlow_0vnitwg" sourceRef="Task_DeactivateOrchestrationStatusVnf" targetRef="End_DeactivateVnfBB" />
12     <bpmn:serviceTask id="Task_SDNCAdapterVnfTopologyDeactivate" name="&#10;SDNC Deactivate&#10;(vnf)&#10;" camunda:expression="${SDNCDeactivateTasks.deactivateVnf(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
13       <bpmn:incoming>SequenceFlow_0k9qnoi</bpmn:incoming>
14       <bpmn:outgoing>SequenceFlow_000o6c2</bpmn:outgoing>
15     </bpmn:serviceTask>
16     <bpmn:serviceTask id="Task_DeactivateOrchestrationStatusVnf" name="&#10;AAI &#10;Update&#10;(vnf)&#10;" camunda:expression="${AAIUpdateTasks.updateOrchestrationStatusAssignedVnf(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
17       <bpmn:incoming>SequenceFlow_1ageldf</bpmn:incoming>
18       <bpmn:outgoing>SequenceFlow_0vnitwg</bpmn:outgoing>
19     </bpmn:serviceTask>
20     <bpmn:callActivity id="CallActivity_sdncHandler" name="SDNC Deactivate (vnf)" calledElement="SDNCHandler">
21       <bpmn:extensionElements>
22         <camunda:in source="SDNCRequest" target="SDNCRequest" />
23         <camunda:out source="SDNCResponse" target="SDNCResponse" />
24       </bpmn:extensionElements>
25       <bpmn:incoming>SequenceFlow_000o6c2</bpmn:incoming>
26       <bpmn:outgoing>SequenceFlow_1ageldf</bpmn:outgoing>
27     </bpmn:callActivity>
28     <bpmn:sequenceFlow id="SequenceFlow_000o6c2" sourceRef="Task_SDNCAdapterVnfTopologyDeactivate" targetRef="CallActivity_sdncHandler" />
29     <bpmn:sequenceFlow id="SequenceFlow_1ageldf" sourceRef="CallActivity_sdncHandler" targetRef="Task_DeactivateOrchestrationStatusVnf" />
30   </bpmn:process>
31   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
32     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DeactivateVnfBB">
33       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="Start_DeactivateVnfBB">
34         <dc:Bounds x="173" y="102" width="36" height="36" />
35         <bpmndi:BPMNLabel>
36           <dc:Bounds x="179" y="138" width="24" height="12" />
37         </bpmndi:BPMNLabel>
38       </bpmndi:BPMNShape>
39       <bpmndi:BPMNEdge id="SequenceFlow_0k9qnoi_di" bpmnElement="SequenceFlow_0k9qnoi">
40         <di:waypoint xsi:type="dc:Point" x="209" y="120" />
41         <di:waypoint xsi:type="dc:Point" x="263" y="120" />
42         <bpmndi:BPMNLabel>
43           <dc:Bounds x="236" y="99" width="0" height="12" />
44         </bpmndi:BPMNLabel>
45       </bpmndi:BPMNEdge>
46       <bpmndi:BPMNShape id="EndEvent_1ad7eym_di" bpmnElement="End_DeactivateVnfBB">
47         <dc:Bounds x="753" y="102" width="36" height="36" />
48         <bpmndi:BPMNLabel>
49           <dc:Bounds x="762" y="142" width="18" height="12" />
50         </bpmndi:BPMNLabel>
51       </bpmndi:BPMNShape>
52       <bpmndi:BPMNEdge id="SequenceFlow_0vnitwg_di" bpmnElement="SequenceFlow_0vnitwg">
53         <di:waypoint xsi:type="dc:Point" x="708" y="120" />
54         <di:waypoint xsi:type="dc:Point" x="753" y="120" />
55         <bpmndi:BPMNLabel>
56           <dc:Bounds x="685.5" y="99" width="90" height="12" />
57         </bpmndi:BPMNLabel>
58       </bpmndi:BPMNEdge>
59       <bpmndi:BPMNShape id="ServiceTask_1k98q3r_di" bpmnElement="Task_SDNCAdapterVnfTopologyDeactivate">
60         <dc:Bounds x="263" y="80" width="100" height="80" />
61       </bpmndi:BPMNShape>
62       <bpmndi:BPMNShape id="ServiceTask_1vg25fs_di" bpmnElement="Task_DeactivateOrchestrationStatusVnf">
63         <dc:Bounds x="608" y="80" width="100" height="80" />
64       </bpmndi:BPMNShape>
65       <bpmndi:BPMNShape id="CallActivity_1t6shsw_di" bpmnElement="CallActivity_sdncHandler">
66         <dc:Bounds x="431" y="80" width="100" height="80" />
67       </bpmndi:BPMNShape>
68       <bpmndi:BPMNEdge id="SequenceFlow_000o6c2_di" bpmnElement="SequenceFlow_000o6c2">
69         <di:waypoint xsi:type="dc:Point" x="363" y="120" />
70         <di:waypoint xsi:type="dc:Point" x="431" y="120" />
71         <bpmndi:BPMNLabel>
72           <dc:Bounds x="397" y="99" width="0" height="12" />
73         </bpmndi:BPMNLabel>
74       </bpmndi:BPMNEdge>
75       <bpmndi:BPMNEdge id="SequenceFlow_1ageldf_di" bpmnElement="SequenceFlow_1ageldf">
76         <di:waypoint xsi:type="dc:Point" x="531" y="120" />
77         <di:waypoint xsi:type="dc:Point" x="608" y="120" />
78         <bpmndi:BPMNLabel>
79           <dc:Bounds x="569.5" y="99" width="0" height="12" />
80         </bpmndi:BPMNLabel>
81       </bpmndi:BPMNEdge>
82     </bpmndi:BPMNPlane>
83   </bpmndi:BPMNDiagram>
84 </bpmn:definitions>