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="CreateVfModuleBB" name="CreateVfModuleBB" isExecutable="true">
4 <bpmn:startEvent id="CreateVfModuleBB_Start">
5 <bpmn:outgoing>SequenceFlow_1xr6chl</bpmn:outgoing>
7 <bpmn:serviceTask id="QueryVfModule" name=" SDNC Get (vf module) " camunda:expression="${SDNCQueryTasks.queryVfModule(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
8 <bpmn:incoming>SequenceFlow_1s4rpyp</bpmn:incoming>
9 <bpmn:outgoing>SequenceFlow_15hn8si</bpmn:outgoing>
11 <bpmn:sequenceFlow id="SequenceFlow_1xr6chl" sourceRef="CreateVfModuleBB_Start" targetRef="QueryVnf" />
12 <bpmn:endEvent id="CreateVfModuleBB_End">
13 <bpmn:incoming>SequenceFlow_1stomxq</bpmn:incoming>
15 <bpmn:serviceTask id="CreateVfModule" name="Create VF Module (VNF)" camunda:expression="${VnfAdapterCreateTasks.createVfModule(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
16 <bpmn:incoming>SequenceFlow_15hn8si</bpmn:incoming>
17 <bpmn:outgoing>SequenceFlow_16g4dz0</bpmn:outgoing>
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=" SDNC Get (vnf) " camunda:expression="${SDNCQueryTasks.queryVnf(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
22 <bpmn:incoming>SequenceFlow_1xr6chl</bpmn:incoming>
23 <bpmn:outgoing>SequenceFlow_1s4rpyp</bpmn:outgoing>
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="heatStackId" target="heatStackId" />
33 </bpmn:extensionElements>
34 <bpmn:incoming>SequenceFlow_16g4dz0</bpmn:incoming>
35 <bpmn:outgoing>SequenceFlow_0ecr393</bpmn:outgoing>
37 <bpmn:sequenceFlow id="SequenceFlow_1stomxq" sourceRef="UpdateVfModuleStatus" targetRef="CreateVfModuleBB_End" />
38 <bpmn:serviceTask id="UpdateVfModuleStatus" name=" AAI Update (vf module) " camunda:expression="${AAIUpdateTasks.updateOrchestrationStatusCreatedVfModule(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
39 <bpmn:incoming>SequenceFlow_0qqsilv</bpmn:incoming>
40 <bpmn:outgoing>SequenceFlow_1stomxq</bpmn:outgoing>
42 <bpmn:sequenceFlow id="SequenceFlow_0qqsilv" sourceRef="UpdateVfModuleHeatStackId" targetRef="UpdateVfModuleStatus" />
43 <bpmn:serviceTask id="UpdateVfModuleHeatStackId" name=" AAI Update (vf module) " camunda:expression="${AAIUpdateTasks.updateHeatStackIdVfModule(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
44 <bpmn:incoming>SequenceFlow_0ecr393</bpmn:incoming>
45 <bpmn:outgoing>SequenceFlow_0qqsilv</bpmn:outgoing>
47 <bpmn:subProcess id="SubProcess_1getwnf" name="Error Handling " triggeredByEvent="true">
48 <bpmn:startEvent id="StartEvent_1c8o652">
49 <bpmn:outgoing>SequenceFlow_0gcots6</bpmn:outgoing>
50 <bpmn:errorEventDefinition />
52 <bpmn:endEvent id="EndEvent_1emam1w">
53 <bpmn:incoming>SequenceFlow_0gcots6</bpmn:incoming>
54 <bpmn:terminateEventDefinition />
56 <bpmn:sequenceFlow id="SequenceFlow_0gcots6" sourceRef="StartEvent_1c8o652" targetRef="EndEvent_1emam1w" />
59 <bpmndi:BPMNDiagram id="BPMNDiagram_1">
60 <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="CreateVfModuleBB">
61 <bpmndi:BPMNShape id="StartEvent_0kxwniy_di" bpmnElement="CreateVfModuleBB_Start">
62 <dc:Bounds x="100" y="88" width="36" height="36" />
64 <dc:Bounds x="106" y="124" width="24" height="12" />
67 <bpmndi:BPMNShape id="ServiceTask_13t22km_di" bpmnElement="QueryVfModule">
68 <dc:Bounds x="416" y="66" width="100" height="80" />
70 <bpmndi:BPMNEdge id="SequenceFlow_1xr6chl_di" bpmnElement="SequenceFlow_1xr6chl">
71 <di:waypoint xsi:type="dc:Point" x="136" y="106" />
72 <di:waypoint xsi:type="dc:Point" x="216" y="106" />
74 <dc:Bounds x="131" y="91" width="90" height="0" />
77 <bpmndi:BPMNShape id="EndEvent_0qdq7wj_di" bpmnElement="CreateVfModuleBB_End">
78 <dc:Bounds x="1278" y="88" width="36" height="36" />
80 <dc:Bounds x="1286" y="128" width="19" height="12" />
83 <bpmndi:BPMNShape id="ServiceTask_1dgenhy_di" bpmnElement="CreateVfModule">
84 <dc:Bounds x="612" y="66" width="100" height="80" />
86 <bpmndi:BPMNEdge id="SequenceFlow_15hn8si_di" bpmnElement="SequenceFlow_15hn8si">
87 <di:waypoint xsi:type="dc:Point" x="516" y="106" />
88 <di:waypoint xsi:type="dc:Point" x="612" y="106" />
90 <dc:Bounds x="519" y="91" width="90" height="0" />
93 <bpmndi:BPMNEdge id="SequenceFlow_1s4rpyp_di" bpmnElement="SequenceFlow_1s4rpyp">
94 <di:waypoint xsi:type="dc:Point" x="316" y="106" />
95 <di:waypoint xsi:type="dc:Point" x="416" y="106" />
97 <dc:Bounds x="321" y="91" width="90" height="0" />
100 <bpmndi:BPMNShape id="ServiceTask_1frb5h2_di" bpmnElement="QueryVnf">
101 <dc:Bounds x="216" y="66" width="100" height="80" />
103 <bpmndi:BPMNEdge id="SequenceFlow_16g4dz0_di" bpmnElement="SequenceFlow_16g4dz0">
104 <di:waypoint xsi:type="dc:Point" x="712" y="106" />
105 <di:waypoint xsi:type="dc:Point" x="777" y="106" />
107 <dc:Bounds x="700" y="85" width="90" height="12" />
110 <bpmndi:BPMNEdge id="SequenceFlow_0ecr393_di" bpmnElement="SequenceFlow_0ecr393">
111 <di:waypoint xsi:type="dc:Point" x="877" y="106" />
112 <di:waypoint xsi:type="dc:Point" x="950" y="106" />
114 <dc:Bounds x="869" y="91" width="90" height="0" />
117 <bpmndi:BPMNShape id="CallActivity_1i1pfzb_di" bpmnElement="VnfAdapter">
118 <dc:Bounds x="777" y="66" width="100" height="80" />
120 <bpmndi:BPMNEdge id="SequenceFlow_1stomxq_di" bpmnElement="SequenceFlow_1stomxq">
121 <di:waypoint xsi:type="dc:Point" x="1214" y="106" />
122 <di:waypoint xsi:type="dc:Point" x="1278" y="106" />
124 <dc:Bounds x="1201" y="91" width="90" height="0" />
127 <bpmndi:BPMNShape id="ServiceTask_0fpfn71_di" bpmnElement="UpdateVfModuleStatus">
128 <dc:Bounds x="1114" y="66" width="100" height="80" />
130 <bpmndi:BPMNEdge id="SequenceFlow_0qqsilv_di" bpmnElement="SequenceFlow_0qqsilv">
131 <di:waypoint xsi:type="dc:Point" x="1050" y="106" />
132 <di:waypoint xsi:type="dc:Point" x="1114" y="106" />
134 <dc:Bounds x="1037" y="91" width="90" height="0" />
137 <bpmndi:BPMNShape id="ServiceTask_04k1b85_di" bpmnElement="UpdateVfModuleHeatStackId">
138 <dc:Bounds x="950" y="66" width="100" height="80" />
140 <bpmndi:BPMNShape id="SubProcess_1getwnf_di" bpmnElement="SubProcess_1getwnf" isExpanded="true">
141 <dc:Bounds x="172" y="276" width="231" height="135" />
143 <bpmndi:BPMNShape id="StartEvent_1c8o652_di" bpmnElement="StartEvent_1c8o652">
144 <dc:Bounds x="211" y="334" width="36" height="36" />
146 <dc:Bounds x="184" y="370" width="0" height="12" />
149 <bpmndi:BPMNShape id="EndEvent_1emam1w_di" bpmnElement="EndEvent_1emam1w">
150 <dc:Bounds x="348" y="334" width="36" height="36" />
152 <dc:Bounds x="321" y="370" width="0" height="12" />
155 <bpmndi:BPMNEdge id="SequenceFlow_0gcots6_di" bpmnElement="SequenceFlow_0gcots6">
156 <di:waypoint xsi:type="dc:Point" x="247" y="352" />
157 <di:waypoint xsi:type="dc:Point" x="348" y="352" />
159 <dc:Bounds x="297.5" y="331" width="0" height="12" />
163 </bpmndi:BPMNDiagram>