summaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-building-blocks/src/main/resources/subprocess/BuildingBlock/CreateVfModuleBB.bpmn
blob: 08252f66b872404e9cbdb7d43e0feffb1de5d666 (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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<?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.7.1">
  <bpmn:process id="CreateVfModuleBB" name="CreateVfModuleBB" isExecutable="true">
    <bpmn:startEvent id="CreateVfModuleBB_Start">
      <bpmn:outgoing>SequenceFlow_1xr6chl</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:serviceTask id="QueryVfModule" name="&#10;SDNC&#10;Get&#10;(vf module)&#10;" camunda:expression="${SDNCQueryTasks.queryVfModule(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
      <bpmn:incoming>SequenceFlow_1s4rpyp</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_15hn8si</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:sequenceFlow id="SequenceFlow_1xr6chl" sourceRef="CreateVfModuleBB_Start" targetRef="QueryVnf" />
    <bpmn:endEvent id="CreateVfModuleBB_End">
      <bpmn:incoming>SequenceFlow_1vbwdaw</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:serviceTask id="CreateVfModule" name="Create VF Module (VNF)" camunda:expression="${VnfAdapterCreateTasks.createVfModule(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
      <bpmn:incoming>SequenceFlow_15hn8si</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_16g4dz0</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:sequenceFlow id="SequenceFlow_15hn8si" sourceRef="QueryVfModule" targetRef="CreateVfModule" />
    <bpmn:sequenceFlow id="SequenceFlow_1s4rpyp" sourceRef="QueryVnf" targetRef="QueryVfModule" />
    <bpmn:serviceTask id="QueryVnf" name="&#10;SDNC&#10;Get&#10;(vnf)&#10;" camunda:expression="${SDNCQueryTasks.queryVnf(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
      <bpmn:incoming>SequenceFlow_1xr6chl</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_1s4rpyp</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:sequenceFlow id="SequenceFlow_16g4dz0" sourceRef="CreateVfModule" targetRef="VnfAdapter" />
    <bpmn:sequenceFlow id="SequenceFlow_0ecr393" sourceRef="VnfAdapter" targetRef="UpdateVfModuleHeatStackId" />
    <bpmn:callActivity id="VnfAdapter" name="Vnf Adapter" calledElement="VnfAdapter">
      <bpmn:extensionElements>
        <camunda:in source="gBuildingBlockExecution" target="gBuildingBlockExecution" />
        <camunda:out source="WorkflowException" target="WorkflowException" />
        <camunda:in source="VNFREST_Request" target="VNFREST_Request" />
        <camunda:out source="heatStackId" target="heatStackId" />
      </bpmn:extensionElements>
      <bpmn:incoming>SequenceFlow_16g4dz0</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_0ecr393</bpmn:outgoing>
    </bpmn:callActivity>
    <bpmn:serviceTask id="UpdateVfModuleStatus" name="&#10;AAI&#10;Update&#10;(vf module)&#10;" camunda:expression="${AAIUpdateTasks.updateOrchestrationStatusCreatedVfModule(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
      <bpmn:incoming>SequenceFlow_0rds4rj</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_1vbwdaw</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:serviceTask id="UpdateVfModuleHeatStackId" name="&#10;AAI&#10;Update&#10;(vf module)&#10;" camunda:expression="${AAIUpdateTasks.updateHeatStackIdVfModule(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
      <bpmn:incoming>SequenceFlow_0ecr393</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_0rds4rj</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:subProcess id="SubProcess_1getwnf" name="Error Handling&#10;&#10;" triggeredByEvent="true">
      <bpmn:startEvent id="StartEvent_1c8o652">
        <bpmn:outgoing>SequenceFlow_0gcots6</bpmn:outgoing>
        <bpmn:errorEventDefinition />
      </bpmn:startEvent>
      <bpmn:endEvent id="EndEvent_1emam1w">
        <bpmn:incoming>SequenceFlow_0gcots6</bpmn:incoming>
        <bpmn:terminateEventDefinition />
      </bpmn:endEvent>
      <bpmn:sequenceFlow id="SequenceFlow_0gcots6" sourceRef="StartEvent_1c8o652" targetRef="EndEvent_1emam1w" />
    </bpmn:subProcess>
    <bpmn:sequenceFlow id="SequenceFlow_0rds4rj" sourceRef="UpdateVfModuleHeatStackId" targetRef="UpdateVfModuleStatus" />
    <bpmn:sequenceFlow id="SequenceFlow_1vbwdaw" sourceRef="UpdateVfModuleStatus" targetRef="CreateVfModuleBB_End" />
  </bpmn:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="CreateVfModuleBB">
      <bpmndi:BPMNShape id="StartEvent_0kxwniy_di" bpmnElement="CreateVfModuleBB_Start">
        <dc:Bounds x="100" y="88" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="106" y="124" width="24" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ServiceTask_13t22km_di" bpmnElement="QueryVfModule">
        <dc:Bounds x="416" y="66" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_1xr6chl_di" bpmnElement="SequenceFlow_1xr6chl">
        <di:waypoint xsi:type="dc:Point" x="136" y="106" />
        <di:waypoint xsi:type="dc:Point" x="216" y="106" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="131" y="91" width="90" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="EndEvent_0qdq7wj_di" bpmnElement="CreateVfModuleBB_End">
        <dc:Bounds x="1299" y="88" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1272" y="128" width="90" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ServiceTask_1dgenhy_di" bpmnElement="CreateVfModule">
        <dc:Bounds x="612" y="66" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_15hn8si_di" bpmnElement="SequenceFlow_15hn8si">
        <di:waypoint xsi:type="dc:Point" x="516" y="106" />
        <di:waypoint xsi:type="dc:Point" x="612" y="106" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="519" y="91" width="90" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_1s4rpyp_di" bpmnElement="SequenceFlow_1s4rpyp">
        <di:waypoint xsi:type="dc:Point" x="316" y="106" />
        <di:waypoint xsi:type="dc:Point" x="416" y="106" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="321" y="91" width="90" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="ServiceTask_1frb5h2_di" bpmnElement="QueryVnf">
        <dc:Bounds x="216" y="66" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_16g4dz0_di" bpmnElement="SequenceFlow_16g4dz0">
        <di:waypoint xsi:type="dc:Point" x="712" y="106" />
        <di:waypoint xsi:type="dc:Point" x="777" y="106" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="700" y="85" width="90" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_0ecr393_di" bpmnElement="SequenceFlow_0ecr393">
        <di:waypoint xsi:type="dc:Point" x="877" y="107" />
        <di:waypoint xsi:type="dc:Point" x="931" y="107" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="859" y="92" width="90" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="CallActivity_1i1pfzb_di" bpmnElement="VnfAdapter">
        <dc:Bounds x="777" y="66" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ServiceTask_0fpfn71_di" bpmnElement="UpdateVfModuleStatus">
        <dc:Bounds x="1117" y="66" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ServiceTask_04k1b85_di" bpmnElement="UpdateVfModuleHeatStackId">
        <dc:Bounds x="931" y="68" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="SubProcess_1getwnf_di" bpmnElement="SubProcess_1getwnf" isExpanded="true">
        <dc:Bounds x="172" y="276" width="231" height="135" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="StartEvent_1c8o652_di" bpmnElement="StartEvent_1c8o652">
        <dc:Bounds x="211" y="334" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="184" y="370" width="0" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="EndEvent_1emam1w_di" bpmnElement="EndEvent_1emam1w">
        <dc:Bounds x="348" y="334" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="321" y="370" width="0" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_0gcots6_di" bpmnElement="SequenceFlow_0gcots6">
        <di:waypoint xsi:type="dc:Point" x="247" y="352" />
        <di:waypoint xsi:type="dc:Point" x="348" y="352" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="297.5" y="331" width="0" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_0rds4rj_di" bpmnElement="SequenceFlow_0rds4rj">
        <di:waypoint xsi:type="dc:Point" x="1031" y="107" />
        <di:waypoint xsi:type="dc:Point" x="1117" y="107" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1074" y="85" width="0" height="13" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_1vbwdaw_di" bpmnElement="SequenceFlow_1vbwdaw">
        <di:waypoint xsi:type="dc:Point" x="1217" y="106" />
        <di:waypoint xsi:type="dc:Point" x="1299" y="106" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1258" y="84" width="0" height="13" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>