aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/CreateVfModuleVolumeInfraV1.bpmn
blob: c1e60ba46be1749ac3d455f0ffeaeb7d65b846ce (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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
<
id='n383' href='#n383'>383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515
<?xml version="1.0" encoding="UTF-8"?>
<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="_CyftwG_HEeaKe-v4u9MasA" targetNamespace="http://camunda.org/schema/1.0/bpmn" exporter="Camunda Modeler" exporterVersion="1.8.0" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd">
  <bpmn2:process id="CreateVfModuleVolumeInfraV1" name="CreateVfModuleVolumeInfraV1" isExecutable="true">
    <bpmn2:startEvent id="StartEvent_createVfModuleVolumeInfraV1">
      <bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>
    </bpmn2:startEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_1" name="" sourceRef="StartEvent_createVfModuleVolumeInfraV1" targetRef="ScriptTask_preProcessRequest" />
    <bpmn2:subProcess id="SubProcess_exceptionHandler" name="Exception Handler" triggeredByEvent="true">
      <bpmn2:startEvent id="StartEvent_catchErrors" name="Catch Exceptions">
        <bpmn2:outgoing>SequenceFlow_1tfi3sp</bpmn2:outgoing>
        <bpmn2:errorEventDefinition id="ErrorEventDefinition_2" />
      </bpmn2:startEvent>
      <bpmn2:exclusiveGateway id="ExclusiveGateway_isSyncResponseSent" name="Sync response sent?" default="SequenceFlow_0x34g02">
        <bpmn2:incoming>SequenceFlow_1tfi3sp</bpmn2:incoming>
        <bpmn2:outgoing>SequenceFlow_0x34g02</bpmn2:outgoing>
        <bpmn2:outgoing>SequenceFlow_1q9kksk</bpmn2:outgoing>
      </bpmn2:exclusiveGateway>
      <bpmn2:scriptTask id="ScriptTask_sendSyncErrorResp" name="Send sync error response" scriptFormat="groovy">
        <bpmn2:incoming>SequenceFlow_0x34g02</bpmn2:incoming>
        <bpmn2:outgoing>SequenceFlow_22</bpmn2:outgoing>
        <bpmn2:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
def createVfModuleVolumeInfraV1 = new CreateVfModuleVolumeInfraV1()
createVfModuleVolumeInfraV1.executeMethod('sendSyncError', execution, isDebugLogEnabled)]]></bpmn2:script>
      </bpmn2:scriptTask>
      <bpmn2:sequenceFlow id="SequenceFlow_22" name="" sourceRef="ScriptTask_sendSyncErrorResp" targetRef="ExclusiveGateway_0of872x" />
      <bpmn2:scriptTask id="ScriptTask_prefalloutHandlerRequest" name="Prepare Fallout Handler Request" scriptFormat="groovy">
        <bpmn2:incoming>SequenceFlow_1v1jx7y</bpmn2:incoming>
        <bpmn2:outgoing>SequenceFlow_18</bpmn2:outgoing>
        <bpmn2:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
