Casablana bugfixes
[so.git] / bpmn / so-bpmn-building-blocks / src / main / resources / subprocess / BuildingBlock / CreateVfModuleBB.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.4.0">
3   <bpmn:process id="CreateVfModuleBB" name="CreateVfModuleBB" isExecutable="true">
4     <bpmn:startEvent id="CreateVfModuleBB_Start" name="Start">
5       <bpmn:outgoing>SequenceFlow_1xr6chl</bpmn:outgoing>
6     </bpmn:startEvent>
7     <bpmn:serviceTask id="QueryVfModule" name="Query VF Module (SDNC)" camunda:expression="${SDNCQueryTasks.queryVfModule(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
8       <bpmn:incoming>SequenceFlow_1s4rpyp</bpmn:incoming>
9       <bpmn:outgoing>SequenceFlow_15hn8si</bpmn:outgoing>
10     </bpmn:serviceTask>
11     <bpmn:sequenceFlow id="SequenceFlow_1xr6chl" sourceRef="CreateVfModuleBB_Start" targetRef="QueryVnf" />
12     <bpmn:endEvent id="CreateVfModuleBB_End" name="End">
13       <bpmn:incoming>SequenceFlow_1stomxq</bpmn:incoming>
14     </bpmn:endEvent>
15     <bpmn:serviceTask id="CreateVfModule" name="Create VF Module (VNF)" camunda:expression="${VnfAdapterCreateTasks.createVfModule(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
16       <bpmn:incoming>SequenceFlow_15hn8si</bpmn:incoming>
17       <bpmn:outgoing>SequenceFlow_16g4dz0</bpmn:outgoing>
18     </bpmn:serviceTask>
19     <bpmn:sequenceFlow id="SequenceFlow_15hn8si" sourceRef="QueryVfModule" targetRef="CreateVfModule" />
20     <bpmn:sequenceFlow id="SequenceFlow_1s4rpyp" sourceRef="QueryVnf" targetRef="QueryVfModule" />
21     <bpmn:serviceTask id="QueryVnf" name="Query VNF (SDNC)" camunda:expression="${SDNCQueryTasks.queryVnf(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
22       <bpmn:incoming>SequenceFlow_1xr6chl</bpmn:incoming>
23       <bpmn:outgoing>SequenceFlow_1s4rpyp</bpmn:outgoing>
24     </bpmn:serviceTask>
25     <bpmn:sequenceFlow id="SequenceFlow_16g4dz0" sourceRef="CreateVfModule" targetRef="VnfAdapter" />
26     <bpmn:sequenceFlow id="SequenceFlow_0ecr393" sourceRef="VnfAdapter" targetRef="UpdateVfModuleHeatStackId" />
27     <bpmn:callActivity id="VnfAdapter" name="Vnf Adapter" calledElement="VnfAdapter">
28       <bpmn:extensionElements>
29         <camunda:in source="gBuildingBlockExecution" target="gBuildingBlockExecution" />
30         <camunda:out source="WorkflowException" target="WorkflowException" />
31         <camunda:in source="VNFREST_Request" target="VNFREST_Request" />
32         <camunda:out source="gBuildingBlockExecution" target="gBuildingBlockExecution" />
33       </bpmn:extensionElements>
34       <bpmn:incoming>SequenceFlow_16g4dz0</bpmn:incoming>
35       <bpmn:outgoing>SequenceFlow_0ecr393</bpmn:outgoing>
36     </bpmn:callActivity>
37     <bpmn:sequenceFlow id="SequenceFlow_1stomxq" sourceRef="UpdateVfModuleStatus" targetRef="CreateVfModuleBB_End" />
38     <bpmn:serviceTask id="UpdateVfModuleStatus" name="Update VfModule Ostatus to Created (AAI)" camunda:expression="${AAIUpdateTasks.updateOrchestrationStatusCreatedVfModule(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
39       <bpmn:incoming>SequenceFlow_0qqsilv</bpmn:incoming>
40       <bpmn:outgoing>SequenceFlow_1stomxq</bpmn:outgoing>
41     </bpmn:serviceTask>
42     <bpmn:sequenceFlow id="SequenceFlow_0qqsilv" sourceRef="UpdateVfModuleHeatStackId" targetRef="UpdateVfModuleStatus" />
43     <bpmn:serviceTask id="UpdateVfModuleHeatStackId" name="Update VfModule HeatStackId (AAI)" camunda:expression="${AAIUpdateTasks.updateHeatStackIdVfModule(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
44       <bpmn:incoming>SequenceFlow_0ecr393</bpmn:incoming>
45       <bpmn:outgoing>SequenceFlow_0qqsilv</bpmn:outgoing>
46     </bpmn:serviceTask>
47   </bpmn:process>
48   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
49     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="CreateVfModuleBB">
50       <bpmndi:BPMNShape id="StartEvent_0kxwniy_di" bpmnElement="CreateVfModuleBB_Start">
51         <dc:Bounds x="213" y="-3" width="36" height="36" />
52         <bpmndi:BPMNLabel>
53           <dc:Bounds x="219" y="33" width="23" height="12" />
54         </bpmndi:BPMNLabel>
55       </bpmndi:BPMNShape>
56       <bpmndi:BPMNShape id="ServiceTask_13t22km_di" bpmnElement="QueryVfModule">
57         <dc:Bounds x="529" y="-25" width="100" height="80" />
58       </bpmndi:BPMNShape>
59       <bpmndi:BPMNEdge id="SequenceFlow_1xr6chl_di" bpmnElement="SequenceFlow_1xr6chl">
60         <di:waypoint xsi:type="dc:Point" x="249" y="15" />
61         <di:waypoint xsi:type="dc:Point" x="329" y="15" />
62         <bpmndi:BPMNLabel>
63           <dc:Bounds x="289" y="0" width="0" height="0" />
64         </bpmndi:BPMNLabel>
65       </bpmndi:BPMNEdge>
66       <bpmndi:BPMNShape id="EndEvent_0qdq7wj_di" bpmnElement="CreateVfModuleBB_End">
67         <dc:Bounds x="1391" y="-3" width="36" height="36" />
68         <bpmndi:BPMNLabel>
69           <dc:Bounds x="1399" y="37" width="19" height="12" />
70         </bpmndi:BPMNLabel>
71       </bpmndi:BPMNShape>
72       <bpmndi:BPMNShape id="ServiceTask_1dgenhy_di" bpmnElement="CreateVfModule">
73         <dc:Bounds x="725" y="-25" width="100" height="80" />
74       </bpmndi:BPMNShape>
75       <bpmndi:BPMNEdge id="SequenceFlow_15hn8si_di" bpmnElement="SequenceFlow_15hn8si">
76         <di:waypoint xsi:type="dc:Point" x="629" y="15" />
77         <di:waypoint xsi:type="dc:Point" x="725" y="15" />
78         <bpmndi:BPMNLabel>
79           <dc:Bounds x="677" y="0" width="0" height="0" />
80         </bpmndi:BPMNLabel>
81       </bpmndi:BPMNEdge>
82       <bpmndi:BPMNEdge id="SequenceFlow_1s4rpyp_di" bpmnElement="SequenceFlow_1s4rpyp">
83         <di:waypoint xsi:type="dc:Point" x="429" y="15" />
84         <di:waypoint xsi:type="dc:Point" x="529" y="15" />
85         <bpmndi:BPMNLabel>
86           <dc:Bounds x="479" y="0" width="0" height="0" />
87         </bpmndi:BPMNLabel>
88       </bpmndi:BPMNEdge>
89       <bpmndi:BPMNShape id="ServiceTask_1frb5h2_di" bpmnElement="QueryVnf">
90         <dc:Bounds x="329" y="-25" width="100" height="80" />
91       </bpmndi:BPMNShape>
92       <bpmndi:BPMNEdge id="SequenceFlow_16g4dz0_di" bpmnElement="SequenceFlow_16g4dz0">
93         <di:waypoint xsi:type="dc:Point" x="825" y="15" />
94         <di:waypoint xsi:type="dc:Point" x="890" y="15" />
95         <bpmndi:BPMNLabel>
96           <dc:Bounds x="857.5" y="-6" width="0" height="12" />
97         </bpmndi:BPMNLabel>
98       </bpmndi:BPMNEdge>
99       <bpmndi:BPMNEdge id="SequenceFlow_0ecr393_di" bpmnElement="SequenceFlow_0ecr393">
100         <di:waypoint xsi:type="dc:Point" x="990" y="15" />
101         <di:waypoint xsi:type="dc:Point" x="1063" y="15" />
102         <bpmndi:BPMNLabel>
103           <dc:Bounds x="1027" y="0" width="0" height="0" />
104         </bpmndi:BPMNLabel>
105       </bpmndi:BPMNEdge>
106       <bpmndi:BPMNShape id="CallActivity_1i1pfzb_di" bpmnElement="VnfAdapter">
107         <dc:Bounds x="890" y="-25" width="100" height="80" />
108       </bpmndi:BPMNShape>
109       <bpmndi:BPMNEdge id="SequenceFlow_1stomxq_di" bpmnElement="SequenceFlow_1stomxq">
110         <di:waypoint xsi:type="dc:Point" x="1327" y="15" />
111         <di:waypoint xsi:type="dc:Point" x="1391" y="15" />
112         <bpmndi:BPMNLabel>
113           <dc:Bounds x="1359" y="0" width="0" height="0" />
114         </bpmndi:BPMNLabel>
115       </bpmndi:BPMNEdge>
116       <bpmndi:BPMNShape id="ServiceTask_0fpfn71_di" bpmnElement="UpdateVfModuleStatus">
117         <dc:Bounds x="1227" y="-25" width="100" height="80" />
118       </bpmndi:BPMNShape>
119       <bpmndi:BPMNEdge id="SequenceFlow_0qqsilv_di" bpmnElement="SequenceFlow_0qqsilv">
120         <di:waypoint xsi:type="dc:Point" x="1163" y="15" />
121         <di:waypoint xsi:type="dc:Point" x="1227" y="15" />
122         <bpmndi:BPMNLabel>
123           <dc:Bounds x="1195" y="0" width="0" height="0" />
124         </bpmndi:BPMNLabel>
125       </bpmndi:BPMNEdge>
126       <bpmndi:BPMNShape id="ServiceTask_04k1b85_di" bpmnElement="UpdateVfModuleHeatStackId">
127         <dc:Bounds x="1063" y="-25" width="100" height="80" />
128       </bpmndi:BPMNShape>
129     </bpmndi:BPMNPlane>
130   </bpmndi:BPMNDiagram>
131 </bpmn:definitions>