Containerization feature of SO
[so.git] / bpmn / so-bpmn-building-blocks / src / main / resources / subprocess / BuildingBlock / VnfAdapter.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.10.0">
3   <bpmn:process id="VnfAdapter" name="Vnf Adapter" isExecutable="true">
4     <bpmn:startEvent id="VnfAdapter_Start" name="Start">
5       <bpmn:outgoing>SequenceFlow_1xr6chl</bpmn:outgoing>
6     </bpmn:startEvent>
7     <bpmn:subProcess id="VnfAdapter_Error" name="Sub Process Error" triggeredByEvent="true">
8       <bpmn:endEvent id="Error_End" name="End">
9         <bpmn:incoming>SequenceFlow_1abat8l</bpmn:incoming>
10       </bpmn:endEvent>
11       <bpmn:startEvent id="Error_Start" name="Start">
12         <bpmn:outgoing>SequenceFlow_1abat8l</bpmn:outgoing>
13         <bpmn:errorEventDefinition />
14       </bpmn:startEvent>
15       <bpmn:sequenceFlow id="SequenceFlow_1abat8l" sourceRef="Error_Start" targetRef="Error_End" />
16     </bpmn:subProcess>
17     <bpmn:sequenceFlow id="SequenceFlow_1xr6chl" sourceRef="VnfAdapter_Start" targetRef="PreProcessRequest" />
18     <bpmn:endEvent id="VnfAdapter_End" name="End">
19       <bpmn:incoming>SequenceFlow_1ivhukd</bpmn:incoming>
20     </bpmn:endEvent>
21     <bpmn:serviceTask id="PreProcessRequest" name="Pre Process Request" camunda:expression="${VnfAdapterImpl.preProcessVnfAdapter(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
22       <bpmn:incoming>SequenceFlow_1xr6chl</bpmn:incoming>
23       <bpmn:outgoing>SequenceFlow_0qaaf5k</bpmn:outgoing>
24     </bpmn:serviceTask>
25     <bpmn:serviceTask id="PostProcessResponse" name="Post Process Response" camunda:expression="${VnfAdapterImpl.postProcessVnfAdapter(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
26       <bpmn:incoming>SequenceFlow_0j1zvis</bpmn:incoming>
27       <bpmn:outgoing>SequenceFlow_1ivhukd</bpmn:outgoing>
28     </bpmn:serviceTask>
29     <bpmn:sequenceFlow id="SequenceFlow_1ivhukd" sourceRef="PostProcessResponse" targetRef="VnfAdapter_End" />
30     <bpmn:callActivity id="Call_vnfAdapterRestV1" name="Call vnfAdapterRestV1" calledElement="vnfAdapterRestV1">
31       <bpmn:extensionElements>
32         <camunda:out source="WorkflowException" target="WorkflowException" />
33         <camunda:in source="VNFREST_Request" target="vnfAdapterRestV1Request" />
34         <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
35         <camunda:out source="vnfAdapterRestV1Response" target="vnfAdapterRestV1Response" />
36         <camunda:in source="mso-request-id" target="mso-request-id" />
37         <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
38       </bpmn:extensionElements>
39       <bpmn:incoming>SequenceFlow_0qaaf5k</bpmn:incoming>
40       <bpmn:outgoing>SequenceFlow_0j1zvis</bpmn:outgoing>
41     </bpmn:callActivity>
42     <bpmn:sequenceFlow id="SequenceFlow_0qaaf5k" sourceRef="PreProcessRequest" targetRef="Call_vnfAdapterRestV1" />
43     <bpmn:sequenceFlow id="SequenceFlow_0j1zvis" sourceRef="Call_vnfAdapterRestV1" targetRef="PostProcessResponse" />
44   </bpmn:process>
45   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
46     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="VnfAdapter">
47       <bpmndi:BPMNShape id="StartEvent_0kxwniy_di" bpmnElement="VnfAdapter_Start">
48         <dc:Bounds x="213" y="357" width="36" height="36" />
49         <bpmndi:BPMNLabel>
50           <dc:Bounds x="219" y="393" width="24" height="12" />
51         </bpmndi:BPMNLabel>
52       </bpmndi:BPMNShape>
53       <bpmndi:BPMNShape id="SubProcess_17szae7_di" bpmnElement="VnfAdapter_Error" isExpanded="true">
54         <dc:Bounds x="453" y="529" width="233" height="135" />
55       </bpmndi:BPMNShape>
56       <bpmndi:BPMNEdge id="SequenceFlow_1xr6chl_di" bpmnElement="SequenceFlow_1xr6chl">
57         <di:waypoint xsi:type="dc:Point" x="249" y="375" />
58         <di:waypoint xsi:type="dc:Point" x="329" y="375" />
59         <bpmndi:BPMNLabel>
60           <dc:Bounds x="244" y="360" width="90" height="0" />
61         </bpmndi:BPMNLabel>
62       </bpmndi:BPMNEdge>
63       <bpmndi:BPMNShape id="EndEvent_16vfqpk_di" bpmnElement="Error_End">
64         <dc:Bounds x="606" y="573" width="36" height="36" />
65         <bpmndi:BPMNLabel>
66           <dc:Bounds x="615" y="613" width="19" height="12" />
67         </bpmndi:BPMNLabel>
68       </bpmndi:BPMNShape>
69       <bpmndi:BPMNShape id="StartEvent_1t3ep1m_di" bpmnElement="Error_Start">
70         <dc:Bounds x="491" y="573" width="36" height="36" />
71         <bpmndi:BPMNLabel>
72           <dc:Bounds x="498" y="613" width="24" height="12" />
73         </bpmndi:BPMNLabel>
74       </bpmndi:BPMNShape>
75       <bpmndi:BPMNEdge id="SequenceFlow_1abat8l_di" bpmnElement="SequenceFlow_1abat8l">
76         <di:waypoint xsi:type="dc:Point" x="527" y="591" />
77         <di:waypoint xsi:type="dc:Point" x="566" y="591" />
78         <di:waypoint xsi:type="dc:Point" x="566" y="591" />
79         <di:waypoint xsi:type="dc:Point" x="606" y="591" />
80         <bpmndi:BPMNLabel>
81           <dc:Bounds x="536" y="591" width="90" height="0" />
82         </bpmndi:BPMNLabel>
83       </bpmndi:BPMNEdge>
84       <bpmndi:BPMNShape id="EndEvent_0qdq7wj_di" bpmnElement="VnfAdapter_End">
85         <dc:Bounds x="894" y="357" width="36" height="36" />
86         <bpmndi:BPMNLabel>
87           <dc:Bounds x="902" y="397" width="19" height="12" />
88         </bpmndi:BPMNLabel>
89       </bpmndi:BPMNShape>
90       <bpmndi:BPMNShape id="ServiceTask_1frb5h2_di" bpmnElement="PreProcessRequest">
91         <dc:Bounds x="329" y="335" width="100" height="80" />
92       </bpmndi:BPMNShape>
93       <bpmndi:BPMNShape id="ServiceTask_1yomr79_di" bpmnElement="PostProcessResponse">
94         <dc:Bounds x="714" y="335" width="100" height="80" />
95       </bpmndi:BPMNShape>
96       <bpmndi:BPMNEdge id="SequenceFlow_1ivhukd_di" bpmnElement="SequenceFlow_1ivhukd">
97         <di:waypoint xsi:type="dc:Point" x="814" y="375" />
98         <di:waypoint xsi:type="dc:Point" x="894" y="375" />
99         <bpmndi:BPMNLabel>
100           <dc:Bounds x="809" y="354" width="90" height="12" />
101         </bpmndi:BPMNLabel>
102       </bpmndi:BPMNEdge>
103       <bpmndi:BPMNShape id="CallActivity_0n6wnin_di" bpmnElement="Call_vnfAdapterRestV1">
104         <dc:Bounds x="520" y="335" width="100" height="80" />
105       </bpmndi:BPMNShape>
106       <bpmndi:BPMNEdge id="SequenceFlow_0qaaf5k_di" bpmnElement="SequenceFlow_0qaaf5k">
107         <di:waypoint xsi:type="dc:Point" x="429" y="375" />
108         <di:waypoint xsi:type="dc:Point" x="520" y="375" />
109         <bpmndi:BPMNLabel>
110           <dc:Bounds x="429.5" y="354" width="90" height="12" />
111         </bpmndi:BPMNLabel>
112       </bpmndi:BPMNEdge>
113       <bpmndi:BPMNEdge id="SequenceFlow_0j1zvis_di" bpmnElement="SequenceFlow_0j1zvis">
114         <di:waypoint xsi:type="dc:Point" x="620" y="375" />
115         <di:waypoint xsi:type="dc:Point" x="714" y="375" />
116         <bpmndi:BPMNLabel>
117           <dc:Bounds x="622" y="354" width="90" height="12" />
118         </bpmndi:BPMNLabel>
119       </bpmndi:BPMNEdge>
120     </bpmndi:BPMNPlane>
121   </bpmndi:BPMNDiagram>
122 </bpmn:definitions>