def createVfModuleVolumeInfraV1 = new CreateVfModuleVolumeInfraV1()
createVfModuleVolumeInfraV1.executeMethod('prepareFalloutHandlerRequest', execution, isDebugLogEnabled)
]]></bpmn2:script>
      </bpmn2:scriptTask>
      <bpmn2:sequenceFlow id="SequenceFlow_18" name="" sourceRef="ScriptTask_prefalloutHandlerRequest" targetRef="CallActivity_callFalloutHandler" />
      <bpmn2:callActivity id="CallActivity_callFalloutHandler" name="Call Fallout Handler" calledElement="FalloutHandler">
        <bpmn2:extensionElements>
          <camunda:in source="CVMVINFRAV1_FalloutHandlerRequest" target="FalloutHandlerRequest" />
          <camunda:in source="mso-request-id" target="mso-request-id" />
          <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
          <camunda:out source="FH_ResponseCode" target="FH_ResponseCode" />
          <camunda:out source="FalloutHandlerResponse" target="FalloutHandlerResponse" />
          <camunda:out source="FH_ErrorResponse" target="FH_ErrorResponse" />
          <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
        </bpmn2:extensionElements>
        <bpmn2:incoming>SequenceFlow_18</bpmn2:incoming>
        <bpmn2:outgoing>SequenceFlow_19</bpmn2:outgoing>
      </bpmn2:callActivity>
      <bpmn2:sequenceFlow id="SequenceFlow_19" name="" sourceRef="CallActivity_callFalloutHandler" targetRef="EndEvent_4" />
      <bpmn2:endEvent id="EndEvent_4" name="End">
        <bpmn2:incoming>SequenceFlow_19</bpmn2:incoming>
        <bpmn2:terminateEventDefinition id="TerminateEventDefinition_2" />
      </bpmn2:endEvent>
      <bpmn2:exclusiveGateway id="ExclusiveGateway_09n39bk" name="Is rollback on?" default="SequenceFlow_1cu5t8k">
        <bpmn2:incoming>SequenceFlow_1q9kksk</bpmn2:incoming>
        <bpmn2:outgoing>SequenceFlow_1cu5t8k</bpmn2:outgoing>
        <bpmn2:outgoing>SequenceFlow_1tfh1vm</bpmn2:outgoing>
      </bpmn2:exclusiveGateway>
      <bpmn2:scriptTask id="Task_0nc3wxy" name="Log and save original exception" scriptFormat="groovy">
        <bpmn2:incoming>SequenceFlow_1tfh1vm</bpmn2:incoming>
        <bpmn2:outgoing>SequenceFlow_0b1nrfk</bpmn2:outgoing>
        <bpmn2:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
def createVfModuleVolumeInfraV1 = new CreateVfModuleVolumeInfraV1()
createVfModuleVolumeInfraV1.executeMethod('logAndSaveOriginalException', execution, isDebugLogEnabled)]]></bpmn2:script>
      </bpmn2:scriptTask>
      <bpmn2:callActivity id="Task_1b9yx6k" name="DoCreateVfModuleVolumeRollback" calledElement="DoCreateVfModuleVolumeRollback">
        <bpmn2:extensionElements>
          <camunda:in source="requestId" target="mso-request-id" />
          <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
          <camunda:in source="serviceInstanceId" target="serviceInstanceId" />
          <camunda:in source="rollbackData" target="rollbackData" />
          <camunda:in source="workflowException" target="workflowException" />
          <camunda:out source="wasDeleted" target="wasDeleted" />
          <camunda:in source="rolledBack" target="rolledBack" />
          <camunda:in source="workflowException" target="workflowException" />
        </bpmn2:extensionElements>
        <bpmn2:incoming>SequenceFlow_0b1nrfk</bpmn2:incoming>
        <bpmn2:outgoing>SequenceFlow_08vm13o</bpmn2:outgoing>
      </bpmn2:callActivity>
      <bpmn2:scriptTask id="Task_1lkduwj" name="Validate Rollback Response" scriptFormat="groovy">
        <bpmn2:incoming>SequenceFlow_08vm13o</bpmn2:incoming>
        <bpmn2:outgoing>SequenceFlow_097zy8w</bpmn2:outgoing>
        <bpmn2:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
