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">
5 <bpmn:outgoing>SequenceFlow_1xr6chl</bpmn:outgoing>
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>
11 <bpmn:startEvent id="Error_Start" name="Start">
12 <bpmn:outgoing>SequenceFlow_1abat8l</bpmn:outgoing>
13 <bpmn:errorEventDefinition />
15 <bpmn:sequenceFlow id="SequenceFlow_1abat8l" sourceRef="Error_Start" targetRef="Error_End" />
17 <bpmn:sequenceFlow id="SequenceFlow_1xr6chl" sourceRef="VnfAdapter_Start" targetRef="PreProcessRequest" />
18 <bpmn:endEvent id="VnfAdapter_End">
19 <bpmn:incoming>SequenceFlow_1ivhukd</bpmn:incoming>
21 <bpmn:serviceTask id="PreProcessRequest" name="Pre Process Request" camunda:expression="${VnfAdapterImpl.preProcessVnfAdapter(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
22 <bpmn:incoming>SequenceFlow_1xr6chl</bpmn:incoming>
23 <bpmn:outgoing>SequenceFlow_0qaaf5k</bpmn:outgoing>
25 <bpmn:serviceTask id="PostProcessResponse" name="Post Process Response" camunda:expression="${VnfAdapterImpl.postProcessVnfAdapter(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
26 <bpmn:incoming>SequenceFlow_0j1zvis</bpmn:incoming>
27 <bpmn:outgoing>SequenceFlow_1ivhukd</bpmn:outgoing>
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>
42 <bpmn:sequenceFlow id="SequenceFlow_0qaaf5k" sourceRef="PreProcessRequest" targetRef="Call_vnfAdapterRestV1" />
43 <bpmn:sequenceFlow id="SequenceFlow_0j1zvis" sourceRef="Call_vnfAdapterRestV1" targetRef="PostProcessResponse" />
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" />
50 <dc:Bounds x="219" y="393" width="24" height="12" />
53 <bpmndi:BPMNShape id="SubProcess_17szae7_di" bpmnElement="VnfAdapter_Error" isExpanded="true">
54 <dc:Bounds x="453" y="529" width="233" height="135" />
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" />
60 <dc:Bounds x="244" y="360" width="90" height="0" />
63 <bpmndi:BPMNShape id="EndEvent_16vfqpk_di" bpmnElement="Error_End">
64 <dc:Bounds x="606" y="573" width="36" height="36" />
66 <dc:Bounds x="615" y="613" width="19" height="12" />
69 <bpmndi:BPMNShape id="StartEvent_1t3ep1m_di" bpmnElement="Error_Start">
70 <dc:Bounds x="491" y="573" width="36" height="36" />
72 <dc:Bounds x="498" y="613" width="24" height="12" />
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" />
81 <dc:Bounds x="536" y="591" width="90" height="0" />
84 <bpmndi:BPMNShape id="EndEvent_0qdq7wj_di" bpmnElement="VnfAdapter_End">
85 <dc:Bounds x="894" y="357" width="36" height="36" />
87 <dc:Bounds x="902" y="397" width="19" height="12" />
90 <bpmndi:BPMNShape id="ServiceTask_1frb5h2_di" bpmnElement="PreProcessRequest">
91 <dc:Bounds x="329" y="335" width="100" height="80" />
93 <bpmndi:BPMNShape id="ServiceTask_1yomr79_di" bpmnElement="PostProcessResponse">
94 <dc:Bounds x="714" y="335" width="100" height="80" />
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" />
100 <dc:Bounds x="809" y="354" width="90" height="12" />
103 <bpmndi:BPMNShape id="CallActivity_0n6wnin_di" bpmnElement="Call_vnfAdapterRestV1">
104 <dc:Bounds x="520" y="335" width="100" height="80" />
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" />
110 <dc:Bounds x="429.5" y="354" width="90" height="12" />
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" />
117 <dc:Bounds x="622" y="354" width="90" height="12" />
121 </bpmndi:BPMNDiagram>