summaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-building-blocks/src/main/resources/subprocess/BuildingBlock/VnfAdapter.bpmn
blob: e139e94660f2175fa3c1a9eb1334bbdfdf35e190 (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
<?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_vnfAdapterTask" name="&#10;Cloud&#10;Create&#10;(vnf)&#10;" calledElement="vnfAdapterTask">
      <bpmn:extensionElements>
        <camunda:out source="WorkflowException" target="WorkflowException" />
        <camunda:in source="VNFREST_Request" target="vnfAdapterTaskRequest" />
        <camunda:out source="WorkflowResponse" target="WorkflowResponse" />
        <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_vnfAdapterTask" />
    <bpmn:sequenceFlow id="SequenceFlow_0j1zvis" sourceRef="Call_vnfAdapterTask" 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="156" y="103" 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="396" y="275" width="233" height="135" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_1xr6chl_di" bpmnElement="SequenceFlow_1xr6chl">
        <di:waypoint xsi:type="dc:Point" x="192" y="121" />
        <di:waypoint xsi:type="dc:Point" x="272" y="121" />
        <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="549" y="319" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="558" y="359" width="20" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="StartEvent_1t3ep1m_di" bpmnElement="Error_Start">
        <dc:Bounds x="434" y="319" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="441" y="359" width="24" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_1abat8l_di" bpmnElement="SequenceFlow_1abat8l">
        <di:waypoint xsi:type="dc:Point" x="470" y="337" />
        <di:waypoint xsi:type="dc:Point" x="509" y="337" />
        <di:waypoint xsi:type="dc:Point" x="509" y="337" />
        <di:waypoint xsi:type="dc:Point" x="549" y="337" />
        <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="837" y="103" 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="272" y="81" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ServiceTask_1yomr79_di" bpmnElement="PostProcessResponse">
        <dc:Bounds x="657" y="81" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_1ivhukd_di" bpmnElement="SequenceFlow_1ivhukd">
        <di:waypoint xsi:type="dc:Point" x="757" y="121" />
        <di:waypoint xsi:type="dc:Point" x="837" y="121" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="809" y="354" width="90" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="CallActivity_0n6wnin_di" bpmnElement="Call_vnfAdapterTask">
        <dc:Bounds x="463" y="81" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_0qaaf5k_di" bpmnElement="SequenceFlow_0qaaf5k">
        <di:waypoint xsi:type="dc:Point" x="372" y="121" />
        <di:waypoint xsi:type="dc:Point" x="463" y="121" />
        <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="563" y="121" />
        <di:waypoint xsi:type="dc:Point" x="657" y="121" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="622" y="354" width="90" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>