def createVfModuleVolumeInfraV1 = new CreateVfModuleVolumeInfraV1()
createVfModuleVolumeInfraV1.executeMethod('validateRollbackResponse', execution, isDebugLogEnabled)]]></bpmn2:script>
      </bpmn2:scriptTask>
      <bpmn2:inclusiveGateway id="ExclusiveGateway_0of872x">
        <bpmn2:incoming>SequenceFlow_22</bpmn2:incoming>
        <bpmn2:incoming>SequenceFlow_1cu5t8k</bpmn2:incoming>
        <bpmn2:incoming>SequenceFlow_097zy8w</bpmn2:incoming>
        <bpmn2:outgoing>SequenceFlow_1v1jx7y</bpmn2:outgoing>
      </bpmn2:inclusiveGateway>
      <bpmn2:sequenceFlow id="SequenceFlow_1tfi3sp" sourceRef="StartEvent_catchErrors" targetRef="ExclusiveGateway_isSyncResponseSent" />
      <bpmn2:sequenceFlow id="SequenceFlow_0x34g02" name="No" sourceRef="ExclusiveGateway_isSyncResponseSent" targetRef="ScriptTask_sendSyncErrorResp" />
      <bpmn2:sequenceFlow id="SequenceFlow_1q9kksk" name="Yes" sourceRef="ExclusiveGateway_isSyncResponseSent" targetRef="ExclusiveGateway_09n39bk">
        <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("CVMVINFRAV1_syncResponseSent") == true}]]></bpmn2:conditionExpression>
      </bpmn2:sequenceFlow>
      <bpmn2:sequenceFlow id="SequenceFlow_1cu5t8k" name="No" sourceRef="ExclusiveGateway_09n39bk" targetRef="ExclusiveGateway_0of872x" />
      <bpmn2:sequenceFlow id="SequenceFlow_1tfh1vm" name="Yes" sourceRef="ExclusiveGateway_09n39bk" targetRef="Task_0nc3wxy">
        <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("CVMVINFRAV1_backoutOnFailure") == true}]]></bpmn2:conditionExpression>
      </bpmn2:sequenceFlow>
      <bpmn2:sequenceFlow id="SequenceFlow_0b1nrfk" sourceRef="Task_0nc3wxy" targetRef="Task_1b9yx6k" />
      <bpmn2:sequenceFlow id="SequenceFlow_08vm13o" sourceRef="Task_1b9yx6k" targetRef="Task_1lkduwj" />
      <bpmn2:sequenceFlow id="SequenceFlow_097zy8w" sourceRef="Task_1lkduwj" targetRef="ExclusiveGateway_0of872x" />
      <bpmn2:sequenceFlow id="SequenceFlow_1v1jx7y" sourceRef="ExclusiveGateway_0of872x" targetRef="ScriptTask_prefalloutHandlerRequest" />
    </bpmn2:subProcess>
    <bpmn2:scriptTask id="ScriptTask_preProcessRequest" name="Preprocess Request" scriptFormat="groovy">
      <bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_4</bpmn2:outgoing>
      <bpmn2:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
def createVfModuleVolumeInfraV1 = new CreateVfModuleVolumeInfraV1()
createVfModuleVolumeInfraV1.executeMethod('preProcessRequest', execution, isDebugLogEnabled)]]></bpmn2:script>
    </bpmn2:scriptTask>
    <bpmn2:sequenceFlow id="SequenceFlow_4" name="" sourceRef="ScriptTask_preProcessRequest" targetRef="ScriptTask_sendSyncAckResponse" />
    <bpmn2:scriptTask id="ScriptTask_sendSyncAckResponse" name="Send Sync Ack Response" scriptFormat="groovy">
      <bpmn2:incoming>SequenceFlow_4</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_3</bpmn2:outgoing>
      <bpmn2:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
def createVfModuleVolumeInfraV1 = new CreateVfModuleVolumeInfraV1()
createVfModuleVolumeInfraV1.executeMethod('sendSyncResponse', execution, isDebugLogEnabled)]]></bpmn2:script>
    </bpmn2:scriptTask>
    <bpmn2:sequenceFlow id="SequenceFlow_3" name="" sourceRef="ScriptTask_sendSyncAckResponse" targetRef="ExclusiveGateway_isVolGrpnamePresent" />
    <bpmn2:exclusiveGateway id="ExclusiveGateway_isVolGrpnamePresent" name="Is volume group name present?" default="SequenceFlow_volGrpNameMissing">
      <bpmn2:incoming>SequenceFlow_3</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_volGrpNamePresent</bpmn2:outgoing>
      <bpmn2:outgoing>SequenceFlow_volGrpNameMissing</bpmn2:outgoing>
    </bpmn2:exclusiveGateway>
    <bpmn2:sequenceFlow id="SequenceFlow_volGrpNamePresent" name="" sourceRef="ExclusiveGateway_isVolGrpnamePresent" targetRef="CallActivity_doCreateVfModuleVolumeV2">
      <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{volumeGroupName != null  && volumeGroupName != "" }]]></bpmn2:conditionExpression>
    </bpmn2:sequenceFlow>
    <bpmn2:sequenceFlow id="SequenceFlow_volGrpNameMissing" name="" sourceRef="ExclusiveGateway_isVolGrpnamePresent" targetRef="ScriptTask_buildError" />
    <bpmn2:scriptTask id="ScriptTask_buildError" name="Build Error" scriptFormat="groovy">
      <bpmn2:incoming>SequenceFlow_volGrpNameMissing</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_7</bpmn2:outgoing>
      <bpmn2:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
