1 <?xml version="1.0" encoding="UTF-8"?>
2 <bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="_pNTO8MRhEeWv36YLr7PC3Q" targetNamespace="http://camunda.org/schema/1.0/bpmn" exporter="Camunda Modeler" exporterVersion="1.8.2" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd">
3 <bpmn2:process id="CreateVfModuleInfra" name="CreateVfModuleInfra" isExecutable="true">
4 <bpmn2:startEvent id="StartEvent_1" name="Start">
5 <bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>
7 <bpmn2:sequenceFlow id="SequenceFlow_1" name="" sourceRef="StartEvent_1" targetRef="PreProcessRequest" />
8 <bpmn2:callActivity id="DoCreateVfModuleSubprocess" name="Do Create Vf Module" calledElement="DoCreateVfModule">
9 <bpmn2:extensionElements>
10 <camunda:in source="CVFMI_requestId" target="msoRequestId" />
11 <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
12 <camunda:in source="isVidRequest" target="isVidRequest" />
13 <camunda:in source="disableRollback" target="disableRollback" />
14 <camunda:out source="DCVFM_vnfId" target="CVFMI_vnfId" />
15 <camunda:out source="DCVFM_vfModuleId" target="CVFMI_vfModuleId" />
16 <camunda:out source="rollbackData" target="rollbackData" />
17 <camunda:out source="WorkflowException" target="WorkflowException" />
18 <camunda:out source="WorkflowResponse" target="CVFMI_WorkflowResponse" />
19 <camunda:out source="DCVFM_vfModuleName" target="CVFMI_vfModuleName" />
20 <camunda:in source="CVFMI_vnfType" target="vnfType" />
21 <camunda:in source="CVFMI_vnfName" target="vnfName" />
22 <camunda:in source="CVFMI_vnfId" target="vnfId" />
23 <camunda:in source="CVFMI_vfModuleName" target="vfModuleName" />
24 <camunda:in source="CVFMI_vfModuleType" target="vfModuleType" />
25 <camunda:in source="CVFMI_volumeGroupId" target="volumeGroupId" />
26 <camunda:in source="CVFMI_volumeGroupName" target="volumeGroupName" />
27 <camunda:in source="CVFMI_isBaseVfModule" target="isBaseVfModule" />
28 <camunda:in source="CVFMI_asdcServiceModelVersion" target="asdcServiceModelVersion" />
29 <camunda:in source="CVFMI_serviceInstanceId" target="serviceInstanceId" />
30 <camunda:in source="CVFMI_serviceModelInfo" target="serviceModelInfo" />
31 <camunda:in source="CVFMI_vnfModelInfo" target="vnfModelInfo" />
32 <camunda:in source="CVFMI_globalSubscriberId" target="globalSubscriberId" />
33 <camunda:in source="CVFMI_sdncVersion" target="sdncVersion" />
34 <camunda:in source="CVFMI_lcpCloudRegionId" target="lcpCloudRegionId" />
35 <camunda:in source="CVFMI_tenantId" target="tenantId" />
36 <camunda:in source="CVFMI_vfModuleId" target="vfModuleId" />
37 <camunda:in source="CVFMI_vfModuleModelInfo" target="vfModuleModelInfo" />
38 <camunda:in source="CVFMI_usePreload" target="usePreload" />
39 <camunda:in source="CVFMI_vfModuleInputParams" target="vfModuleInputParams" />
40 <camunda:in source="CVFMI_aLaCarte" target="aLaCarte" />
41 <camunda:out source="DCVFM_getSDNCAdapterResponse" target="DCVFM_getSDNCAdapterResponse" />
42 </bpmn2:extensionElements>
43 <bpmn2:incoming>SequenceFlow_1y7d5qk</bpmn2:incoming>
44 <bpmn2:incoming>SequenceFlow_1vx081s</bpmn2:incoming>
45 <bpmn2:outgoing>SequenceFlow_4</bpmn2:outgoing>
47 <bpmn2:scriptTask id="SendResponse" name="Send Response" scriptFormat="groovy">
48 <bpmn2:incoming>SequenceFlow_3</bpmn2:incoming>
49 <bpmn2:outgoing>SequenceFlow_0e2ta6w</bpmn2:outgoing>
50 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
51 def createVfModule = new CreateVfModuleInfra()
52 createVfModule.sendResponse(execution)]]></bpmn2:script>
54 <bpmn2:intermediateThrowEvent id="IntermediateThrowEvent_1" name="To FinishLine">
55 <bpmn2:incoming>SequenceFlow_4</bpmn2:incoming>
56 <bpmn2:linkEventDefinition id="_LinkEventDefinition_34" name="FinishLine" />
57 </bpmn2:intermediateThrowEvent>
58 <bpmn2:sequenceFlow id="SequenceFlow_4" name="" sourceRef="DoCreateVfModuleSubprocess" targetRef="IntermediateThrowEvent_1" />
59 <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_1" name="FinishLine">
60 <bpmn2:outgoing>SequenceFlow_5</bpmn2:outgoing>
61 <bpmn2:linkEventDefinition id="_LinkEventDefinition_35" name="FinishLine" />
62 </bpmn2:intermediateCatchEvent>
63 <bpmn2:sequenceFlow id="SequenceFlow_5" name="" sourceRef="IntermediateCatchEvent_1" targetRef="PrepareUpdateInfraRequest" />
64 <bpmn2:scriptTask id="PrepareUpdateInfraRequest" name="Prepare Update Infra Request" scriptFormat="groovy">
65 <bpmn2:incoming>SequenceFlow_5</bpmn2:incoming>
66 <bpmn2:outgoing>SequenceFlow_6</bpmn2:outgoing>
67 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
68 def createVfModule = new CreateVfModuleInfra()
69 createVfModule.prepareUpdateInfraRequest(execution)]]></bpmn2:script>
71 <bpmn2:serviceTask id="ServiceTask_1" name="Update Infra Request">
72 <bpmn2:extensionElements>
75 <camunda:inputParameter name="url">${URN_mso_adapters_openecomp_db_endpoint}</camunda:inputParameter>
76 <camunda:inputParameter name="headers">
78 <camunda:entry key="content-type">application/soap+xml</camunda:entry>
79 <camunda:entry key="Authorization">#{BasicAuthHeaderValueDB}</camunda:entry>
81 </camunda:inputParameter>
82 <camunda:inputParameter name="payload">${CVFMI_updateInfraRequest}</camunda:inputParameter>
83 <camunda:inputParameter name="method">POST</camunda:inputParameter>
84 <camunda:outputParameter name="CVFMI_dbResponseCode">${statusCode}</camunda:outputParameter>
85 <camunda:outputParameter name="CVFMI_dbResponse">${response}</camunda:outputParameter>
86 </camunda:inputOutput>
87 <camunda:connectorId>http-connector</camunda:connectorId>
89 </bpmn2:extensionElements>
90 <bpmn2:incoming>SequenceFlow_6</bpmn2:incoming>
91 <bpmn2:outgoing>SequenceFlow_1crl7uf</bpmn2:outgoing>
93 <bpmn2:sequenceFlow id="SequenceFlow_6" name="" sourceRef="PrepareUpdateInfraRequest" targetRef="ServiceTask_1" />
94 <bpmn2:scriptTask id="PrepareMSOCompletionHandler" name="Prepare MSO Completion Handler" scriptFormat="groovy">
95 <bpmn2:incoming>SequenceFlow_0td7d9m</bpmn2:incoming>
96 <bpmn2:incoming>SequenceFlow_0u8zesf</bpmn2:incoming>
97 <bpmn2:outgoing>SequenceFlow_12</bpmn2:outgoing>
98 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
99 def createVfModule = new CreateVfModuleInfra()
100 createVfModule.postProcessResponse(execution)]]></bpmn2:script>
102 <bpmn2:sequenceFlow id="SequenceFlow_12" name="" sourceRef="PrepareMSOCompletionHandler" targetRef="MSOCompletionHandler" />
103 <bpmn2:callActivity id="MSOCompletionHandler" name="MSO Completion Handler" calledElement="CompleteMsoProcess">
104 <bpmn2:extensionElements>
105 <camunda:in source="CVFMI_msoCompletionRequest" target="CompleteMsoProcessRequest" />
106 <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
107 <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
108 <camunda:in source="mso-request-id" target="mso-request-id" />
109 <camunda:out source="CompleteMsoProcessResponse" target="CompleteMsoProcessResponse" />
110 <camunda:out source="CMSO_ErrorResponse" target="CMSO_ErrorResponse" />
111 </bpmn2:extensionElements>
112 <bpmn2:incoming>SequenceFlow_12</bpmn2:incoming>
113 <bpmn2:outgoing>SequenceFlow_14</bpmn2:outgoing>
114 </bpmn2:callActivity>
115 <bpmn2:exclusiveGateway id="UpdateInfraRequestResponseCheck" name="Success? " default="updateInfraRequestResponseBad">
116 <bpmn2:incoming>SequenceFlow_1crl7uf</bpmn2:incoming>
117 <bpmn2:outgoing>updateInfraRequestResponseBad</bpmn2:outgoing>
118 <bpmn2:outgoing>updateInfraRequestResponseGood</bpmn2:outgoing>
119 </bpmn2:exclusiveGateway>
120 <bpmn2:sequenceFlow id="updateInfraRequestResponseBad" name="no" sourceRef="UpdateInfraRequestResponseCheck" targetRef="EndEvent_2" />
121 <bpmn2:sequenceFlow id="updateInfraRequestResponseGood" name="yes" sourceRef="UpdateInfraRequestResponseCheck" targetRef="ExclusiveGateway_0c8x2mq">
122 <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("CVFMI_dbResponseCode" ) == '200'}]]></bpmn2:conditionExpression>
123 </bpmn2:sequenceFlow>
124 <bpmn2:endEvent id="EndEvent_2">
125 <bpmn2:incoming>updateInfraRequestResponseBad</bpmn2:incoming>
126 <bpmn2:errorEventDefinition id="_ErrorEventDefinition_2" errorRef="Error_1" />
128 <bpmn2:subProcess id="ErrorHandler" name="Error Handler" triggeredByEvent="true">
129 <bpmn2:startEvent id="StartEvent_2" name="Catch All Errors">
130 <bpmn2:outgoing>SequenceFlow_0wsgnab</bpmn2:outgoing>
131 <bpmn2:errorEventDefinition id="ErrorEventDefinition_1" />
133 <bpmn2:callActivity id="FalloutHandler" name="Fallout Handler" calledElement="FalloutHandler">
134 <bpmn2:extensionElements>
135 <camunda:in source="CVFMI_FalloutHandlerRequest" target="FalloutHandlerRequest" />
136 <camunda:in source="mso-request-id" target="mso-request-id" />
137 <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
138 <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
139 </bpmn2:extensionElements>
140 <bpmn2:incoming>SequenceFlow_10</bpmn2:incoming>
141 <bpmn2:outgoing>SequenceFlow_11</bpmn2:outgoing>
142 </bpmn2:callActivity>
143 <bpmn2:sequenceFlow id="SequenceFlow_11" name="" sourceRef="FalloutHandler" targetRef="EndEvent_3" />
144 <bpmn2:endEvent id="EndEvent_3">
145 <bpmn2:incoming>SequenceFlow_11</bpmn2:incoming>
146 <bpmn2:terminateEventDefinition id="_TerminateEventDefinition_11" />
148 <bpmn2:scriptTask id="PrepareFalloutHandler" name="Prepare Fallout Handler" scriptFormat="groovy">
149 <bpmn2:incoming>SequenceFlow_018p5wf</bpmn2:incoming>
150 <bpmn2:outgoing>SequenceFlow_10</bpmn2:outgoing>
151 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
152 def cvfm = new CreateVfModuleInfra()
153 cvfm.falloutHandlerPrep(execution, 'CVFMI_FalloutHandlerRequest')]]></bpmn2:script>
155 <bpmn2:sequenceFlow id="SequenceFlow_10" name="" sourceRef="PrepareFalloutHandler" targetRef="FalloutHandler" />
156 <bpmn2:sequenceFlow id="SequenceFlow_0wsgnab" sourceRef="StartEvent_2" targetRef="SendErrorResponse" />
157 <bpmn2:sequenceFlow id="SequenceFlow_018p5wf" sourceRef="SendErrorResponse" targetRef="PrepareFalloutHandler" />
158 <bpmn2:scriptTask id="SendErrorResponse" name="Send Error Response" scriptFormat="groovy">
159 <bpmn2:incoming>SequenceFlow_0wsgnab</bpmn2:incoming>
160 <bpmn2:outgoing>SequenceFlow_018p5wf</bpmn2:outgoing>
161 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
162 def createVfModule = new CreateVfModuleInfra()
163 createVfModule.sendErrorResponse(execution)]]></bpmn2:script>
166 <bpmn2:scriptTask id="SetSuccessIndicator" name="Set Success Indicator" scriptFormat="groovy">
167 <bpmn2:incoming>SequenceFlow_14</bpmn2:incoming>
168 <bpmn2:outgoing>SequenceFlow_16</bpmn2:outgoing>
169 <bpmn2:script><![CDATA[execution.setVariable("CreateVfModuleSuccessIndicator", true)]]></bpmn2:script>
171 <bpmn2:endEvent id="EndEvent_1">
172 <bpmn2:incoming>SequenceFlow_16</bpmn2:incoming>
173 <bpmn2:terminateEventDefinition id="_TerminateEventDefinition_10" />
175 <bpmn2:sequenceFlow id="SequenceFlow_14" name="" sourceRef="MSOCompletionHandler" targetRef="SetSuccessIndicator" />
176 <bpmn2:sequenceFlow id="SequenceFlow_16" name="" sourceRef="SetSuccessIndicator" targetRef="EndEvent_1" />
177 <bpmn2:boundaryEvent id="BoundaryEvent_1" name="" attachedToRef="ErrorHandler">
178 <bpmn2:outgoing>SequenceFlow_15</bpmn2:outgoing>
179 <bpmn2:errorEventDefinition id="_ErrorEventDefinition_3" />
180 </bpmn2:boundaryEvent>
181 <bpmn2:sequenceFlow id="SequenceFlow_15" name="" sourceRef="BoundaryEvent_1" targetRef="EndEvent_4" />
182 <bpmn2:endEvent id="EndEvent_4">
183 <bpmn2:incoming>SequenceFlow_15</bpmn2:incoming>
184 <bpmn2:terminateEventDefinition id="_TerminateEventDefinition_12" />
186 <bpmn2:scriptTask id="PreProcessRequest" name="Pre-Process Request" scriptFormat="groovy">
187 <bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>
188 <bpmn2:outgoing>SequenceFlow_3</bpmn2:outgoing>
189 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
190 def createVfModule = new CreateVfModuleInfra()
191 createVfModule.preProcessRequest(execution)]]></bpmn2:script>
193 <bpmn2:sequenceFlow id="SequenceFlow_3" name="" sourceRef="PreProcessRequest" targetRef="SendResponse" />
194 <bpmn2:subProcess id="SubProcess_0pgv3l6" name="Java Exception Handling Sub Process" triggeredByEvent="true">
195 <bpmn2:scriptTask id="ProcessError" name="Process Error" scriptFormat="groovy">
196 <bpmn2:incoming>SequenceFlow_1qvgrvq</bpmn2:incoming>
197 <bpmn2:outgoing>SequenceFlow_1jqizzo</bpmn2:outgoing>
198 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
199 ExceptionUtil exceptionUtil = new ExceptionUtil()
200 exceptionUtil.processJavaException(execution)]]></bpmn2:script>
202 <bpmn2:endEvent id="EndEvent_0100eju">
203 <bpmn2:incoming>SequenceFlow_1jqizzo</bpmn2:incoming>
205 <bpmn2:startEvent id="StartEvent_1mov8he">
206 <bpmn2:outgoing>SequenceFlow_1qvgrvq</bpmn2:outgoing>
207 <bpmn2:errorEventDefinition />
209 <bpmn2:sequenceFlow id="SequenceFlow_1qvgrvq" name="" sourceRef="StartEvent_1mov8he" targetRef="ProcessError" />
210 <bpmn2:sequenceFlow id="SequenceFlow_1jqizzo" name="" sourceRef="ProcessError" targetRef="EndEvent_0100eju" />
212 <bpmn2:callActivity id="CallActivity_0i3men0" name="LCM HealthCheck" calledElement="AppCClient">
213 <bpmn2:extensionElements>
214 <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
215 <camunda:in source="actionHealthCheck" target="action" />
216 <camunda:in source="CVFMI_vnfId" target="vnfId" />
217 <camunda:in source="CVFMI_requestId" target="msoRequestId" />
218 <camunda:in source="CVFMI_vnfName" target="vnfName" />
219 <camunda:in source="CVFMI_controllerType" target="controllerType" />
220 <camunda:in source="healthCheckIndex0" target="healthCheckIndex" />
221 <camunda:out source="errorCode" target="errorCode" />
222 <camunda:out source="errorText" target="errorText" />
223 <camunda:out source="workStep" target="workStep" />
224 <camunda:out source="failedActivity" target="failedActivity" />
225 </bpmn2:extensionElements>
226 <bpmn2:incoming>SequenceFlow_1xggje5</bpmn2:incoming>
227 <bpmn2:outgoing>SequenceFlow_07llpjo</bpmn2:outgoing>
228 </bpmn2:callActivity>
229 <bpmn2:sequenceFlow id="SequenceFlow_0e2ta6w" sourceRef="SendResponse" targetRef="Task_1o3z68c" />
230 <bpmn2:exclusiveGateway id="ExclusiveGateway_09h60ub" name="Error on HealthCheck?" default="SequenceFlow_1vx081s">
231 <bpmn2:incoming>SequenceFlow_07llpjo</bpmn2:incoming>
232 <bpmn2:outgoing>SequenceFlow_1vx081s</bpmn2:outgoing>
233 <bpmn2:outgoing>SequenceFlow_0nszq2o</bpmn2:outgoing>
234 </bpmn2:exclusiveGateway>
235 <bpmn2:sequenceFlow id="SequenceFlow_1vx081s" name="no" sourceRef="ExclusiveGateway_09h60ub" targetRef="DoCreateVfModuleSubprocess" />
236 <bpmn2:sequenceFlow id="SequenceFlow_07llpjo" sourceRef="CallActivity_0i3men0" targetRef="ExclusiveGateway_09h60ub" />
237 <bpmn2:endEvent id="EndEvent_0n6bb71">
238 <bpmn2:incoming>SequenceFlow_0nszq2o</bpmn2:incoming>
239 <bpmn2:errorEventDefinition errorRef="Error_1" />
241 <bpmn2:sequenceFlow id="SequenceFlow_0nszq2o" name="yes" sourceRef="ExclusiveGateway_09h60ub" targetRef="EndEvent_0n6bb71">
242 <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression" language="groovy"><![CDATA[execution.getVariable("errorCode") != "0"]]></bpmn2:conditionExpression>
243 </bpmn2:sequenceFlow>
244 <bpmn2:callActivity id="CallActivity_17ukiqm" name="LCM ConfigScaleOut" calledElement="AppCClient">
245 <bpmn2:extensionElements>
246 <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
247 <camunda:in source="actionConfigScaleOut" target="action" />
248 <camunda:in source="CVFMI_vnfId" target="vnfId" />
249 <camunda:in source="CVFMI_requestId" target="msoRequestId" />
250 <camunda:in source="CVFMI_vnfName" target="vnfName" />
251 <camunda:in source="CVFMI_controllerType" target="controllerType" />
252 <camunda:in source="payload" target="payload" />
253 <camunda:in source="healthCheckIndex0" target="healthCheckIndex" />
254 <camunda:out source="errorCode" target="errorConfigScaleOutCode" />
255 <camunda:out source="errorText" target="errorText" />
256 <camunda:out source="workStep" target="workStep" />
257 <camunda:out source="failedActivity" target="failedActivity" />
258 <camunda:in source="CVFMI_vfModuleId" target="vfModuleId" />
259 </bpmn2:extensionElements>
260 <bpmn2:incoming>SequenceFlow_09i6f7t</bpmn2:incoming>
261 <bpmn2:outgoing>SequenceFlow_1tk5ru7</bpmn2:outgoing>
262 </bpmn2:callActivity>
263 <bpmn2:sequenceFlow id="SequenceFlow_1crl7uf" sourceRef="ServiceTask_1" targetRef="UpdateInfraRequestResponseCheck" />
264 <bpmn2:exclusiveGateway id="ExclusiveGateway_1hncvjy" name="Error on ConfigScaleOut?" default="SequenceFlow_0td7d9m">
265 <bpmn2:incoming>SequenceFlow_1tk5ru7</bpmn2:incoming>
266 <bpmn2:outgoing>SequenceFlow_0td7d9m</bpmn2:outgoing>
267 <bpmn2:outgoing>SequenceFlow_0h5cld9</bpmn2:outgoing>
268 </bpmn2:exclusiveGateway>
269 <bpmn2:sequenceFlow id="SequenceFlow_1tk5ru7" sourceRef="CallActivity_17ukiqm" targetRef="ExclusiveGateway_1hncvjy" />
270 <bpmn2:sequenceFlow id="SequenceFlow_0td7d9m" name="no" sourceRef="ExclusiveGateway_1hncvjy" targetRef="PrepareMSOCompletionHandler" />
271 <bpmn2:endEvent id="EndEvent_0a97jcr">
272 <bpmn2:incoming>SequenceFlow_0h5cld9</bpmn2:incoming>
273 <bpmn2:errorEventDefinition errorRef="Error_1" />
275 <bpmn2:sequenceFlow id="SequenceFlow_0h5cld9" name="yes" sourceRef="ExclusiveGateway_1hncvjy" targetRef="EndEvent_0a97jcr">
276 <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression" language="groovy"><![CDATA[execution.getVariable("errorConfigScaleOutCode") != "0"]]></bpmn2:conditionExpression>
277 </bpmn2:sequenceFlow>
278 <bpmn2:exclusiveGateway id="ExclusiveGateway_1qozral" name="Do HealthCheck?" default="SequenceFlow_1y7d5qk">
279 <bpmn2:incoming>SequenceFlow_1b7348f</bpmn2:incoming>
280 <bpmn2:outgoing>SequenceFlow_1xggje5</bpmn2:outgoing>
281 <bpmn2:outgoing>SequenceFlow_1y7d5qk</bpmn2:outgoing>
282 </bpmn2:exclusiveGateway>
283 <bpmn2:sequenceFlow id="SequenceFlow_1xggje5" name="yes" sourceRef="ExclusiveGateway_1qozral" targetRef="CallActivity_0i3men0">
284 <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression" language="groovy"><![CDATA[execution.getVariable("runHealthCheck")]]></bpmn2:conditionExpression>
285 </bpmn2:sequenceFlow>
286 <bpmn2:sequenceFlow id="SequenceFlow_1y7d5qk" name="no" sourceRef="ExclusiveGateway_1qozral" targetRef="DoCreateVfModuleSubprocess" />
287 <bpmn2:exclusiveGateway id="ExclusiveGateway_0c8x2mq" name="Do ConfigScaleOut?" default="SequenceFlow_0u8zesf">
288 <bpmn2:incoming>updateInfraRequestResponseGood</bpmn2:incoming>
289 <bpmn2:outgoing>SequenceFlow_020dbkp</bpmn2:outgoing>
290 <bpmn2:outgoing>SequenceFlow_0u8zesf</bpmn2:outgoing>
291 </bpmn2:exclusiveGateway>
292 <bpmn2:sequenceFlow id="SequenceFlow_020dbkp" name="yes" sourceRef="ExclusiveGateway_0c8x2mq" targetRef="Task_09om99x">
293 <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression" language="groovy"><![CDATA[execution.getVariable("runConfigScaleOut")]]></bpmn2:conditionExpression>
294 </bpmn2:sequenceFlow>
295 <bpmn2:sequenceFlow id="SequenceFlow_0u8zesf" name="no" sourceRef="ExclusiveGateway_0c8x2mq" targetRef="PrepareMSOCompletionHandler" />
296 <bpmn2:sequenceFlow id="SequenceFlow_1b7348f" sourceRef="Task_1o3z68c" targetRef="ExclusiveGateway_1qozral" />
297 <bpmn2:scriptTask id="Task_1o3z68c" name="Query AAI For Orchestration Status" scriptFormat="groovy">
298 <bpmn2:incoming>SequenceFlow_0e2ta6w</bpmn2:incoming>
299 <bpmn2:outgoing>SequenceFlow_1b7348f</bpmn2:outgoing>
300 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
301 def createVfModule = new CreateVfModuleInfra()
302 createVfModule.queryAAIForVnfOrchestrationStatus(execution)]]></bpmn2:script>
304 <bpmn2:sequenceFlow id="SequenceFlow_09i6f7t" sourceRef="Task_09om99x" targetRef="CallActivity_17ukiqm" />
305 <bpmn2:scriptTask id="Task_09om99x" name="Retreive Data for Config ScaleOut" scriptFormat="groovy">
306 <bpmn2:incoming>SequenceFlow_020dbkp</bpmn2:incoming>
307 <bpmn2:outgoing>SequenceFlow_09i6f7t</bpmn2:outgoing>
308 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
309 def createVfModule = new CreateVfModuleInfra()
310 createVfModule.retreiveConfigScaleOutData(execution)]]></bpmn2:script>
313 <bpmn2:error id="Error_1" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
314 <bpmn2:error id="Error_2" name="REST Fault" errorCode="RESTFault" />
315 <bpmndi:BPMNDiagram id="BPMNDiagram_1">
316 <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="CreateVfModuleInfra">
317 <bpmndi:BPMNShape id="_BPMNShape_StartEvent_50" bpmnElement="StartEvent_1">
318 <dc:Bounds x="41" y="16" width="36" height="36" />
320 <dc:Bounds x="46" y="52" width="26" height="12" />
323 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="_BPMNShape_StartEvent_50" targetElement="_BPMNShape_ScriptTask_124">
324 <di:waypoint xsi:type="dc:Point" x="77" y="34" />
325 <di:waypoint xsi:type="dc:Point" x="142" y="34" />
327 <dc:Bounds x="65" y="19" width="90" height="0" />
330 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_124" bpmnElement="PreProcessRequest">
331 <dc:Bounds x="142" y="-6" width="100" height="80" />
333 <bpmndi:BPMNShape id="_BPMNShape_ServiceTask_86" bpmnElement="SendResponse">
334 <dc:Bounds x="309" y="-6" width="100" height="80" />
336 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_3" bpmnElement="SequenceFlow_3" sourceElement="_BPMNShape_ScriptTask_124" targetElement="_BPMNShape_ServiceTask_86">
337 <di:waypoint xsi:type="dc:Point" x="242" y="34" />
338 <di:waypoint xsi:type="dc:Point" x="309" y="34" />
340 <dc:Bounds x="231" y="19" width="90" height="0" />
343 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_178" bpmnElement="DoCreateVfModuleSubprocess">
344 <dc:Bounds x="762" y="-6" width="145" height="80" />
346 <bpmndi:BPMNShape id="_BPMNShape_IntermediateThrowEvent_47" bpmnElement="IntermediateThrowEvent_1">
347 <dc:Bounds x="977" y="16" width="36" height="36" />
349 <dc:Bounds x="963" y="57" width="64" height="12" />
352 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_4" bpmnElement="SequenceFlow_4" sourceElement="_BPMNShape_ScriptTask_178" targetElement="_BPMNShape_IntermediateThrowEvent_47">
353 <di:waypoint xsi:type="dc:Point" x="907" y="34" />
354 <di:waypoint xsi:type="dc:Point" x="977" y="34" />
356 <dc:Bounds x="897" y="19" width="90" height="0" />
359 <bpmndi:BPMNShape id="_BPMNShape_IntermediateCatchEvent_32" bpmnElement="IntermediateCatchEvent_1">
360 <dc:Bounds x="39" y="349" width="36" height="36" />
362 <dc:Bounds x="25" y="390" width="65" height="22" />
365 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_219" bpmnElement="PrepareUpdateInfraRequest">
366 <dc:Bounds x="127" y="327" width="100" height="80" />
368 <bpmndi:BPMNShape id="_BPMNShape_ServiceTask_103" bpmnElement="ServiceTask_1">
369 <dc:Bounds x="277" y="327" width="100" height="80" />
371 <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_179" bpmnElement="UpdateInfraRequestResponseCheck" isMarkerVisible="true">
372 <dc:Bounds x="406" y="342" width="50" height="50" />
374 <dc:Bounds x="406" y="320" width="50" height="12" />
377 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_220" bpmnElement="PrepareMSOCompletionHandler">
378 <dc:Bounds x="651" y="327" width="100" height="80" />
380 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_221" bpmnElement="MSOCompletionHandler">
381 <dc:Bounds x="789" y="327" width="100" height="80" />
383 <bpmndi:BPMNShape id="_BPMNShape_EndEvent_177" bpmnElement="EndEvent_1">
384 <dc:Bounds x="1078" y="349" width="36" height="36" />
386 <dc:Bounds x="1051" y="390" width="90" height="0" />
389 <bpmndi:BPMNShape id="_BPMNShape_EndEvent_178" bpmnElement="EndEvent_2">
390 <dc:Bounds x="413" y="454" width="36" height="36" />
392 <dc:Bounds x="386" y="495" width="90" height="0" />
395 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_5" bpmnElement="SequenceFlow_5" sourceElement="_BPMNShape_IntermediateCatchEvent_32" targetElement="_BPMNShape_ScriptTask_219">
396 <di:waypoint xsi:type="dc:Point" x="75" y="367" />
397 <di:waypoint xsi:type="dc:Point" x="127" y="367" />
399 <dc:Bounds x="105" y="367" width="6" height="6" />
402 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_6" bpmnElement="SequenceFlow_6" sourceElement="_BPMNShape_ScriptTask_219" targetElement="_BPMNShape_ServiceTask_103">
403 <di:waypoint xsi:type="dc:Point" x="227" y="367" />
404 <di:waypoint xsi:type="dc:Point" x="277" y="367" />
406 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_9" bpmnElement="updateInfraRequestResponseBad" sourceElement="_BPMNShape_ExclusiveGateway_179" targetElement="_BPMNShape_EndEvent_178">
407 <di:waypoint xsi:type="dc:Point" x="430" y="391" />
408 <di:waypoint xsi:type="dc:Point" x="431" y="454" />
410 <dc:Bounds x="436" y="420" width="15" height="12" />
413 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_11" bpmnElement="updateInfraRequestResponseGood" sourceElement="_BPMNShape_ExclusiveGateway_179" targetElement="ExclusiveGateway_0c8x2mq_di">
414 <di:waypoint xsi:type="dc:Point" x="456" y="367" />
415 <di:waypoint xsi:type="dc:Point" x="520" y="367" />
417 <dc:Bounds x="462.46376811594206" y="371.99999999999994" width="20" height="12" />
420 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_12" bpmnElement="SequenceFlow_12" sourceElement="_BPMNShape_ScriptTask_220" targetElement="_BPMNShape_ScriptTask_221">
421 <di:waypoint xsi:type="dc:Point" x="751" y="367" />
422 <di:waypoint xsi:type="dc:Point" x="789" y="367" />
424 <dc:Bounds x="725" y="349" width="90" height="6" />
427 <bpmndi:BPMNShape id="_BPMNShape_SubProcess_20" bpmnElement="ErrorHandler" isExpanded="true">
428 <dc:Bounds x="30" y="566" width="925" height="385" />
430 <bpmndi:BPMNShape id="_BPMNShape_StartEvent_54" bpmnElement="StartEvent_2">
431 <dc:Bounds x="139" y="720" width="36" height="36" />
433 <dc:Bounds x="137" y="762" width="77" height="12" />
436 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_222" bpmnElement="PrepareFalloutHandler">
437 <dc:Bounds x="497" y="698" width="100" height="80" />
439 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_223" bpmnElement="FalloutHandler">
440 <dc:Bounds x="690" y="698" width="100" height="80" />
442 <bpmndi:BPMNShape id="_BPMNShape_EndEvent_179" bpmnElement="EndEvent_3">
443 <dc:Bounds x="846" y="720" width="36" height="36" />
445 <dc:Bounds x="864" y="761" width="0" height="0" />
448 <bpmndi:BPMNShape id="_BPMNShape_BoundaryEvent_44" bpmnElement="BoundaryEvent_1">
449 <dc:Bounds x="937" y="716" width="36" height="36" />
451 <dc:Bounds x="955" y="757" width="0" height="0" />
454 <bpmndi:BPMNShape id="_BPMNShape_EndEvent_180" bpmnElement="EndEvent_4">
455 <dc:Bounds x="1066" y="716" width="36" height="36" />
457 <dc:Bounds x="1084" y="757" width="0" height="0" />
460 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_14" bpmnElement="SequenceFlow_10" sourceElement="_BPMNShape_ScriptTask_222" targetElement="_BPMNShape_ScriptTask_223">
461 <di:waypoint xsi:type="dc:Point" x="597" y="738" />
462 <di:waypoint xsi:type="dc:Point" x="690" y="738" />
464 <dc:Bounds x="644" y="723" width="0" height="0" />
467 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_15" bpmnElement="SequenceFlow_11" sourceElement="_BPMNShape_ScriptTask_223" targetElement="_BPMNShape_EndEvent_179">
468 <di:waypoint xsi:type="dc:Point" x="790" y="738" />
469 <di:waypoint xsi:type="dc:Point" x="846" y="738" />
471 <dc:Bounds x="821" y="738" width="0" height="0" />
474 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_17" bpmnElement="SequenceFlow_15" sourceElement="_BPMNShape_BoundaryEvent_44" targetElement="_BPMNShape_EndEvent_180">
475 <di:waypoint xsi:type="dc:Point" x="973" y="734" />
476 <di:waypoint xsi:type="dc:Point" x="1066" y="734" />
478 <dc:Bounds x="1020" y="719" width="0" height="0" />
481 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_241" bpmnElement="SetSuccessIndicator">
482 <dc:Bounds x="946" y="327" width="103" height="79" />
484 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_16" bpmnElement="SequenceFlow_14" sourceElement="_BPMNShape_ScriptTask_221" targetElement="_BPMNShape_ScriptTask_241">
485 <di:waypoint xsi:type="dc:Point" x="889" y="367" />
486 <di:waypoint xsi:type="dc:Point" x="946" y="366" />
488 <dc:Bounds x="873" y="342" width="90" height="20" />
491 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_18" bpmnElement="SequenceFlow_16" sourceElement="_BPMNShape_ScriptTask_241" targetElement="_BPMNShape_EndEvent_177">
492 <di:waypoint xsi:type="dc:Point" x="1049" y="367" />
493 <di:waypoint xsi:type="dc:Point" x="1078" y="367" />
495 <dc:Bounds x="1019" y="342" width="90" height="20" />
498 <bpmndi:BPMNShape id="SubProcess_0pgv3l6_di" bpmnElement="SubProcess_0pgv3l6" isExpanded="true">
499 <dc:Bounds x="160" y="1001" width="313" height="169" />
501 <bpmndi:BPMNShape id="ScriptTask_13ekvux_di" bpmnElement="ProcessError">
502 <dc:Bounds x="268" y="1047" width="100" height="80" />
504 <bpmndi:BPMNShape id="EndEvent_0100eju_di" bpmnElement="EndEvent_0100eju">
505 <dc:Bounds x="413" y="1069" width="36" height="36" />
507 <dc:Bounds x="431" y="1110" width="0" height="0" />
510 <bpmndi:BPMNShape id="StartEvent_1mov8he_di" bpmnElement="StartEvent_1mov8he">
511 <dc:Bounds x="185" y="1069" width="36" height="36" />
513 <dc:Bounds x="203" y="1110" width="0" height="0" />
516 <bpmndi:BPMNEdge id="SequenceFlow_1qvgrvq_di" bpmnElement="SequenceFlow_1qvgrvq">
517 <di:waypoint xsi:type="dc:Point" x="221" y="1087" />
518 <di:waypoint xsi:type="dc:Point" x="268" y="1087" />
520 <dc:Bounds x="242" y="1087" width="0" height="0" />
523 <bpmndi:BPMNEdge id="SequenceFlow_1jqizzo_di" bpmnElement="SequenceFlow_1jqizzo">
524 <di:waypoint xsi:type="dc:Point" x="368" y="1087" />
525 <di:waypoint xsi:type="dc:Point" x="413" y="1087" />
527 <dc:Bounds x="388" y="1087" width="0" height="0" />
530 <bpmndi:BPMNEdge id="SequenceFlow_0wsgnab_di" bpmnElement="SequenceFlow_0wsgnab">
531 <di:waypoint xsi:type="dc:Point" x="175" y="738" />
532 <di:waypoint xsi:type="dc:Point" x="235" y="738" />
533 <di:waypoint xsi:type="dc:Point" x="235" y="738" />
534 <di:waypoint xsi:type="dc:Point" x="296" y="738" />
536 <dc:Bounds x="250" y="738" width="0" height="0" />
539 <bpmndi:BPMNEdge id="SequenceFlow_018p5wf_di" bpmnElement="SequenceFlow_018p5wf">
540 <di:waypoint xsi:type="dc:Point" x="396" y="738" />
541 <di:waypoint xsi:type="dc:Point" x="497" y="738" />
543 <dc:Bounds x="447" y="723" width="0" height="0" />
546 <bpmndi:BPMNShape id="ScriptTask_036ipyg_di" bpmnElement="SendErrorResponse">
547 <dc:Bounds x="296" y="698" width="100" height="80" />
549 <bpmndi:BPMNShape id="CallActivity_0i3men0_di" bpmnElement="CallActivity_0i3men0">
550 <dc:Bounds x="597" y="-145" width="145" height="80" />
552 <bpmndi:BPMNEdge id="SequenceFlow_0e2ta6w_di" bpmnElement="SequenceFlow_0e2ta6w">
553 <di:waypoint xsi:type="dc:Point" x="409" y="34" />
554 <di:waypoint xsi:type="dc:Point" x="460" y="34" />
556 <dc:Bounds x="389.5" y="19" width="90" height="0" />
559 <bpmndi:BPMNShape id="ExclusiveGateway_09h60ub_di" bpmnElement="ExclusiveGateway_09h60ub" isMarkerVisible="true">
560 <dc:Bounds x="810" y="-130" width="50" height="50" />
562 <dc:Bounds x="800" y="-162" width="69" height="24" />
565 <bpmndi:BPMNEdge id="SequenceFlow_1vx081s_di" bpmnElement="SequenceFlow_1vx081s">
566 <di:waypoint xsi:type="dc:Point" x="835" y="-80" />
567 <di:waypoint xsi:type="dc:Point" x="835" y="-38" />
568 <di:waypoint xsi:type="dc:Point" x="835" y="-38" />
569 <di:waypoint xsi:type="dc:Point" x="835" y="-6" />
571 <dc:Bounds x="841" y="-70" width="12" height="12" />
574 <bpmndi:BPMNEdge id="SequenceFlow_07llpjo_di" bpmnElement="SequenceFlow_07llpjo">
575 <di:waypoint xsi:type="dc:Point" x="742" y="-105" />
576 <di:waypoint xsi:type="dc:Point" x="810" y="-105" />
578 <dc:Bounds x="731" y="-120" width="90" height="0" />
581 <bpmndi:BPMNShape id="EndEvent_0n6bb71_di" bpmnElement="EndEvent_0n6bb71">
582 <dc:Bounds x="925" y="-123" width="36" height="36" />
584 <dc:Bounds x="898" y="-82" width="90" height="0" />
587 <bpmndi:BPMNEdge id="SequenceFlow_0nszq2o_di" bpmnElement="SequenceFlow_0nszq2o">
588 <di:waypoint xsi:type="dc:Point" x="860" y="-105" />
589 <di:waypoint xsi:type="dc:Point" x="925" y="-105" />
591 <dc:Bounds x="867" y="-101" width="18" height="12" />
594 <bpmndi:BPMNShape id="CallActivity_17ukiqm_di" bpmnElement="CallActivity_17ukiqm">
595 <dc:Bounds x="472" y="120" width="145" height="80" />
597 <bpmndi:BPMNEdge id="SequenceFlow_1crl7uf_di" bpmnElement="SequenceFlow_1crl7uf">
598 <di:waypoint xsi:type="dc:Point" x="377" y="367" />
599 <di:waypoint xsi:type="dc:Point" x="406" y="367" />
601 <dc:Bounds x="391.5" y="346" width="0" height="12" />
604 <bpmndi:BPMNShape id="ExclusiveGateway_1hncvjy_di" bpmnElement="ExclusiveGateway_1hncvjy" isMarkerVisible="true">
605 <dc:Bounds x="675" y="135" width="50" height="50" />
607 <dc:Bounds x="659" y="101" width="82" height="24" />
610 <bpmndi:BPMNEdge id="SequenceFlow_1tk5ru7_di" bpmnElement="SequenceFlow_1tk5ru7">
611 <di:waypoint xsi:type="dc:Point" x="617" y="160" />
612 <di:waypoint xsi:type="dc:Point" x="675" y="160" />
614 <dc:Bounds x="601" y="139" width="90" height="12" />
617 <bpmndi:BPMNEdge id="SequenceFlow_0td7d9m_di" bpmnElement="SequenceFlow_0td7d9m">
618 <di:waypoint xsi:type="dc:Point" x="700" y="185" />
619 <di:waypoint xsi:type="dc:Point" x="702" y="327" />
621 <dc:Bounds x="708" y="122" width="12" height="12" />
624 <bpmndi:BPMNShape id="EndEvent_0a97jcr_di" bpmnElement="EndEvent_0a97jcr">
625 <dc:Bounds x="773" y="142" width="36" height="36" />
627 <dc:Bounds x="701" y="183" width="90" height="12" />
630 <bpmndi:BPMNEdge id="SequenceFlow_0h5cld9_di" bpmnElement="SequenceFlow_0h5cld9">
631 <di:waypoint xsi:type="dc:Point" x="725" y="160" />
632 <di:waypoint xsi:type="dc:Point" x="773" y="160" />
634 <dc:Bounds x="730" y="166" width="18" height="12" />
637 <bpmndi:BPMNShape id="ExclusiveGateway_1qozral_di" bpmnElement="ExclusiveGateway_1qozral" isMarkerVisible="true">
638 <dc:Bounds x="645" y="9" width="50" height="50" />
640 <dc:Bounds x="628" y="66" width="86" height="12" />
643 <bpmndi:BPMNEdge id="SequenceFlow_1xggje5_di" bpmnElement="SequenceFlow_1xggje5">
644 <di:waypoint xsi:type="dc:Point" x="670" y="9" />
645 <di:waypoint xsi:type="dc:Point" x="670" y="-65" />
647 <dc:Bounds x="678" y="-26" width="18" height="12" />
650 <bpmndi:BPMNEdge id="SequenceFlow_1y7d5qk_di" bpmnElement="SequenceFlow_1y7d5qk">
651 <di:waypoint xsi:type="dc:Point" x="695" y="34" />
652 <di:waypoint xsi:type="dc:Point" x="762" y="34" />
654 <dc:Bounds x="713" y="37" width="12" height="12" />
657 <bpmndi:BPMNShape id="ExclusiveGateway_0c8x2mq_di" bpmnElement="ExclusiveGateway_0c8x2mq" isMarkerVisible="true">
658 <dc:Bounds x="520" y="342" width="50" height="50" />
660 <dc:Bounds x="502" y="402" width="86" height="24" />
663 <bpmndi:BPMNEdge id="SequenceFlow_020dbkp_di" bpmnElement="SequenceFlow_020dbkp">
664 <di:waypoint xsi:type="dc:Point" x="545" y="342" />
665 <di:waypoint xsi:type="dc:Point" x="545" y="309" />
667 <dc:Bounds x="515" y="321.9537912405942" width="18" height="12" />
670 <bpmndi:BPMNEdge id="SequenceFlow_0u8zesf_di" bpmnElement="SequenceFlow_0u8zesf">
671 <di:waypoint xsi:type="dc:Point" x="570" y="367" />
672 <di:waypoint xsi:type="dc:Point" x="651" y="367" />
674 <dc:Bounds x="585" y="372" width="15" height="12" />
677 <bpmndi:BPMNEdge id="SequenceFlow_1b7348f_di" bpmnElement="SequenceFlow_1b7348f">
678 <di:waypoint xsi:type="dc:Point" x="560" y="34" />
679 <di:waypoint xsi:type="dc:Point" x="645" y="34" />
681 <dc:Bounds x="602.5" y="13" width="0" height="12" />
684 <bpmndi:BPMNShape id="ScriptTask_19vqej7_di" bpmnElement="Task_1o3z68c">
685 <dc:Bounds x="460" y="-6" width="100" height="80" />
687 <bpmndi:BPMNEdge id="SequenceFlow_09i6f7t_di" bpmnElement="SequenceFlow_09i6f7t">
688 <di:waypoint xsi:type="dc:Point" x="545" y="229" />
689 <di:waypoint xsi:type="dc:Point" x="545" y="200" />
691 <dc:Bounds x="560" y="208.5" width="0" height="12" />
694 <bpmndi:BPMNShape id="ScriptTask_1s0bky7_di" bpmnElement="Task_09om99x">
695 <dc:Bounds x="495" y="229" width="100" height="80" />
698 </bpmndi:BPMNDiagram>