Merge "write update status of BBs progress"
[so.git] / bpmn / so-bpmn-building-blocks / src / main / resources / subprocess / BuildingBlock / DeleteVfModuleBB.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.4.0">
3   <bpmn:process id="DeleteVfModuleBB" name="Start" isExecutable="true">
4     <bpmn:startEvent id="DeleteVfModuleBB_Start" name="Start">
5       <bpmn:outgoing>SequenceFlow_1537yw5</bpmn:outgoing>
6     </bpmn:startEvent>
7     <bpmn:serviceTask id="DeleteVfModuleVnfAdapter" name="Delete Vf Module VnfAdapter" camunda:expression="${VnfAdapterDeleteTasks.deleteVfModule(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
8       <bpmn:incoming>SequenceFlow_1537yw5</bpmn:incoming>
9       <bpmn:outgoing>SequenceFlow_08tvhtf</bpmn:outgoing>
10     </bpmn:serviceTask>
11     <bpmn:sequenceFlow id="SequenceFlow_1537yw5" sourceRef="DeleteVfModuleBB_Start" targetRef="DeleteVfModuleVnfAdapter" />
12     <bpmn:serviceTask id="UpdateVfModuleDeleteStatus" name="Update OStatus (AAI)" camunda:expression="${AAIUpdateTasks.updateOrchestrationStatusDeleteVfModule(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
13       <bpmn:incoming>SequenceFlow_02lpx87</bpmn:incoming>
14       <bpmn:outgoing>SequenceFlow_1mxrfqv</bpmn:outgoing>
15     </bpmn:serviceTask>
16     <bpmn:sequenceFlow id="SequenceFlow_08tvhtf" sourceRef="DeleteVfModuleVnfAdapter" targetRef="VnfAdapter" />
17     <bpmn:endEvent id="DeleteVfModuleBB_End" name="End">
18       <bpmn:incoming>SequenceFlow_1mxrfqv</bpmn:incoming>
19     </bpmn:endEvent>
20     <bpmn:sequenceFlow id="SequenceFlow_1mxrfqv" sourceRef="UpdateVfModuleDeleteStatus" targetRef="DeleteVfModuleBB_End" />
21     <bpmn:callActivity id="VnfAdapter" name="Vnf Adapter" calledElement="VnfAdapter">
22       <bpmn:extensionElements>
23         <camunda:in source="gBuildingBlockExecution" target="gBuildingBlockExecution" />
24         <camunda:out source="WorkflowException" target="WorkflowException" />
25         <camunda:in source="deleteVfModuleRequest" target="deleteVfModuleRequest" />
26         <camunda:in source="VNFREST_Request" target="VNFREST_Request" />
27         <camunda:out source="heatStackId" target="heatStackId" />
28       </bpmn:extensionElements>
29       <bpmn:incoming>SequenceFlow_08tvhtf</bpmn:incoming>
30       <bpmn:outgoing>SequenceFlow_02lpx87</bpmn:outgoing>
31     </bpmn:callActivity>
32     <bpmn:sequenceFlow id="SequenceFlow_02lpx87" sourceRef="VnfAdapter" targetRef="UpdateVfModuleDeleteStatus" />
33   </bpmn:process>
34   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
35     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DeleteVfModuleBB">
36       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="DeleteVfModuleBB_Start">
37         <dc:Bounds x="173" y="102" width="36" height="36" />
38         <bpmndi:BPMNLabel>
39           <dc:Bounds x="179" y="138" width="24" height="12" />
40         </bpmndi:BPMNLabel>
41       </bpmndi:BPMNShape>
42       <bpmndi:BPMNShape id="ServiceTask_16798zf_di" bpmnElement="DeleteVfModuleVnfAdapter">
43         <dc:Bounds x="261" y="80" width="100" height="80" />
44       </bpmndi:BPMNShape>
45       <bpmndi:BPMNEdge id="SequenceFlow_1537yw5_di" bpmnElement="SequenceFlow_1537yw5">
46         <di:waypoint xsi:type="dc:Point" x="209" y="120" />
47         <di:waypoint xsi:type="dc:Point" x="261" y="120" />
48         <bpmndi:BPMNLabel>
49           <dc:Bounds x="190" y="99" width="90" height="12" />
50         </bpmndi:BPMNLabel>
51       </bpmndi:BPMNEdge>
52       <bpmndi:BPMNShape id="ServiceTask_0pbhsub_di" bpmnElement="UpdateVfModuleDeleteStatus">
53         <dc:Bounds x="593" y="80" width="100" height="80" />
54       </bpmndi:BPMNShape>
55       <bpmndi:BPMNEdge id="SequenceFlow_08tvhtf_di" bpmnElement="SequenceFlow_08tvhtf">
56         <di:waypoint xsi:type="dc:Point" x="361" y="120" />
57         <di:waypoint xsi:type="dc:Point" x="427" y="120" />
58         <bpmndi:BPMNLabel>
59           <dc:Bounds x="349" y="99" width="90" height="12" />
60         </bpmndi:BPMNLabel>
61       </bpmndi:BPMNEdge>
62       <bpmndi:BPMNShape id="EndEvent_1rn6yvh_di" bpmnElement="DeleteVfModuleBB_End">
63         <dc:Bounds x="746" y="102" width="36" height="36" />
64         <bpmndi:BPMNLabel>
65           <dc:Bounds x="754" y="142" width="19" height="12" />
66         </bpmndi:BPMNLabel>
67       </bpmndi:BPMNShape>
68       <bpmndi:BPMNEdge id="SequenceFlow_1mxrfqv_di" bpmnElement="SequenceFlow_1mxrfqv">
69         <di:waypoint xsi:type="dc:Point" x="693" y="120" />
70         <di:waypoint xsi:type="dc:Point" x="746" y="120" />
71         <bpmndi:BPMNLabel>
72           <dc:Bounds x="674.5" y="99" width="90" height="12" />
73         </bpmndi:BPMNLabel>
74       </bpmndi:BPMNEdge>
75       <bpmndi:BPMNShape id="CallActivity_0whogn3_di" bpmnElement="VnfAdapter">
76         <dc:Bounds x="427" y="80" width="100" height="80" />
77       </bpmndi:BPMNShape>
78       <bpmndi:BPMNEdge id="SequenceFlow_02lpx87_di" bpmnElement="SequenceFlow_02lpx87">
79         <di:waypoint xsi:type="dc:Point" x="527" y="120" />
80         <di:waypoint xsi:type="dc:Point" x="593" y="120" />
81         <bpmndi:BPMNLabel>
82           <dc:Bounds x="560" y="99" width="0" height="12" />
83         </bpmndi:BPMNLabel>
84       </bpmndi:BPMNEdge>
85     </bpmndi:BPMNPlane>
86   </bpmndi:BPMNDiagram>
87 </bpmn:definitions>