def createVfModuleVolumeInfraV1 = new CreateVfModuleVolumeInfraV1()
createVfModuleVolumeInfraV1.executeMethod('buildWorkflowException', execution, 2500, "Volume group name not present in request.", isDebugLogEnabled)]]></bpmn2:script>
    </bpmn2:scriptTask>
    <bpmn2:sequenceFlow id="SequenceFlow_7" name="" sourceRef="ScriptTask_buildError" targetRef="EndEvent_2" />
    <bpmn2:endEvent id="EndEvent_2">
      <bpmn2:incoming>SequenceFlow_7</bpmn2:incoming>
      <bpmn2:errorEventDefinition id="ErrorEventDefinition_1" errorRef="Error_1" />
    </bpmn2:endEvent>
    <bpmn2:callActivity id="CallActivity_doCreateVfModuleVolumeV2" name="Call DoCreateVfModuleVolumeV2" calledElement="DoCreateVfModuleVolumeV2">
      <bpmn2:extensionElements>
        <camunda:out source="DCVFMODVOLV1_SuccessIndicator" target="DCVFMODVOLV1_SuccessIndicator" />
        <camunda:out source="WorkflowException" target="WorkflowException" />
        <camunda:in source="requestId" target="msoRequestId" />
        <camunda:in source="disableRollback" target="disableRollback" />
        <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
        <camunda:in source="failIfExists" target="failIfExists" />
        <camunda:in source="serviceInstanceId" target="serviceInstanceId" />
        <camunda:in source="vnfId" target="vnfId" />
        <camunda:in source="volumeGroupId" target="volumeGroupId" />
        <camunda:in source="vnfName" target="vnfName" />
        <camunda:in source="volumeGroupName" target="volumeGroupName" />
        <camunda:in source="vfModuleModelInfo" target="vfModuleModelInfo" />
        <camunda:in source="cloudOwner" target="cloudOwner" />
        <camunda:in source="lcpCloudRegionId" target="lcpCloudRegionId" />
        <camunda:in source="tenantId" target="tenantId" />
        <camunda:in source="vnfType" target="vnfType" />
        <camunda:in source="asdcServiceModelVersion" target="asdcServiceModelVersion" />
        <camunda:in source="test-volume-group-name" target="test-volume-group-name" />
        <camunda:in source="test-volume-group-id" target="test-volume-group-id" />
        <camunda:out source="rollbackData" target="rollbackData" />
        <camunda:in source="requestId" target="mso-request-id" />
        <camunda:in source="vfModuleInputParams" target="vfModuleInputParams" />
      </bpmn2:extensionElements>
      <bpmn2:incoming>SequenceFlow_volGrpNamePresent</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_0djjra2</bpmn2:outgoing>
    </bpmn2:callActivity>
    <bpmn2:scriptTask id="ScriptTask_setSuccessIndicator" name="Set Success Indicator" scriptFormat="groovy">
      <bpmn2:incoming>SequenceFlow_12</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_13</bpmn2:outgoing>
      <bpmn2:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
