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