blob: a90c816bc3f63bc207e019157d4039733c752c64 [file] [log] [blame]
xg353yb6b7bef2017-04-11 13:30:42 +02001<?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="DoCreateVnfAndModules" name="DoCreateVnfAndModules" isExecutable="true">
4 <bpmn:startEvent id="StartEvent_1">
5 <bpmn:outgoing>SequenceFlow_0o4vuzt</bpmn:outgoing>
6 </bpmn:startEvent>
7 <bpmn:scriptTask id="PreProcessRequest" name="PreProcess Request" scriptFormat="groovy">
8 <bpmn:incoming>SequenceFlow_0o4vuzt</bpmn:incoming>
9 <bpmn:outgoing>SequenceFlow_1xd3ri5</bpmn:outgoing>
10 <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
11def doCreateVnfAndModules = new DoCreateVnfAndModules()
12doCreateVnfAndModules.preProcessRequest(execution)]]></bpmn:script>
13 </bpmn:scriptTask>
14 <bpmn:callActivity id="CreateBaseVfModule" name="Create Base VF Module" calledElement="DoCreateVfModule">
15 <bpmn:extensionElements>
Determe, Sebastien (sd378r)b1e57342017-05-09 03:55:30 -070016 <camunda:in source="msoRequestId" target="msoRequestId" />
xg353yb6b7bef2017-04-11 13:30:42 +020017 <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
18 <camunda:in source="disableRollback" target="disableRollback" />
19 <camunda:in source="vnfType" target="vnfType" />
20 <camunda:in source="vnfName" target="vnfName" />
21 <camunda:in source="vnfId" target="vnfId" />
22 <camunda:in source="baseVfModuleName" target="vfModuleName" />
23 <camunda:in source="vfModuleType" target="vfModuleType" />
24 <camunda:in source="volumeGroupId" target="volumeGroupId" />
25 <camunda:in source="volumeGroupName" target="volumeGroupName" />
26 <camunda:in source="baseVfModuleId" target="vfModuleId" />
27 <camunda:in source="baseVfModuleModelInfo" target="vfModuleModelInfo" />
Arthur Martella62cd6aa2017-09-08 13:27:46 -040028 <camunda:in source="isBaseVfModule" target="isBaseVfModule" />
xg353yb6b7bef2017-04-11 13:30:42 +020029 <camunda:in source="asdcServiceModelVersion" target="asdcServiceModelVersion" />
30 <camunda:out source="vfModuleId" target="createdVfModuleId" />
31 <camunda:out source="vfModuleOutputParams" target="createdVfModuleOutputParams" />
Arthur Martella62cd6aa2017-09-08 13:27:46 -040032 <camunda:out source="rollbackData" target="DCVAM_baseRollbackData" />
xg353yb6b7bef2017-04-11 13:30:42 +020033 <camunda:out source="WorkflowException" target="WorkflowException" />
34 <camunda:in source="serviceInstanceId" target="serviceInstanceId" />
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -070035 <camunda:in source="serviceModelInfo" target="serviceModelInfo" />
36 <camunda:in source="vnfModelInfo" target="vnfModelInfo" />
37 <camunda:in source="globalSubscriberId" target="globalSubscriberId" />
38 <camunda:in source="sdncVersion" target="sdncVersion" />
Determe, Sebastien (sd378r)b1e57342017-05-09 03:55:30 -070039 <camunda:in source="lcpCloudRegionId" target="lcpCloudRegionId" />
40 <camunda:in source="tenantId" target="tenantId" />
41 <camunda:in source="false" target="usePreload" />
xg353yb6b7bef2017-04-11 13:30:42 +020042 </bpmn:extensionElements>
43 <bpmn:incoming>SequenceFlow_1hf7k7q</bpmn:incoming>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -070044 <bpmn:outgoing>SequenceFlow_1ixcnb6</bpmn:outgoing>
xg353yb6b7bef2017-04-11 13:30:42 +020045 </bpmn:callActivity>
46 <bpmn:sequenceFlow id="SequenceFlow_0o4vuzt" sourceRef="StartEvent_1" targetRef="PreProcessRequest" />
Arthur Martella62cd6aa2017-09-08 13:27:46 -040047 <bpmn:sequenceFlow id="SequenceFlow_1xd3ri5" sourceRef="PreProcessRequest" targetRef="QueryCatalogDB" />
xg353yb6b7bef2017-04-11 13:30:42 +020048 <bpmn:callActivity id="CreateAddOnVfModule" name="Create Add-On VF Module" calledElement="DoCreateVfModule">
49 <bpmn:extensionElements>
Determe, Sebastien (sd378r)b1e57342017-05-09 03:55:30 -070050 <camunda:in source="msoRequestId" target="msoRequestId" />
xg353yb6b7bef2017-04-11 13:30:42 +020051 <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
52 <camunda:in source="disableRollback" target="disableRollback" />
53 <camunda:in source="vnfType" target="vnfType" />
54 <camunda:in source="vnfName" target="vnfName" />
55 <camunda:in source="vnfId" target="vnfId" />
56 <camunda:in source="addOnVfModuleName" target="vfModuleName" />
57 <camunda:in source="vfModuleType" target="vfModuleType" />
58 <camunda:in source="addOnVfModuleId" target="vfModuleId" />
59 <camunda:in source="volumeGroupId" target="volumeGroupId" />
60 <camunda:in source="volumeGroupName" target="volumeGroupName" />
61 <camunda:in source="addOnVfModuleModelInfo" target="vfModuleModelInfo" />
Arthur Martella62cd6aa2017-09-08 13:27:46 -040062 <camunda:in source="isBaseVfModule" target="isBaseVfModule" />
xg353yb6b7bef2017-04-11 13:30:42 +020063 <camunda:in source="asdcServiceModelVersion" target="asdcServiceModelVersion" />
64 <camunda:out source="vfModuleId" target="createdVfModuleId" />
65 <camunda:out source="vfModuleOutputParameters" target="createdVfModuleOutputParameters" />
Arthur Martella62cd6aa2017-09-08 13:27:46 -040066 <camunda:out source="rollbackData" target="DCVAM_addOnRollbackData" />
xg353yb6b7bef2017-04-11 13:30:42 +020067 <camunda:out source="WorkflowException" target="WorkflowException" />
68 <camunda:in source="serviceInstanceId" target="serviceInstanceId" />
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -070069 <camunda:in source="serviceModelInfo" target="serviceModelInfo" />
70 <camunda:in source="vnfModelInfo" target="vnfModelInfo" />
71 <camunda:in source="globalSubscriberId" target="globalSubscriberId" />
72 <camunda:in source="sdncVersion" target="sdncVersion" />
Determe, Sebastien (sd378r)b1e57342017-05-09 03:55:30 -070073 <camunda:in source="lcpCloudRegionId" target="lcpCloudRegionId" />
74 <camunda:in source="tenantId" target="tenantId" />
75 <camunda:in source="false" target="usePreload" />
xg353yb6b7bef2017-04-11 13:30:42 +020076 </bpmn:extensionElements>
77 <bpmn:incoming>SequenceFlow_1lh21yl</bpmn:incoming>
78 <bpmn:outgoing>SequenceFlow_1llbx0k</bpmn:outgoing>
79 </bpmn:callActivity>
80 <bpmn:scriptTask id="Task_1lfmdks" name="Validate Create Add-On VF Module Response" scriptFormat="groovy">
81 <bpmn:incoming>SequenceFlow_1llbx0k</bpmn:incoming>
82 <bpmn:outgoing>SequenceFlow_1mguf2m</bpmn:outgoing>
83 <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
84def doCreateVnfAndModules = new DoCreateVnfAndModules()
85doCreateVnfAndModules.validateAddOnModule(execution)]]></bpmn:script>
86 </bpmn:scriptTask>
87 <bpmn:endEvent id="EndEvent_0v6povc">
88 <bpmn:incoming>SequenceFlow_132bohl</bpmn:incoming>
89 <bpmn:terminateEventDefinition />
90 </bpmn:endEvent>
91 <bpmn:sequenceFlow id="SequenceFlow_1llbx0k" sourceRef="CreateAddOnVfModule" targetRef="Task_1lfmdks" />
92 <bpmn:exclusiveGateway id="ExclusiveGateway_1vyqr5o" name="Are there more add-on modules?" default="SequenceFlow_132bohl">
93 <bpmn:extensionElements>
94 <camunda:properties>
95 <camunda:property />
96 </camunda:properties>
97 </bpmn:extensionElements>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -070098 <bpmn:incoming>SequenceFlow_1a6wyuu</bpmn:incoming>
Arthur Martella62cd6aa2017-09-08 13:27:46 -040099 <bpmn:incoming>SequenceFlow_0j52dxv</bpmn:incoming>
xg353yb6b7bef2017-04-11 13:30:42 +0200100 <bpmn:outgoing>SequenceFlow_132bohl</bpmn:outgoing>
101 <bpmn:outgoing>SequenceFlow_0jz6bqn</bpmn:outgoing>
102 </bpmn:exclusiveGateway>
103 <bpmn:sequenceFlow id="SequenceFlow_132bohl" name="No" sourceRef="ExclusiveGateway_1vyqr5o" targetRef="EndEvent_0v6povc" />
104 <bpmn:callActivity id="CreateVNF" name="Create VNF" calledElement="DoCreateVnf">
105 <bpmn:extensionElements>
Determe, Sebastien (sd378r)b1e57342017-05-09 03:55:30 -0700106 <camunda:in source="msoRequestId" target="msoRequestId" />
xg353yb6b7bef2017-04-11 13:30:42 +0200107 <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
108 <camunda:in source="disableRollback" target="disableRollback" />
109 <camunda:in source="serviceInstanceId" target="serviceInstanceId" />
110 <camunda:in source="vnfModelInfo" target="vnfModelInfo" />
111 <camunda:in source="vnfType" target="vnfType" />
112 <camunda:in source="vnfName" target="vnfName" />
113 <camunda:in source="vnfId" target="vnfId" />
xg353yb6b7bef2017-04-11 13:30:42 +0200114 <camunda:in source="vnfInputParameters" target="vnfInputParameters" />
115 <camunda:in source="productFamilyId" target="productFamilyId" />
116 <camunda:out source="vnfId" target="vnfId" />
117 <camunda:out source="vnfOutputParams" target="vnfOutputParams" />
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400118 <camunda:out source="rollbackData" target="rollbackData" />
xg353yb6b7bef2017-04-11 13:30:42 +0200119 <camunda:out source="WorkflowException" target="WorkflowException" />
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700120 <camunda:in source="serviceModelInfo" target="serviceModelInfo" />
121 <camunda:in source="globalSubscriberId" target="globalSubscriberId" />
122 <camunda:in source="sdncVersion" target="sdncVersion" />
Determe, Sebastien (sd378r)b1e57342017-05-09 03:55:30 -0700123 <camunda:out source="vnfName" target="vnfName" />
124 <camunda:in source="lcpCloudRegionId" target="lcpCloudRegionId" />
125 <camunda:in source="tenantId" target="tenantId" />
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400126 <camunda:in source="rollbackData" target="rollbackData" />
127 <camunda:in source="vnfResourceDecomposition" target="vnfResourceDecomposition" />
xg353yb6b7bef2017-04-11 13:30:42 +0200128 </bpmn:extensionElements>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400129 <bpmn:incoming>SequenceFlow_19ohb1a</bpmn:incoming>
130 <bpmn:outgoing>SequenceFlow_07u8e3l</bpmn:outgoing>
xg353yb6b7bef2017-04-11 13:30:42 +0200131 </bpmn:callActivity>
132 <bpmn:scriptTask id="PreProcessAddOnModule" name="PreProcess Add-On Module" scriptFormat="groovy">
133 <bpmn:incoming>SequenceFlow_0jz6bqn</bpmn:incoming>
134 <bpmn:outgoing>SequenceFlow_12x4dvf</bpmn:outgoing>
135 <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
136def doCreateVnfAndModules = new DoCreateVnfAndModules()
137doCreateVnfAndModules.preProcessAddOnModule(execution)]]></bpmn:script>
138 </bpmn:scriptTask>
139 <bpmn:scriptTask id="QueryCatalogDB" name="Query Catalog DB for VF Modules" scriptFormat="groovy">
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400140 <bpmn:incoming>SequenceFlow_1xd3ri5</bpmn:incoming>
141 <bpmn:outgoing>SequenceFlow_19ohb1a</bpmn:outgoing>
xg353yb6b7bef2017-04-11 13:30:42 +0200142 <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
143def doCreateVnfAndModules = new DoCreateVnfAndModules()
144doCreateVnfAndModules.queryCatalogDB(execution)]]></bpmn:script>
145 </bpmn:scriptTask>
xg353yb6b7bef2017-04-11 13:30:42 +0200146 <bpmn:exclusiveGateway id="ExclusiveGateway_1hx9s0y" name="Less than initialCount?" default="SequenceFlow_1vrogpr">
147 <bpmn:incoming>SequenceFlow_1mguf2m</bpmn:incoming>
148 <bpmn:incoming>SequenceFlow_12x4dvf</bpmn:incoming>
149 <bpmn:outgoing>SequenceFlow_0kld3qt</bpmn:outgoing>
150 <bpmn:outgoing>SequenceFlow_1vrogpr</bpmn:outgoing>
151 </bpmn:exclusiveGateway>
152 <bpmn:sequenceFlow id="SequenceFlow_0jz6bqn" name="yes" sourceRef="ExclusiveGateway_1vyqr5o" targetRef="PreProcessAddOnModule">
Determe, Sebastien (sd378r)b1e57342017-05-09 03:55:30 -0700153 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[#{execution.getVariable("addOnModulesDeployed") < execution.getVariable("addOnModulesToDeploy")}]]></bpmn:conditionExpression>
xg353yb6b7bef2017-04-11 13:30:42 +0200154 </bpmn:sequenceFlow>
155 <bpmn:sequenceFlow id="SequenceFlow_0kld3qt" name="yes" sourceRef="ExclusiveGateway_1hx9s0y" targetRef="GenerateAddOnModuleName">
Determe, Sebastien (sd378r)b1e57342017-05-09 03:55:30 -0700156 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[#{execution.getVariable("instancesOfThisModuleDeployed") < execution.getVariable("initialCount")}]]></bpmn:conditionExpression>
xg353yb6b7bef2017-04-11 13:30:42 +0200157 </bpmn:sequenceFlow>
158 <bpmn:sequenceFlow id="SequenceFlow_1mguf2m" sourceRef="Task_1lfmdks" targetRef="ExclusiveGateway_1hx9s0y" />
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400159 <bpmn:sequenceFlow id="SequenceFlow_1vrogpr" name="no" sourceRef="ExclusiveGateway_1hx9s0y" targetRef="PostProcessAddOnModule" />
xg353yb6b7bef2017-04-11 13:30:42 +0200160 <bpmn:sequenceFlow id="SequenceFlow_1hf7k7q" sourceRef="GenerateBaseModuleName" targetRef="CreateBaseVfModule" />
161 <bpmn:callActivity id="GenerateBaseModuleName" name="Generate Base Module Name" calledElement="GenerateVfModuleName">
162 <bpmn:extensionElements>
163 <camunda:in source="vnfId" target="vnfId" />
164 <camunda:in source="vnfName" target="vnfName" />
165 <camunda:in source="baseVfModuleLabel" target="vfModuleLabel" />
166 <camunda:in source="basePersonaModelId" target="personaModelId" />
167 <camunda:out source="vfModuleName" target="baseVfModuleName" />
168 <camunda:out source="WorkflowException" target="WorkflowException" />
Determe, Sebastien (sd378r)b1e57342017-05-09 03:55:30 -0700169 <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
xg353yb6b7bef2017-04-11 13:30:42 +0200170 </bpmn:extensionElements>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400171 <bpmn:incoming>SequenceFlow_07u8e3l</bpmn:incoming>
xg353yb6b7bef2017-04-11 13:30:42 +0200172 <bpmn:outgoing>SequenceFlow_1hf7k7q</bpmn:outgoing>
173 </bpmn:callActivity>
174 <bpmn:callActivity id="GenerateAddOnModuleName" name="Generate Add-On Module Name" calledElement="GenerateVfModuleName">
175 <bpmn:extensionElements>
176 <camunda:in source="vnfId" target="vnfId" />
177 <camunda:in source="vnfName" target="vnfName" />
178 <camunda:in source="addOnVfModuleLabel" target="vfModuleLabel" />
179 <camunda:in source="addOnPersonaModelId" target="personaModelId" />
180 <camunda:out source="vfModuleName" target="addOnVfModuleName" />
181 <camunda:out source="WorkflowException" target="WorkflowException" />
Determe, Sebastien (sd378r)b1e57342017-05-09 03:55:30 -0700182 <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
xg353yb6b7bef2017-04-11 13:30:42 +0200183 </bpmn:extensionElements>
184 <bpmn:incoming>SequenceFlow_0kld3qt</bpmn:incoming>
185 <bpmn:outgoing>SequenceFlow_1lh21yl</bpmn:outgoing>
186 </bpmn:callActivity>
187 <bpmn:sequenceFlow id="SequenceFlow_1lh21yl" sourceRef="GenerateAddOnModuleName" targetRef="CreateAddOnVfModule" />
xg353yb6b7bef2017-04-11 13:30:42 +0200188 <bpmn:sequenceFlow id="SequenceFlow_12x4dvf" sourceRef="PreProcessAddOnModule" targetRef="ExclusiveGateway_1hx9s0y" />
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700189 <bpmn:sequenceFlow id="SequenceFlow_1ixcnb6" sourceRef="CreateBaseVfModule" targetRef="Task_054rz9i" />
190 <bpmn:sequenceFlow id="SequenceFlow_1a6wyuu" sourceRef="Task_054rz9i" targetRef="ExclusiveGateway_1vyqr5o" />
191 <bpmn:scriptTask id="Task_054rz9i" name="Validate Create Base VF Module Response" scriptFormat="groovy">
192 <bpmn:incoming>SequenceFlow_1ixcnb6</bpmn:incoming>
193 <bpmn:outgoing>SequenceFlow_1a6wyuu</bpmn:outgoing>
194 <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
195def doCreateVnfAndModules = new DoCreateVnfAndModules()
196doCreateVnfAndModules.validateBaseModule(execution)]]></bpmn:script>
197 </bpmn:scriptTask>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400198 <bpmn:subProcess id="SubProcess_0u7tbb2" name="Sub-process for Application Errors" triggeredByEvent="true">
199 <bpmn:endEvent id="EndEvent_16s0a3q">
200 <bpmn:incoming>SequenceFlow_1h74w1v</bpmn:incoming>
Determe, Sebastien (sd378r)b1e57342017-05-09 03:55:30 -0700201 </bpmn:endEvent>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400202 <bpmn:callActivity id="CallActivity_0gtajjm" name="Call DoCreateVnfAndModulesRollback" calledElement="DoCreateVnfAndModulesRollback">
203 <bpmn:extensionElements>
204 <camunda:in source="msoRequestId" target="msoRequestId" />
205 <camunda:in source="rollbackData" target="rollbackData" />
206 <camunda:in source="disableRollback" target="disableRollback" />
207 <camunda:out source="rolledBack" target="rolledBack" />
208 <camunda:out source="rollbackError" target="rollbackError" />
209 <camunda:in source="sdncVersion" target="sdncVersion" />
210 </bpmn:extensionElements>
211 <bpmn:incoming>SequenceFlow_03v8mmc</bpmn:incoming>
212 <bpmn:outgoing>SequenceFlow_0yu0im2</bpmn:outgoing>
213 </bpmn:callActivity>
214 <bpmn:scriptTask id="PreProcessRollback" name="Pre Process Rollback" scriptFormat="groovy">
215 <bpmn:incoming>SequenceFlow_1l0rxnh</bpmn:incoming>
216 <bpmn:outgoing>SequenceFlow_03v8mmc</bpmn:outgoing>
217 <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
218def dcvam = new DoCreateVnfAndModules()
219dcvam.preProcessRollback(execution)]]></bpmn:script>
220 </bpmn:scriptTask>
221 <bpmn:scriptTask id="PostProcessRollback" name="Post Process Rollback" scriptFormat="groovy">
222 <bpmn:incoming>SequenceFlow_0yu0im2</bpmn:incoming>
223 <bpmn:outgoing>SequenceFlow_1h74w1v</bpmn:outgoing>
224 <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
225def dcvam = new DoCreateVnfAndModules()
226dcvam.postProcessRollback(execution)]]></bpmn:script>
227 </bpmn:scriptTask>
228 <bpmn:sequenceFlow id="SequenceFlow_1l0rxnh" sourceRef="StartEvent_1nbwxby" targetRef="PreProcessRollback" />
229 <bpmn:sequenceFlow id="SequenceFlow_1h74w1v" sourceRef="PostProcessRollback" targetRef="EndEvent_16s0a3q" />
230 <bpmn:sequenceFlow id="SequenceFlow_03v8mmc" sourceRef="PreProcessRollback" targetRef="CallActivity_0gtajjm" />
231 <bpmn:sequenceFlow id="SequenceFlow_0yu0im2" sourceRef="CallActivity_0gtajjm" targetRef="PostProcessRollback" />
232 <bpmn:startEvent id="StartEvent_1nbwxby">
233 <bpmn:outgoing>SequenceFlow_1l0rxnh</bpmn:outgoing>
234 <bpmn:errorEventDefinition errorRef="Error_2" />
Determe, Sebastien (sd378r)b1e57342017-05-09 03:55:30 -0700235 </bpmn:startEvent>
Determe, Sebastien (sd378r)b1e57342017-05-09 03:55:30 -0700236 </bpmn:subProcess>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400237 <bpmn:sequenceFlow id="SequenceFlow_19ohb1a" sourceRef="QueryCatalogDB" targetRef="CreateVNF" />
238 <bpmn:sequenceFlow id="SequenceFlow_07u8e3l" sourceRef="CreateVNF" targetRef="GenerateBaseModuleName" />
239 <bpmn:sequenceFlow id="SequenceFlow_0j52dxv" sourceRef="PostProcessAddOnModule" targetRef="ExclusiveGateway_1vyqr5o" />
240 <bpmn:scriptTask id="PostProcessAddOnModule" name="PostProcess Add-On Module" scriptFormat="groovy">
241 <bpmn:incoming>SequenceFlow_1vrogpr</bpmn:incoming>
242 <bpmn:outgoing>SequenceFlow_0j52dxv</bpmn:outgoing>
243 <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
244def doCreateVnfAndModules = new DoCreateVnfAndModules()
245doCreateVnfAndModules.postProcessAddOnModule(execution)]]></bpmn:script>
246 </bpmn:scriptTask>
xg353yb6b7bef2017-04-11 13:30:42 +0200247 </bpmn:process>
Determe, Sebastien (sd378r)b1e57342017-05-09 03:55:30 -0700248 <bpmn:error id="Error_1" name="Java Lang Exception" errorCode="java.lang.Exception" />
249 <bpmn:error id="Error_2" name="MSO Workflow Exception" errorCode="MSOWorkflowException" />
xg353yb6b7bef2017-04-11 13:30:42 +0200250 <bpmndi:BPMNDiagram id="BPMNDiagram_1">
251 <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DoCreateVnfAndModules">
252 <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
253 <dc:Bounds x="152" y="147" width="36" height="36" />
254 <bpmndi:BPMNLabel>
255 <dc:Bounds x="170" y="183" width="0" height="0" />
256 </bpmndi:BPMNLabel>
257 </bpmndi:BPMNShape>
258 <bpmndi:BPMNShape id="ScriptTask_1tco8kw_di" bpmnElement="PreProcessRequest">
259 <dc:Bounds x="256" y="125" width="100" height="80" />
260 </bpmndi:BPMNShape>
261 <bpmndi:BPMNShape id="CallActivity_1sztzw8_di" bpmnElement="CreateBaseVfModule">
262 <dc:Bounds x="888" y="125" width="100" height="80" />
263 </bpmndi:BPMNShape>
264 <bpmndi:BPMNEdge id="SequenceFlow_0o4vuzt_di" bpmnElement="SequenceFlow_0o4vuzt">
265 <di:waypoint xsi:type="dc:Point" x="188" y="165" />
266 <di:waypoint xsi:type="dc:Point" x="256" y="165" />
267 <bpmndi:BPMNLabel>
268 <dc:Bounds x="222" y="150" width="0" height="0" />
269 </bpmndi:BPMNLabel>
270 </bpmndi:BPMNEdge>
271 <bpmndi:BPMNEdge id="SequenceFlow_1xd3ri5_di" bpmnElement="SequenceFlow_1xd3ri5">
272 <di:waypoint xsi:type="dc:Point" x="356" y="165" />
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400273 <di:waypoint xsi:type="dc:Point" x="418" y="165" />
xg353yb6b7bef2017-04-11 13:30:42 +0200274 <bpmndi:BPMNLabel>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400275 <dc:Bounds x="387" y="150" width="0" height="0" />
xg353yb6b7bef2017-04-11 13:30:42 +0200276 </bpmndi:BPMNLabel>
277 </bpmndi:BPMNEdge>
278 <bpmndi:BPMNShape id="CallActivity_0auiwq0_di" bpmnElement="CreateAddOnVfModule">
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700279 <dc:Bounds x="1749" y="57" width="100" height="80" />
xg353yb6b7bef2017-04-11 13:30:42 +0200280 </bpmndi:BPMNShape>
281 <bpmndi:BPMNShape id="ScriptTask_1eeaxqn_di" bpmnElement="Task_1lfmdks">
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700282 <dc:Bounds x="1888" y="57" width="100" height="80" />
xg353yb6b7bef2017-04-11 13:30:42 +0200283 </bpmndi:BPMNShape>
284 <bpmndi:BPMNShape id="EndEvent_1h41bs7_di" bpmnElement="EndEvent_0v6povc">
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700285 <dc:Bounds x="2011" y="147" width="36" height="36" />
xg353yb6b7bef2017-04-11 13:30:42 +0200286 <bpmndi:BPMNLabel>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700287 <dc:Bounds x="2029" y="183" width="0" height="0" />
xg353yb6b7bef2017-04-11 13:30:42 +0200288 </bpmndi:BPMNLabel>
289 </bpmndi:BPMNShape>
290 <bpmndi:BPMNEdge id="SequenceFlow_1llbx0k_di" bpmnElement="SequenceFlow_1llbx0k">
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700291 <di:waypoint xsi:type="dc:Point" x="1849" y="97" />
292 <di:waypoint xsi:type="dc:Point" x="1888" y="97" />
xg353yb6b7bef2017-04-11 13:30:42 +0200293 <bpmndi:BPMNLabel>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700294 <dc:Bounds x="1869" y="82" width="0" height="0" />
xg353yb6b7bef2017-04-11 13:30:42 +0200295 </bpmndi:BPMNLabel>
296 </bpmndi:BPMNEdge>
297 <bpmndi:BPMNShape id="ExclusiveGateway_1vyqr5o_di" bpmnElement="ExclusiveGateway_1vyqr5o" isMarkerVisible="true">
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700298 <dc:Bounds x="1166" y="140" width="50" height="50" />
xg353yb6b7bef2017-04-11 13:30:42 +0200299 <bpmndi:BPMNLabel>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700300 <dc:Bounds x="1150" y="190" width="84" height="24" />
xg353yb6b7bef2017-04-11 13:30:42 +0200301 </bpmndi:BPMNLabel>
302 </bpmndi:BPMNShape>
303 <bpmndi:BPMNEdge id="SequenceFlow_132bohl_di" bpmnElement="SequenceFlow_132bohl">
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700304 <di:waypoint xsi:type="dc:Point" x="1191" y="140" />
305 <di:waypoint xsi:type="dc:Point" x="1191" y="36" />
306 <di:waypoint xsi:type="dc:Point" x="2029" y="36" />
307 <di:waypoint xsi:type="dc:Point" x="2029" y="147" />
xg353yb6b7bef2017-04-11 13:30:42 +0200308 <bpmndi:BPMNLabel>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700309 <dc:Bounds x="1612" y="21" width="14" height="12" />
xg353yb6b7bef2017-04-11 13:30:42 +0200310 </bpmndi:BPMNLabel>
311 </bpmndi:BPMNEdge>
312 <bpmndi:BPMNShape id="CallActivity_0zr4ioh_di" bpmnElement="CreateVNF">
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400313 <dc:Bounds x="574" y="125" width="100" height="80" />
xg353yb6b7bef2017-04-11 13:30:42 +0200314 </bpmndi:BPMNShape>
315 <bpmndi:BPMNShape id="ScriptTask_0tknqn1_di" bpmnElement="PreProcessAddOnModule">
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700316 <dc:Bounds x="1300" y="125" width="100" height="80" />
xg353yb6b7bef2017-04-11 13:30:42 +0200317 </bpmndi:BPMNShape>
318 <bpmndi:BPMNShape id="ScriptTask_1u6qcio_di" bpmnElement="QueryCatalogDB">
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400319 <dc:Bounds x="418" y="125" width="100" height="80" />
xg353yb6b7bef2017-04-11 13:30:42 +0200320 </bpmndi:BPMNShape>
xg353yb6b7bef2017-04-11 13:30:42 +0200321 <bpmndi:BPMNShape id="ExclusiveGateway_1hx9s0y_di" bpmnElement="ExclusiveGateway_1hx9s0y" isMarkerVisible="true">
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700322 <dc:Bounds x="1493" y="140" width="50" height="50" />
xg353yb6b7bef2017-04-11 13:30:42 +0200323 <bpmndi:BPMNLabel>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700324 <dc:Bounds x="1489" y="190" width="58" height="24" />
xg353yb6b7bef2017-04-11 13:30:42 +0200325 </bpmndi:BPMNLabel>
326 </bpmndi:BPMNShape>
327 <bpmndi:BPMNEdge id="SequenceFlow_0jz6bqn_di" bpmnElement="SequenceFlow_0jz6bqn">
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700328 <di:waypoint xsi:type="dc:Point" x="1216" y="165" />
329 <di:waypoint xsi:type="dc:Point" x="1258" y="165" />
330 <di:waypoint xsi:type="dc:Point" x="1258" y="165" />
331 <di:waypoint xsi:type="dc:Point" x="1298" y="165" />
xg353yb6b7bef2017-04-11 13:30:42 +0200332 <bpmndi:BPMNLabel>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700333 <dc:Bounds x="1219" y="147" width="18" height="12" />
xg353yb6b7bef2017-04-11 13:30:42 +0200334 </bpmndi:BPMNLabel>
335 </bpmndi:BPMNEdge>
336 <bpmndi:BPMNEdge id="SequenceFlow_0kld3qt_di" bpmnElement="SequenceFlow_0kld3qt">
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700337 <di:waypoint xsi:type="dc:Point" x="1518" y="140" />
338 <di:waypoint xsi:type="dc:Point" x="1518" y="89" />
339 <di:waypoint xsi:type="dc:Point" x="1601" y="89" />
xg353yb6b7bef2017-04-11 13:30:42 +0200340 <bpmndi:BPMNLabel>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700341 <dc:Bounds x="1534" y="96" width="18" height="12" />
xg353yb6b7bef2017-04-11 13:30:42 +0200342 </bpmndi:BPMNLabel>
343 </bpmndi:BPMNEdge>
344 <bpmndi:BPMNEdge id="SequenceFlow_1mguf2m_di" bpmnElement="SequenceFlow_1mguf2m">
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700345 <di:waypoint xsi:type="dc:Point" x="1938" y="137" />
346 <di:waypoint xsi:type="dc:Point" x="1938" y="165" />
347 <di:waypoint xsi:type="dc:Point" x="1543" y="165" />
xg353yb6b7bef2017-04-11 13:30:42 +0200348 <bpmndi:BPMNLabel>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700349 <dc:Bounds x="1953" y="151" width="0" height="0" />
xg353yb6b7bef2017-04-11 13:30:42 +0200350 </bpmndi:BPMNLabel>
351 </bpmndi:BPMNEdge>
352 <bpmndi:BPMNEdge id="SequenceFlow_1vrogpr_di" bpmnElement="SequenceFlow_1vrogpr">
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700353 <di:waypoint xsi:type="dc:Point" x="1518" y="190" />
354 <di:waypoint xsi:type="dc:Point" x="1518" y="221" />
355 <di:waypoint xsi:type="dc:Point" x="1518" y="221" />
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400356 <di:waypoint xsi:type="dc:Point" x="1518" y="301" />
357 <di:waypoint xsi:type="dc:Point" x="1400" y="301" />
xg353yb6b7bef2017-04-11 13:30:42 +0200358 <bpmndi:BPMNLabel>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400359 <dc:Bounds x="1528" y="247.2077922077922" width="12" height="12" />
xg353yb6b7bef2017-04-11 13:30:42 +0200360 </bpmndi:BPMNLabel>
361 </bpmndi:BPMNEdge>
362 <bpmndi:BPMNEdge id="SequenceFlow_1hf7k7q_di" bpmnElement="SequenceFlow_1hf7k7q">
363 <di:waypoint xsi:type="dc:Point" x="840" y="165" />
364 <di:waypoint xsi:type="dc:Point" x="888" y="165" />
365 <bpmndi:BPMNLabel>
366 <dc:Bounds x="864" y="150" width="0" height="0" />
367 </bpmndi:BPMNLabel>
368 </bpmndi:BPMNEdge>
369 <bpmndi:BPMNShape id="CallActivity_0rz8zl9_di" bpmnElement="GenerateBaseModuleName">
370 <dc:Bounds x="740" y="125" width="100" height="80" />
371 </bpmndi:BPMNShape>
372 <bpmndi:BPMNShape id="CallActivity_0otq8mo_di" bpmnElement="GenerateAddOnModuleName">
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700373 <dc:Bounds x="1601" y="57" width="100" height="80" />
xg353yb6b7bef2017-04-11 13:30:42 +0200374 </bpmndi:BPMNShape>
375 <bpmndi:BPMNEdge id="SequenceFlow_1lh21yl_di" bpmnElement="SequenceFlow_1lh21yl">
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700376 <di:waypoint xsi:type="dc:Point" x="1701" y="97" />
377 <di:waypoint xsi:type="dc:Point" x="1749" y="97" />
xg353yb6b7bef2017-04-11 13:30:42 +0200378 <bpmndi:BPMNLabel>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700379 <dc:Bounds x="1725" y="82" width="0" height="0" />
xg353yb6b7bef2017-04-11 13:30:42 +0200380 </bpmndi:BPMNLabel>
381 </bpmndi:BPMNEdge>
382 <bpmndi:BPMNEdge id="SequenceFlow_12x4dvf_di" bpmnElement="SequenceFlow_12x4dvf">
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700383 <di:waypoint xsi:type="dc:Point" x="1400" y="165" />
384 <di:waypoint xsi:type="dc:Point" x="1493" y="165" />
xg353yb6b7bef2017-04-11 13:30:42 +0200385 <bpmndi:BPMNLabel>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700386 <dc:Bounds x="1447" y="140" width="0" height="0" />
xg353yb6b7bef2017-04-11 13:30:42 +0200387 </bpmndi:BPMNLabel>
388 </bpmndi:BPMNEdge>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700389 <bpmndi:BPMNEdge id="SequenceFlow_1ixcnb6_di" bpmnElement="SequenceFlow_1ixcnb6">
390 <di:waypoint xsi:type="dc:Point" x="988" y="165" />
391 <di:waypoint xsi:type="dc:Point" x="1030" y="165" />
392 <bpmndi:BPMNLabel>
393 <dc:Bounds x="1009" y="150" width="0" height="0" />
394 </bpmndi:BPMNLabel>
395 </bpmndi:BPMNEdge>
396 <bpmndi:BPMNEdge id="SequenceFlow_1a6wyuu_di" bpmnElement="SequenceFlow_1a6wyuu">
397 <di:waypoint xsi:type="dc:Point" x="1130" y="165" />
398 <di:waypoint xsi:type="dc:Point" x="1166" y="165" />
399 <bpmndi:BPMNLabel>
400 <dc:Bounds x="1148" y="150" width="0" height="0" />
401 </bpmndi:BPMNLabel>
402 </bpmndi:BPMNEdge>
403 <bpmndi:BPMNShape id="ScriptTask_1obevnp_di" bpmnElement="Task_054rz9i">
404 <dc:Bounds x="1030" y="125" width="100" height="80" />
xg353yb6b7bef2017-04-11 13:30:42 +0200405 </bpmndi:BPMNShape>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400406 <bpmndi:BPMNShape id="SubProcess_0u7tbb2_di" bpmnElement="SubProcess_0u7tbb2" isExpanded="true">
407 <dc:Bounds x="113" y="382" width="783" height="195" />
Determe, Sebastien (sd378r)b1e57342017-05-09 03:55:30 -0700408 </bpmndi:BPMNShape>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400409 <bpmndi:BPMNShape id="EndEvent_16s0a3q_di" bpmnElement="EndEvent_16s0a3q">
410 <dc:Bounds x="843" y="460" width="36" height="36" />
Determe, Sebastien (sd378r)b1e57342017-05-09 03:55:30 -0700411 <bpmndi:BPMNLabel>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400412 <dc:Bounds x="861" y="501" width="0" height="0" />
Determe, Sebastien (sd378r)b1e57342017-05-09 03:55:30 -0700413 </bpmndi:BPMNLabel>
414 </bpmndi:BPMNShape>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400415 <bpmndi:BPMNShape id="CallActivity_0gtajjm_di" bpmnElement="CallActivity_0gtajjm">
416 <dc:Bounds x="508" y="438" width="100" height="80" />
Determe, Sebastien (sd378r)b1e57342017-05-09 03:55:30 -0700417 </bpmndi:BPMNShape>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400418 <bpmndi:BPMNShape id="ScriptTask_12g5tld_di" bpmnElement="PreProcessRollback">
419 <dc:Bounds x="345" y="438" width="100" height="80" />
420 </bpmndi:BPMNShape>
421 <bpmndi:BPMNShape id="ScriptTask_1nk6apr_di" bpmnElement="PostProcessRollback">
422 <dc:Bounds x="676" y="438" width="100" height="80" />
423 </bpmndi:BPMNShape>
424 <bpmndi:BPMNEdge id="SequenceFlow_1l0rxnh_di" bpmnElement="SequenceFlow_1l0rxnh">
425 <di:waypoint xsi:type="dc:Point" x="246" y="478" />
426 <di:waypoint xsi:type="dc:Point" x="345" y="478" />
Determe, Sebastien (sd378r)b1e57342017-05-09 03:55:30 -0700427 <bpmndi:BPMNLabel>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400428 <dc:Bounds x="296" y="463" width="0" height="0" />
Determe, Sebastien (sd378r)b1e57342017-05-09 03:55:30 -0700429 </bpmndi:BPMNLabel>
430 </bpmndi:BPMNEdge>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400431 <bpmndi:BPMNEdge id="SequenceFlow_1h74w1v_di" bpmnElement="SequenceFlow_1h74w1v">
432 <di:waypoint xsi:type="dc:Point" x="776" y="478" />
433 <di:waypoint xsi:type="dc:Point" x="808" y="478" />
434 <di:waypoint xsi:type="dc:Point" x="808" y="478" />
435 <di:waypoint xsi:type="dc:Point" x="843" y="478" />
Determe, Sebastien (sd378r)b1e57342017-05-09 03:55:30 -0700436 <bpmndi:BPMNLabel>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400437 <dc:Bounds x="823" y="478" width="0" height="0" />
Determe, Sebastien (sd378r)b1e57342017-05-09 03:55:30 -0700438 </bpmndi:BPMNLabel>
439 </bpmndi:BPMNEdge>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400440 <bpmndi:BPMNEdge id="SequenceFlow_03v8mmc_di" bpmnElement="SequenceFlow_03v8mmc">
441 <di:waypoint xsi:type="dc:Point" x="445" y="478" />
442 <di:waypoint xsi:type="dc:Point" x="508" y="478" />
443 <bpmndi:BPMNLabel>
444 <dc:Bounds x="477" y="463" width="0" height="0" />
445 </bpmndi:BPMNLabel>
446 </bpmndi:BPMNEdge>
447 <bpmndi:BPMNEdge id="SequenceFlow_0yu0im2_di" bpmnElement="SequenceFlow_0yu0im2">
448 <di:waypoint xsi:type="dc:Point" x="608" y="478" />
449 <di:waypoint xsi:type="dc:Point" x="676" y="478" />
450 <bpmndi:BPMNLabel>
451 <dc:Bounds x="642" y="463" width="0" height="0" />
452 </bpmndi:BPMNLabel>
453 </bpmndi:BPMNEdge>
454 <bpmndi:BPMNShape id="StartEvent_00jdkur_di" bpmnElement="StartEvent_1nbwxby">
455 <dc:Bounds x="210" y="460" width="36" height="36" />
456 <bpmndi:BPMNLabel>
457 <dc:Bounds x="228" y="501" width="0" height="0" />
458 </bpmndi:BPMNLabel>
459 </bpmndi:BPMNShape>
460 <bpmndi:BPMNEdge id="SequenceFlow_19ohb1a_di" bpmnElement="SequenceFlow_19ohb1a">
461 <di:waypoint xsi:type="dc:Point" x="518" y="165" />
462 <di:waypoint xsi:type="dc:Point" x="574" y="165" />
463 <bpmndi:BPMNLabel>
464 <dc:Bounds x="546" y="140" width="0" height="0" />
465 </bpmndi:BPMNLabel>
466 </bpmndi:BPMNEdge>
467 <bpmndi:BPMNEdge id="SequenceFlow_07u8e3l_di" bpmnElement="SequenceFlow_07u8e3l">
468 <di:waypoint xsi:type="dc:Point" x="674" y="165" />
469 <di:waypoint xsi:type="dc:Point" x="740" y="165" />
470 <bpmndi:BPMNLabel>
471 <dc:Bounds x="707" y="140" width="0" height="0" />
472 </bpmndi:BPMNLabel>
473 </bpmndi:BPMNEdge>
474 <bpmndi:BPMNEdge id="SequenceFlow_0j52dxv_di" bpmnElement="SequenceFlow_0j52dxv">
475 <di:waypoint xsi:type="dc:Point" x="1300" y="301" />
476 <di:waypoint xsi:type="dc:Point" x="1192" y="301" />
477 <di:waypoint xsi:type="dc:Point" x="1191" y="190" />
478 <bpmndi:BPMNLabel>
479 <dc:Bounds x="1246" y="286" width="0" height="0" />
480 </bpmndi:BPMNLabel>
481 </bpmndi:BPMNEdge>
482 <bpmndi:BPMNShape id="ScriptTask_0srhar8_di" bpmnElement="PostProcessAddOnModule">
483 <dc:Bounds x="1300" y="262" width="100" height="80" />
484 </bpmndi:BPMNShape>
xg353yb6b7bef2017-04-11 13:30:42 +0200485 </bpmndi:BPMNPlane>
486 </bpmndi:BPMNDiagram>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400487</bpmn:definitions>