def createVfModuleVolumeInfraV1 = new CreateVfModuleVolumeInfraV1()
createVfModuleVolumeInfraV1.executeMethod('setSuccessIndicator', execution, true)]]></bpmn2:script>
    </bpmn2:scriptTask>
    <bpmn2:sequenceFlow id="SequenceFlow_13" name="" sourceRef="ScriptTask_setSuccessIndicator" targetRef="EndEvent_3" />
    <bpmn2:callActivity id="CallActivity_completeMsoProcess" name="Call CompleteMsoProcess" calledElement="CompleteMsoProcess">
      <bpmn2:extensionElements>
        <camunda:in source="CVMVINFRAV1_CompleteMsoProcessRequest" target="CompleteMsoProcessRequest" />
        <camunda:in source="mso-request-id" target="mso-request-id" />
        <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
        <camunda:out source="CMSO_ResponseCode" target="CMSO_ResponseCode" />
        <camunda:out source="CompleteMsoProcessResponse" target="CompleteMsoProcessResponse" />
        <camunda:out source="CMSO_ErrorResponse" target="CMSO_ErrorResponse" />
      </bpmn2:extensionElements>
      <bpmn2:incoming>SequenceFlow_11</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_12</bpmn2:outgoing>
    </bpmn2:callActivity>
    <bpmn2:sequenceFlow id="SequenceFlow_12" name="" sourceRef="CallActivity_completeMsoProcess" targetRef="ScriptTask_setSuccessIndicator" />
    <bpmn2:scriptTask id="ScriptTask_postCompletionRequest" name="Post Completion Request" scriptFormat="groovy">
      <bpmn2:incoming>SequenceFlow_8</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_11</bpmn2:outgoing>
      <bpmn2:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
def createVfModuleVolumeInfraV1 = new CreateVfModuleVolumeInfraV1()
createVfModuleVolumeInfraV1.executeMethod('postProcessResponse', execution, isDebugLogEnabled)]]></bpmn2:script>
    </bpmn2:scriptTask>
    <bpmn2:sequenceFlow id="SequenceFlow_11" name="" sourceRef="ScriptTask_postCompletionRequest" targetRef="CallActivity_completeMsoProcess" />
    <bpmn2:serviceTask id="ServiceTask_callDbInfraUpdate" name="Call DB Infra Update">
      <bpmn2:extensionElements>
        <camunda:connector>
          <camunda:inputOutput>
            <camunda:inputParameter name="url"><![CDATA[${UrnPropertiesReader.getVariable("mso.adapters.openecomp.db.endpoint", execution)}]]></camunda:inputParameter>
            <camunda:inputParameter name="payload">${CVMVINFRAV1_createDBRequest}</camunda:inputParameter>
            <camunda:inputParameter name="headers">
              <camunda:map>
                <camunda:entry key="content-type">application/soap+xml</camunda:entry>
                <camunda:entry key="Authorization">#{BasicAuthHeaderValueDB}</camunda:entry>
              </camunda:map>
            </camunda:inputParameter>
            <camunda:inputParameter name="method">POST</camunda:inputParameter>
            <camunda:outputParameter name="CVMVINFRAV1_createDBResponse">${response}</camunda:outputParameter>
            <camunda:outputParameter name="CVMVINFRAV1_dbReturnCode">${statusCode}</camunda:outputParameter>
          </camunda:inputOutput>
          <camunda:connectorId>http-connector</camunda:connectorId>
        </camunda:connector>
      </bpmn2:extensionElements>
      <bpmn2:incoming>SequenceFlow_6</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_8</bpmn2:outgoing>
    </bpmn2:serviceTask>
    <bpmn2:sequenceFlow id="SequenceFlow_8" name="" sourceRef="ServiceTask_callDbInfraUpdate" targetRef="ScriptTask_postCompletionRequest" />
    <bpmn2:endEvent id="EndEvent_3">
      <bpmn2:incoming>SequenceFlow_13</bpmn2:incoming>
      <bpmn2:terminateEventDefinition id="TerminateEventDefinition_1" />
    </bpmn2:endEvent>
    <bpmn2:scriptTask id="ScriptTask_prepareDbInfraRequest" name="Prepare DB Infra Request" scriptFormat="groovy">
      <bpmn2:incoming>SequenceFlow_0djjra2</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_6</bpmn2:outgoing>
      <bpmn2:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
def createVfModuleVolumeInfraV1 = new CreateVfModuleVolumeInfraV1()
createVfModuleVolumeInfraV1.executeMethod('prepareDbInfraSuccessRequest', execution, isDebugLogEnabled)]]></bpmn2:script>
    </bpmn2:scriptTask>
    <bpmn2:sequenceFlow id="SequenceFlow_6" name="" sourceRef="ScriptTask_prepareDbInfraRequest" targetRef="ServiceTask_callDbInfraUpdate" />
    <bpmn2:sequenceFlow id="SequenceFlow_0djjra2" sourceRef="CallActivity_doCreateVfModuleVolumeV2" targetRef="ScriptTask_prepareDbInfraRequest" />
  </bpmn2:process>
  <bpmn2:error id="Error_1" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="CreateVfModuleVolumeInfraV1">
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_67" bpmnElement="StartEvent_createVfModuleVolumeInfraV1">
        <dc:Bounds x="201" y="156" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="219" y="197" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="_BPMNShape_StartEvent_67" targetElement="_BPMNShape_ScriptTask_300">
        <di:waypoint xsi:type="dc:Point" x="237" y="174" />
        <di:waypoint xsi:type="dc:Point" x="271" y="174" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="254" y="159" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_300" bpmnElement="ScriptTask_preProcessRequest">
        <dc:Bounds x="271" y="134" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_301" bpmnElement="ScriptTask_sendSyncAckResponse">
        <dc:Bounds x="404" y="134" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_249" bpmnElement="ExclusiveGateway_isVolGrpnamePresent" isMarkerVisible="true">
        <dc:Bounds x="556" y="149" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="540" y="204" width="81" height="24" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_302" bpmnElement="ScriptTask_buildError">
        <dc:Bounds x="531" y="253" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_CallActivity_36" bpmnElement="CallActivity_doCreateVfModuleVolumeV2">
        <dc:Bounds x="705" y="134" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_2" bpmnElement="SequenceFlow_volGrpNamePresent" sourceElement="_BPMNShape_ExclusiveGateway_249">
        <di:waypoint xsi:type="dc:Point" x="606" y="174" />
        <di:waypoint xsi:type="dc:Point" x="705" y="174" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="656" y="159" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_3" bpmnElement="SequenceFlow_3" sourceElement="_BPMNShape_ScriptTask_301" targetElement="_BPMNShape_ExclusiveGateway_249">
        <di:waypoint xsi:type="dc:Point" x="504" y="175" />
        <di:waypoint xsi:type="dc:Point" x="556" y="174" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="530" y="159.5" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_4" bpmnElement="SequenceFlow_4" sourceElement="_BPMNShape_ScriptTask_300" targetElement="_BPMNShape_ScriptTask_301">
        <di:waypoint xsi:type="dc:Point" x="371" y="174" />
        <di:waypoint xsi:type="dc:Point" x="404" y="174" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="388" y="159" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_6" bpmnElement="SequenceFlow_volGrpNameMissing" sourceElement="_BPMNShape_ExclusiveGateway_249" targetElement="_BPMNShape_ScriptTask_302">
        <di:waypoint xsi:type="dc:Point" x="581" y="199" />
        <di:waypoint xsi:type="dc:Point" x="582" y="253" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="582" y="211" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_EndEvent_233" bpmnElement="EndEvent_2">
        <dc:Bounds x="563" y="379" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="581" y="420" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_7" bpmnElement="SequenceFlow_7" sourceElement="_BPMNShape_ScriptTask_302" targetElement="_BPMNShape_EndEvent_233">
        <di:waypoint xsi:type="dc:Point" x="580" y="333" />
        <di:waypoint xsi:type="dc:Point" x="581" y="379" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="581" y="341" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_EndEvent_234" bpmnElement="EndEvent_3">
        <dc:Bounds x="1456" y="156" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1474" y="197" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_SubProcess_22" bpmnElement="SubProcess_exceptionHandler" isExpanded="true">
        <dc:Bounds x="213" y="461" width="895" height="549" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_68" bpmnElement="StartEvent_catchErrors">
        <dc:Bounds x="263" y="771" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="239" y="812" width="86" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_EndEvent_235" bpmnElement="EndEvent_4">
        <dc:Bounds x="989" y="771" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1042" y="778" width="19" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_304" bpmnElement="ScriptTask_prepareDbInfraRequest">
        <dc:Bounds x="835" y="134" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_ServiceTask_103" bpmnElement="ServiceTask_callDbInfraUpdate">
        <dc:Bounds x="963" y="134" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_305" bpmnElement="ScriptTask_postCompletionRequest">
        <dc:Bounds x="1086" y="134" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_CallActivity_37" bpmnElement="CallActivity_completeMsoProcess">
        <dc:Bounds x="1211" y="134" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_11" bpmnElement="SequenceFlow_6" sourceElement="_BPMNShape_ScriptTask_304" targetElement="_BPMNShape_ServiceTask_103">
        <di:waypoint xsi:type="dc:Point" x="935" y="174" />
        <di:waypoint xsi:type="dc:Point" x="963" y="174" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="949" y="159" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_12" bpmnElement="SequenceFlow_8" sourceElement="_BPMNShape_ServiceTask_103" targetElement="_BPMNShape_ScriptTask_305">
        <di:waypoint xsi:type="dc:Point" x="1063" y="174" />
        <di:waypoint xsi:type="dc:Point" x="1086" y="174" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1075" y="159" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_13" bpmnElement="SequenceFlow_11" sourceElement="_BPMNShape_ScriptTask_305" targetElement="_BPMNShape_CallActivity_37">
        <di:waypoint xsi:type="dc:Point" x="1186" y="174" />
        <di:waypoint xsi:type="dc:Point" x="1211" y="174" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1199" y="159" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_306" bpmnElement="ScriptTask_setSuccessIndicator">
        <dc:Bounds x="1337" y="134" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_14" bpmnElement="SequenceFlow_12" sourceElement="_BPMNShape_CallActivity_37" targetElement="_BPMNShape_ScriptTask_306">
        <di:waypoint xsi:type="dc:Point" x="1311" y="174" />
        <di:waypoint xsi:type="dc:Point" x="1337" y="174" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1324" y="159" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_15" bpmnElement="SequenceFlow_13" sourceElement="_BPMNShape_ScriptTask_306" targetElement="_BPMNShape_EndEvent_234">
        <di:waypoint xsi:type="dc:Point" x="1437" y="173" />
        <di:waypoint xsi:type="dc:Point" x="1456" y="173" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1447" y="158" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_307" bpmnElement="ScriptTask_prefalloutHandlerRequest">
        <dc:Bounds x="725" y="749" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_CallActivity_50" bpmnElement="CallActivity_callFalloutHandler">
        <dc:Bounds x="858" y="749" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_20" bpmnElement="SequenceFlow_18" sourceElement="_BPMNShape_ScriptTask_307" targetElement="_BPMNShape_CallActivity_50">
        <di:waypoint xsi:type="dc:Point" x="825" y="789" />
        <di:waypoint xsi:type="dc:Point" x="858" y="789" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="842" y="774" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_21" bpmnElement="SequenceFlow_19" sourceElement="_BPMNShape_CallActivity_50" targetElement="_BPMNShape_EndEvent_235">
        <di:waypoint xsi:type="dc:Point" x="958" y="789" />
        <di:waypoint xsi:type="dc:Point" x="989" y="789" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="974" y="774" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_251" bpmnElement="ExclusiveGateway_isSyncResponseSent" isMarkerVisible="true">
        <dc:Bounds x="380" y="764" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="367" y="819" width="77" height="24" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_308" bpmnElement="ScriptTask_sendSyncErrorResp">
        <dc:Bounds x="355" y="879" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_24" bpmnElement="SequenceFlow_22" sourceElement="_BPMNShape_ScriptTask_308" targetElement="_BPMNShape_ScriptTask_307">
        <di:waypoint xsi:type="dc:Point" x="455" y="919" />
        <di:waypoint xsi:type="dc:Point" x="664" y="919" />
        <di:waypoint xsi:type="dc:Point" x="664" y="814" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="560" y="904" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="ExclusiveGateway_09n39bk_di" bpmnElement="ExclusiveGateway_09n39bk" isMarkerVisible="true">
        <dc:Bounds x="492.646" y="764" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="482" y="814" width="71" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ScriptTask_0z3e4ts_di" bpmnElement="Task_0nc3wxy">
        <dc:Bounds x="468" y="644" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="CallActivity_1td0fj3_di" bpmnElement="Task_1b9yx6k">
        <dc:Bounds x="468" y="530" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ScriptTask_0mld0ou_di" bpmnElement="Task_1lkduwj">
        <dc:Bounds x="614" y="530" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="InclusiveGateway_1gkubx4_di" bpmnElement="ExclusiveGateway_0of872x">
        <dc:Bounds x="639" y="764" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="664" y="814" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_1tfi3sp_di" bpmnElement="SequenceFlow_1tfi3sp">
        <di:waypoint xsi:type="dc:Point" x="299" y="789" />
        <di:waypoint xsi:type="dc:Point" x="380" y="789" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="340" y="764" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_0x34g02_di" bpmnElement="SequenceFlow_0x34g02">
        <di:waypoint xsi:type="dc:Point" x="405" y="814" />
        <di:waypoint xsi:type="dc:Point" x="405" y="879" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="413" y="847" width="14" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_1q9kksk_di" bpmnElement="SequenceFlow_1q9kksk">
        <di:waypoint xsi:type="dc:Point" x="430" y="789" />
        <di:waypoint xsi:type="dc:Point" x="493" y="789" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="453" y="764" width="18" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_1cu5t8k_di" bpmnElement="SequenceFlow_1cu5t8k">
        <di:waypoint xsi:type="dc:Point" x="543" y="789" />
        <di:waypoint xsi:type="dc:Point" x="639" y="789" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="584" y="764" width="14" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_1tfh1vm_di" bpmnElement="SequenceFlow_1tfh1vm">
        <di:waypoint xsi:type="dc:Point" x="518" y="764" />
        <di:waypoint xsi:type="dc:Point" x="518" y="724" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="524" y="734" width="18" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_0b1nrfk_di" bpmnElement="SequenceFlow_0b1nrfk">
        <di:waypoint xsi:type="dc:Point" x="518" y="644" />
        <di:waypoint xsi:type="dc:Point" x="518" y="610" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="533" y="627" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_08vm13o_di" bpmnElement="SequenceFlow_08vm13o">
        <di:waypoint xsi:type="dc:Point" x="568" y="570" />
        <di:waypoint xsi:type="dc:Point" x="591" y="570" />
        <di:waypoint xsi:type="dc:Point" x="591" y="570" />
        <di:waypoint xsi:type="dc:Point" x="614" y="570" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="606" y="570" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_097zy8w_di" bpmnElement="SequenceFlow_097zy8w">
        <di:waypoint xsi:type="dc:Point" x="664" y="610" />
        <di:waypoint xsi:type="dc:Point" x="664" y="764" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="679" y="687" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_1v1jx7y_di" bpmnElement="SequenceFlow_1v1jx7y">
        <di:waypoint xsi:type="dc:Point" x="689" y="789" />
        <di:waypoint xsi:type="dc:Point" x="725" y="789" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="707" y="774" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_0djjra2_di" bpmnElement="SequenceFlow_0djjra2">
        <di:waypoint xsi:type="dc:Point" x="805" y="174" />
        <di:waypoint xsi:type="dc:Point" x="835" y="174" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="820" y="159" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn2:definitions>