Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.4.0"> |
| 3 | <bpmn:process id="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.onap.so.bpmn.infrastructure.scripts.* |
| 11 | def doCreateVnfAndModules = new DoCreateVnfAndModules() |
| 12 | doCreateVnfAndModules.preProcessRequest(execution)]]></bpmn:script> |
| 13 | </bpmn:scriptTask> |
| 14 | <bpmn:callActivity id="CreateBaseVfModule" name="Create Base VF Module" calledElement="DoCreateVfModule"> |
| 15 | <bpmn:extensionElements> |
| 16 | <camunda:in source="msoRequestId" target="msoRequestId" /> |
| 17 | <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" /> |
| 28 | <camunda:in source="isBaseVfModule" target="isBaseVfModule" /> |
| 29 | <camunda:in source="asdcServiceModelVersion" target="asdcServiceModelVersion" /> |
| 30 | <camunda:out source="vfModuleId" target="createdVfModuleId" /> |
| 31 | <camunda:out source="vfModuleOutputParams" target="createdVfModuleOutputParams" /> |
| 32 | <camunda:out source="rollbackData" target="DCVAM_baseRollbackData" /> |
| 33 | <camunda:out source="WorkflowException" target="WorkflowException" /> |
| 34 | <camunda:in source="serviceInstanceId" target="serviceInstanceId" /> |
| 35 | <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" /> |
Benjamin, Max (mb388a) | 6ba0a22 | 2018-10-11 13:55:37 -0400 | [diff] [blame] | 39 | <camunda:in source="cloudOwner" target="cloudOwner" /> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 40 | <camunda:in source="lcpCloudRegionId" target="lcpCloudRegionId" /> |
| 41 | <camunda:in source="tenantId" target="tenantId" /> |
| 42 | <camunda:in source="false" target="usePreload" /> |
| 43 | <camunda:in source="aLaCarte" target="aLaCarte" /> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 44 | </bpmn:extensionElements> |
| 45 | <bpmn:incoming>SequenceFlow_1hf7k7q</bpmn:incoming> |
| 46 | <bpmn:outgoing>SequenceFlow_1ixcnb6</bpmn:outgoing> |
| 47 | </bpmn:callActivity> |
| 48 | <bpmn:sequenceFlow id="SequenceFlow_0o4vuzt" sourceRef="StartEvent_1" targetRef="PreProcessRequest" /> |
| 49 | <bpmn:sequenceFlow id="SequenceFlow_1xd3ri5" sourceRef="PreProcessRequest" targetRef="QueryCatalogDB" /> |
| 50 | <bpmn:callActivity id="CreateAddOnVfModule" name="Create Add-On VF Module" calledElement="DoCreateVfModule"> |
| 51 | <bpmn:extensionElements> |
| 52 | <camunda:in source="msoRequestId" target="msoRequestId" /> |
| 53 | <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" /> |
| 54 | <camunda:in source="disableRollback" target="disableRollback" /> |
| 55 | <camunda:in source="vnfType" target="vnfType" /> |
| 56 | <camunda:in source="vnfName" target="vnfName" /> |
| 57 | <camunda:in source="vnfId" target="vnfId" /> |
| 58 | <camunda:in source="addOnVfModuleName" target="vfModuleName" /> |
| 59 | <camunda:in source="vfModuleType" target="vfModuleType" /> |
| 60 | <camunda:in source="addOnVfModuleId" target="vfModuleId" /> |
| 61 | <camunda:in source="volumeGroupId" target="volumeGroupId" /> |
| 62 | <camunda:in source="volumeGroupName" target="volumeGroupName" /> |
| 63 | <camunda:in source="addOnVfModuleModelInfo" target="vfModuleModelInfo" /> |
| 64 | <camunda:in source="isBaseVfModule" target="isBaseVfModule" /> |
| 65 | <camunda:in source="asdcServiceModelVersion" target="asdcServiceModelVersion" /> |
| 66 | <camunda:out source="vfModuleId" target="createdVfModuleId" /> |
| 67 | <camunda:out source="vfModuleOutputParameters" target="createdVfModuleOutputParameters" /> |
| 68 | <camunda:out source="rollbackData" target="DCVAM_addOnRollbackData" /> |
| 69 | <camunda:out source="WorkflowException" target="WorkflowException" /> |
| 70 | <camunda:in source="serviceInstanceId" target="serviceInstanceId" /> |
| 71 | <camunda:in source="serviceModelInfo" target="serviceModelInfo" /> |
| 72 | <camunda:in source="vnfModelInfo" target="vnfModelInfo" /> |
| 73 | <camunda:in source="globalSubscriberId" target="globalSubscriberId" /> |
| 74 | <camunda:in source="sdncVersion" target="sdncVersion" /> |
Benjamin, Max (mb388a) | 6ba0a22 | 2018-10-11 13:55:37 -0400 | [diff] [blame] | 75 | <camunda:in source="cloudOwner" target="cloudOwner" /> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 76 | <camunda:in source="lcpCloudRegionId" target="lcpCloudRegionId" /> |
| 77 | <camunda:in source="tenantId" target="tenantId" /> |
| 78 | <camunda:in source="false" target="usePreload" /> |
| 79 | <camunda:in source="aLaCarte" target="aLaCarte" /> |
| 80 | </bpmn:extensionElements> |
| 81 | <bpmn:incoming>SequenceFlow_1lh21yl</bpmn:incoming> |
| 82 | <bpmn:outgoing>SequenceFlow_1llbx0k</bpmn:outgoing> |
| 83 | </bpmn:callActivity> |
| 84 | <bpmn:scriptTask id="Task_1lfmdks" name="Validate Create Add-On VF Module Response" scriptFormat="groovy"> |
| 85 | <bpmn:incoming>SequenceFlow_1llbx0k</bpmn:incoming> |
| 86 | <bpmn:outgoing>SequenceFlow_1mguf2m</bpmn:outgoing> |
| 87 | <bpmn:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.* |
| 88 | def doCreateVnfAndModules = new DoCreateVnfAndModules() |
| 89 | doCreateVnfAndModules.validateAddOnModule(execution)]]></bpmn:script> |
| 90 | </bpmn:scriptTask> |
| 91 | <bpmn:endEvent id="EndEvent_0v6povc"> |
| 92 | <bpmn:incoming>SequenceFlow_132bohl</bpmn:incoming> |
| 93 | <bpmn:terminateEventDefinition /> |
| 94 | </bpmn:endEvent> |
| 95 | <bpmn:sequenceFlow id="SequenceFlow_1llbx0k" sourceRef="CreateAddOnVfModule" targetRef="Task_1lfmdks" /> |
| 96 | <bpmn:exclusiveGateway id="ExclusiveGateway_1vyqr5o" name="Are there more add-on modules?" default="SequenceFlow_132bohl"> |
| 97 | <bpmn:extensionElements> |
| 98 | <camunda:properties> |
| 99 | <camunda:property /> |
| 100 | </camunda:properties> |
| 101 | </bpmn:extensionElements> |
| 102 | <bpmn:incoming>SequenceFlow_1a6wyuu</bpmn:incoming> |
| 103 | <bpmn:incoming>SequenceFlow_0j52dxv</bpmn:incoming> |
| 104 | <bpmn:outgoing>SequenceFlow_132bohl</bpmn:outgoing> |
| 105 | <bpmn:outgoing>SequenceFlow_0jz6bqn</bpmn:outgoing> |
| 106 | </bpmn:exclusiveGateway> |
| 107 | <bpmn:sequenceFlow id="SequenceFlow_132bohl" name="No" sourceRef="ExclusiveGateway_1vyqr5o" targetRef="EndEvent_0v6povc" /> |
| 108 | <bpmn:callActivity id="CreateVNF" name="Create VNF" calledElement="DoCreateVnf"> |
| 109 | <bpmn:extensionElements> |
| 110 | <camunda:in source="msoRequestId" target="msoRequestId" /> |
| 111 | <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" /> |
| 112 | <camunda:in source="disableRollback" target="disableRollback" /> |
| 113 | <camunda:in source="serviceInstanceId" target="serviceInstanceId" /> |
| 114 | <camunda:in source="vnfModelInfo" target="vnfModelInfo" /> |
| 115 | <camunda:in source="vnfType" target="vnfType" /> |
| 116 | <camunda:in source="vnfName" target="vnfName" /> |
| 117 | <camunda:in source="vnfId" target="vnfId" /> |
| 118 | <camunda:in source="vnfInputParameters" target="vnfInputParameters" /> |
| 119 | <camunda:in source="productFamilyId" target="productFamilyId" /> |
| 120 | <camunda:out source="vnfId" target="vnfId" /> |
| 121 | <camunda:out source="vnfOutputParams" target="vnfOutputParams" /> |
| 122 | <camunda:out source="rollbackData" target="rollbackData" /> |
| 123 | <camunda:out source="WorkflowException" target="WorkflowException" /> |
| 124 | <camunda:in source="serviceModelInfo" target="serviceModelInfo" /> |
| 125 | <camunda:in source="globalSubscriberId" target="globalSubscriberId" /> |
| 126 | <camunda:in source="sdncVersion" target="sdncVersion" /> |
| 127 | <camunda:out source="vnfName" target="vnfName" /> |
Benjamin, Max (mb388a) | 6ba0a22 | 2018-10-11 13:55:37 -0400 | [diff] [blame] | 128 | <camunda:in source="cloudOwner" target="cloudOwner" /> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 129 | <camunda:in source="lcpCloudRegionId" target="lcpCloudRegionId" /> |
| 130 | <camunda:in source="tenantId" target="tenantId" /> |
| 131 | <camunda:in source="rollbackData" target="rollbackData" /> |
| 132 | <camunda:in source="vnfResourceDecomposition" target="vnfResourceDecomposition" /> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 133 | </bpmn:extensionElements> |
| 134 | <bpmn:incoming>SequenceFlow_19ohb1a</bpmn:incoming> |
| 135 | <bpmn:outgoing>SequenceFlow_07u8e3l</bpmn:outgoing> |
| 136 | </bpmn:callActivity> |
| 137 | <bpmn:scriptTask id="PreProcessAddOnModule" name="PreProcess Add-On Module" scriptFormat="groovy"> |
| 138 | <bpmn:incoming>SequenceFlow_0jz6bqn</bpmn:incoming> |
| 139 | <bpmn:outgoing>SequenceFlow_12x4dvf</bpmn:outgoing> |
| 140 | <bpmn:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.* |
| 141 | def doCreateVnfAndModules = new DoCreateVnfAndModules() |
| 142 | doCreateVnfAndModules.preProcessAddOnModule(execution)]]></bpmn:script> |
| 143 | </bpmn:scriptTask> |
| 144 | <bpmn:scriptTask id="QueryCatalogDB" name="Query Catalog DB for VF Modules" scriptFormat="groovy"> |
| 145 | <bpmn:incoming>SequenceFlow_1xd3ri5</bpmn:incoming> |
| 146 | <bpmn:outgoing>SequenceFlow_19ohb1a</bpmn:outgoing> |
| 147 | <bpmn:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.* |
| 148 | def doCreateVnfAndModules = new DoCreateVnfAndModules() |
| 149 | doCreateVnfAndModules.queryCatalogDB(execution)]]></bpmn:script> |
| 150 | </bpmn:scriptTask> |
| 151 | <bpmn:exclusiveGateway id="ExclusiveGateway_1hx9s0y" name="Less than initialCount?" default="SequenceFlow_1vrogpr"> |
| 152 | <bpmn:incoming>SequenceFlow_1mguf2m</bpmn:incoming> |
| 153 | <bpmn:incoming>SequenceFlow_12x4dvf</bpmn:incoming> |
| 154 | <bpmn:outgoing>SequenceFlow_0kld3qt</bpmn:outgoing> |
| 155 | <bpmn:outgoing>SequenceFlow_1vrogpr</bpmn:outgoing> |
| 156 | </bpmn:exclusiveGateway> |
| 157 | <bpmn:sequenceFlow id="SequenceFlow_0jz6bqn" name="yes" sourceRef="ExclusiveGateway_1vyqr5o" targetRef="PreProcessAddOnModule"> |
| 158 | <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[#{execution.getVariable("addOnModulesDeployed") < execution.getVariable("addOnModulesToDeploy")}]]></bpmn:conditionExpression> |
| 159 | </bpmn:sequenceFlow> |
| 160 | <bpmn:sequenceFlow id="SequenceFlow_0kld3qt" name="yes" sourceRef="ExclusiveGateway_1hx9s0y" targetRef="GenerateAddOnModuleName"> |
| 161 | <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[#{execution.getVariable("instancesOfThisModuleDeployed") < execution.getVariable("initialCount")}]]></bpmn:conditionExpression> |
| 162 | </bpmn:sequenceFlow> |
| 163 | <bpmn:sequenceFlow id="SequenceFlow_1mguf2m" sourceRef="Task_1lfmdks" targetRef="ExclusiveGateway_1hx9s0y" /> |
| 164 | <bpmn:sequenceFlow id="SequenceFlow_1vrogpr" name="no" sourceRef="ExclusiveGateway_1hx9s0y" targetRef="PostProcessAddOnModule" /> |
| 165 | <bpmn:sequenceFlow id="SequenceFlow_1hf7k7q" sourceRef="GenerateBaseModuleName" targetRef="CreateBaseVfModule" /> |
| 166 | <bpmn:callActivity id="GenerateBaseModuleName" name="Generate Base Module Name" calledElement="GenerateVfModuleName"> |
| 167 | <bpmn:extensionElements> |
| 168 | <camunda:in source="vnfId" target="vnfId" /> |
| 169 | <camunda:in source="vnfName" target="vnfName" /> |
| 170 | <camunda:in source="baseVfModuleLabel" target="vfModuleLabel" /> |
| 171 | <camunda:in source="basePersonaModelId" target="personaModelId" /> |
| 172 | <camunda:out source="vfModuleName" target="baseVfModuleName" /> |
| 173 | <camunda:out source="WorkflowException" target="WorkflowException" /> |
| 174 | <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" /> |
| 175 | </bpmn:extensionElements> |
| 176 | <bpmn:incoming>SequenceFlow_07u8e3l</bpmn:incoming> |
| 177 | <bpmn:outgoing>SequenceFlow_1hf7k7q</bpmn:outgoing> |
| 178 | </bpmn:callActivity> |
| 179 | <bpmn:callActivity id="GenerateAddOnModuleName" name="Generate Add-On Module Name" calledElement="GenerateVfModuleName"> |
| 180 | <bpmn:extensionElements> |
| 181 | <camunda:in source="vnfId" target="vnfId" /> |
| 182 | <camunda:in source="vnfName" target="vnfName" /> |
| 183 | <camunda:in source="addOnVfModuleLabel" target="vfModuleLabel" /> |
| 184 | <camunda:in source="addOnPersonaModelId" target="personaModelId" /> |
| 185 | <camunda:out source="vfModuleName" target="addOnVfModuleName" /> |
| 186 | <camunda:out source="WorkflowException" target="WorkflowException" /> |
| 187 | <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" /> |
| 188 | </bpmn:extensionElements> |
| 189 | <bpmn:incoming>SequenceFlow_0kld3qt</bpmn:incoming> |
| 190 | <bpmn:outgoing>SequenceFlow_1lh21yl</bpmn:outgoing> |
| 191 | </bpmn:callActivity> |
| 192 | <bpmn:sequenceFlow id="SequenceFlow_1lh21yl" sourceRef="GenerateAddOnModuleName" targetRef="CreateAddOnVfModule" /> |
| 193 | <bpmn:sequenceFlow id="SequenceFlow_12x4dvf" sourceRef="PreProcessAddOnModule" targetRef="ExclusiveGateway_1hx9s0y" /> |
| 194 | <bpmn:sequenceFlow id="SequenceFlow_1ixcnb6" sourceRef="CreateBaseVfModule" targetRef="Task_054rz9i" /> |
| 195 | <bpmn:sequenceFlow id="SequenceFlow_1a6wyuu" sourceRef="Task_054rz9i" targetRef="ExclusiveGateway_1vyqr5o" /> |
| 196 | <bpmn:scriptTask id="Task_054rz9i" name="Validate Create Base VF Module Response" scriptFormat="groovy"> |
| 197 | <bpmn:incoming>SequenceFlow_1ixcnb6</bpmn:incoming> |
| 198 | <bpmn:outgoing>SequenceFlow_1a6wyuu</bpmn:outgoing> |
| 199 | <bpmn:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.* |
| 200 | def doCreateVnfAndModules = new DoCreateVnfAndModules() |
| 201 | doCreateVnfAndModules.validateBaseModule(execution)]]></bpmn:script> |
| 202 | </bpmn:scriptTask> |
| 203 | <bpmn:subProcess id="SubProcess_0u7tbb2" name="Sub-process for Application Errors" triggeredByEvent="true"> |
| 204 | <bpmn:endEvent id="EndEvent_16s0a3q"> |
| 205 | <bpmn:incoming>SequenceFlow_1h74w1v</bpmn:incoming> |
| 206 | </bpmn:endEvent> |
| 207 | <bpmn:callActivity id="CallActivity_0gtajjm" name="Call DoCreateVnfAndModulesRollback" calledElement="DoCreateVnfAndModulesRollback"> |
| 208 | <bpmn:extensionElements> |
| 209 | <camunda:in source="msoRequestId" target="msoRequestId" /> |
| 210 | <camunda:in source="rollbackData" target="rollbackData" /> |
| 211 | <camunda:in source="disableRollback" target="disableRollback" /> |
| 212 | <camunda:out source="rolledBack" target="rolledBack" /> |
| 213 | <camunda:out source="rollbackError" target="rollbackError" /> |
| 214 | <camunda:in source="sdncVersion" target="sdncVersion" /> |
| 215 | </bpmn:extensionElements> |
| 216 | <bpmn:incoming>SequenceFlow_03v8mmc</bpmn:incoming> |
| 217 | <bpmn:outgoing>SequenceFlow_0yu0im2</bpmn:outgoing> |
| 218 | </bpmn:callActivity> |
| 219 | <bpmn:scriptTask id="PreProcessRollback" name="Pre Process Rollback" scriptFormat="groovy"> |
| 220 | <bpmn:incoming>SequenceFlow_1l0rxnh</bpmn:incoming> |
| 221 | <bpmn:outgoing>SequenceFlow_03v8mmc</bpmn:outgoing> |
| 222 | <bpmn:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.* |
| 223 | def dcvam = new DoCreateVnfAndModules() |
| 224 | dcvam.preProcessRollback(execution)]]></bpmn:script> |
| 225 | </bpmn:scriptTask> |
| 226 | <bpmn:scriptTask id="PostProcessRollback" name="Post Process Rollback" scriptFormat="groovy"> |
| 227 | <bpmn:incoming>SequenceFlow_0yu0im2</bpmn:incoming> |
| 228 | <bpmn:outgoing>SequenceFlow_1h74w1v</bpmn:outgoing> |
| 229 | <bpmn:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.* |
| 230 | def dcvam = new DoCreateVnfAndModules() |
| 231 | dcvam.postProcessRollback(execution)]]></bpmn:script> |
| 232 | </bpmn:scriptTask> |
| 233 | <bpmn:sequenceFlow id="SequenceFlow_1l0rxnh" sourceRef="StartEvent_1nbwxby" targetRef="PreProcessRollback" /> |
| 234 | <bpmn:sequenceFlow id="SequenceFlow_1h74w1v" sourceRef="PostProcessRollback" targetRef="EndEvent_16s0a3q" /> |
| 235 | <bpmn:sequenceFlow id="SequenceFlow_03v8mmc" sourceRef="PreProcessRollback" targetRef="CallActivity_0gtajjm" /> |
| 236 | <bpmn:sequenceFlow id="SequenceFlow_0yu0im2" sourceRef="CallActivity_0gtajjm" targetRef="PostProcessRollback" /> |
| 237 | <bpmn:startEvent id="StartEvent_1nbwxby"> |
| 238 | <bpmn:outgoing>SequenceFlow_1l0rxnh</bpmn:outgoing> |
| 239 | <bpmn:errorEventDefinition errorRef="Error_2" /> |
| 240 | </bpmn:startEvent> |
| 241 | </bpmn:subProcess> |
| 242 | <bpmn:sequenceFlow id="SequenceFlow_19ohb1a" sourceRef="QueryCatalogDB" targetRef="CreateVNF" /> |
| 243 | <bpmn:sequenceFlow id="SequenceFlow_07u8e3l" sourceRef="CreateVNF" targetRef="GenerateBaseModuleName" /> |
| 244 | <bpmn:sequenceFlow id="SequenceFlow_0j52dxv" sourceRef="PostProcessAddOnModule" targetRef="ExclusiveGateway_1vyqr5o" /> |
| 245 | <bpmn:scriptTask id="PostProcessAddOnModule" name="PostProcess Add-On Module" scriptFormat="groovy"> |
| 246 | <bpmn:incoming>SequenceFlow_1vrogpr</bpmn:incoming> |
| 247 | <bpmn:outgoing>SequenceFlow_0j52dxv</bpmn:outgoing> |
| 248 | <bpmn:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.* |
| 249 | def doCreateVnfAndModules = new DoCreateVnfAndModules() |
| 250 | doCreateVnfAndModules.postProcessAddOnModule(execution)]]></bpmn:script> |
| 251 | </bpmn:scriptTask> |
| 252 | <bpmn:sequenceFlow id="SequenceFlow_1t407j7" sourceRef="Task_1mrb29r" targetRef="Task_0qrf3e8" /> |
| 253 | <bpmn:sequenceFlow id="SequenceFlow_0baw1tl" sourceRef="Task_0qrf3e8" targetRef="GenerateBaseModuleName" /> |
| 254 | <bpmn:scriptTask id="Task_1mrb29r" name="Create Platform" scriptFormat="groovy"> |
| 255 | <bpmn:incoming>SequenceFlow_07u8e3l</bpmn:incoming> |
| 256 | <bpmn:outgoing>SequenceFlow_1t407j7</bpmn:outgoing> |
| 257 | <bpmn:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.* |
| 258 | def doCreateVnfAndModules = new DoCreateVnfAndModules() |
| 259 | doCreateVnfAndModules.createPlatform(execution)]]></bpmn:script> |
| 260 | </bpmn:scriptTask> |
| 261 | <bpmn:scriptTask id="Task_0qrf3e8" name="Create Line-of-Business" scriptFormat="groovy"> |
| 262 | <bpmn:incoming>SequenceFlow_1t407j7</bpmn:incoming> |
| 263 | <bpmn:outgoing>SequenceFlow_0baw1tl</bpmn:outgoing> |
| 264 | <bpmn:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.* |
| 265 | def doCreateVnfAndModules = new DoCreateVnfAndModules() |
| 266 | doCreateVnfAndModules.createLineOfBusiness(execution)]]></bpmn:script> |
| 267 | </bpmn:scriptTask> |
| 268 | </bpmn:process> |
| 269 | <bpmn:error id="Error_1" name="Java Lang Exception" errorCode="java.lang.Exception" /> |
| 270 | <bpmn:error id="Error_2" name="MSO Workflow Exception" errorCode="MSOWorkflowException" /> |
| 271 | <bpmndi:BPMNDiagram id="BPMNDiagram_1"> |
| 272 | <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DoCreateVnfAndModules"> |
| 273 | <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1"> |
| 274 | <dc:Bounds x="152" y="147" width="36" height="36" /> |
| 275 | <bpmndi:BPMNLabel> |
| 276 | <dc:Bounds x="170" y="183" width="0" height="0" /> |
| 277 | </bpmndi:BPMNLabel> |
| 278 | </bpmndi:BPMNShape> |
| 279 | <bpmndi:BPMNShape id="ScriptTask_1tco8kw_di" bpmnElement="PreProcessRequest"> |
| 280 | <dc:Bounds x="256" y="125" width="100" height="80" /> |
| 281 | </bpmndi:BPMNShape> |
| 282 | <bpmndi:BPMNShape id="CallActivity_1sztzw8_di" bpmnElement="CreateBaseVfModule"> |
| 283 | <dc:Bounds x="1239" y="125" width="100" height="80" /> |
| 284 | </bpmndi:BPMNShape> |
| 285 | <bpmndi:BPMNEdge id="SequenceFlow_0o4vuzt_di" bpmnElement="SequenceFlow_0o4vuzt"> |
| 286 | <di:waypoint xsi:type="dc:Point" x="188" y="165" /> |
| 287 | <di:waypoint xsi:type="dc:Point" x="256" y="165" /> |
| 288 | <bpmndi:BPMNLabel> |
| 289 | <dc:Bounds x="222" y="150" width="0" height="0" /> |
| 290 | </bpmndi:BPMNLabel> |
| 291 | </bpmndi:BPMNEdge> |
| 292 | <bpmndi:BPMNEdge id="SequenceFlow_1xd3ri5_di" bpmnElement="SequenceFlow_1xd3ri5"> |
| 293 | <di:waypoint xsi:type="dc:Point" x="356" y="165" /> |
| 294 | <di:waypoint xsi:type="dc:Point" x="418" y="165" /> |
| 295 | <bpmndi:BPMNLabel> |
| 296 | <dc:Bounds x="387" y="150" width="0" height="0" /> |
| 297 | </bpmndi:BPMNLabel> |
| 298 | </bpmndi:BPMNEdge> |
| 299 | <bpmndi:BPMNShape id="CallActivity_0auiwq0_di" bpmnElement="CreateAddOnVfModule"> |
| 300 | <dc:Bounds x="2100" y="57" width="100" height="80" /> |
| 301 | </bpmndi:BPMNShape> |
| 302 | <bpmndi:BPMNShape id="ScriptTask_1eeaxqn_di" bpmnElement="Task_1lfmdks"> |
| 303 | <dc:Bounds x="2239" y="57" width="100" height="80" /> |
| 304 | </bpmndi:BPMNShape> |
| 305 | <bpmndi:BPMNShape id="EndEvent_1h41bs7_di" bpmnElement="EndEvent_0v6povc"> |
| 306 | <dc:Bounds x="2362" y="147" width="36" height="36" /> |
| 307 | <bpmndi:BPMNLabel> |
| 308 | <dc:Bounds x="2380" y="183" width="0" height="0" /> |
| 309 | </bpmndi:BPMNLabel> |
| 310 | </bpmndi:BPMNShape> |
| 311 | <bpmndi:BPMNEdge id="SequenceFlow_1llbx0k_di" bpmnElement="SequenceFlow_1llbx0k"> |
| 312 | <di:waypoint xsi:type="dc:Point" x="2200" y="97" /> |
| 313 | <di:waypoint xsi:type="dc:Point" x="2239" y="97" /> |
| 314 | <bpmndi:BPMNLabel> |
| 315 | <dc:Bounds x="2220" y="82" width="0" height="0" /> |
| 316 | </bpmndi:BPMNLabel> |
| 317 | </bpmndi:BPMNEdge> |
| 318 | <bpmndi:BPMNShape id="ExclusiveGateway_1vyqr5o_di" bpmnElement="ExclusiveGateway_1vyqr5o" isMarkerVisible="true"> |
| 319 | <dc:Bounds x="1517" y="140" width="50" height="50" /> |
| 320 | <bpmndi:BPMNLabel> |
| 321 | <dc:Bounds x="1498" y="190" width="90" height="24" /> |
| 322 | </bpmndi:BPMNLabel> |
| 323 | </bpmndi:BPMNShape> |
| 324 | <bpmndi:BPMNEdge id="SequenceFlow_132bohl_di" bpmnElement="SequenceFlow_132bohl"> |
| 325 | <di:waypoint xsi:type="dc:Point" x="1542" y="140" /> |
| 326 | <di:waypoint xsi:type="dc:Point" x="1542" y="36" /> |
| 327 | <di:waypoint xsi:type="dc:Point" x="2380" y="36" /> |
| 328 | <di:waypoint xsi:type="dc:Point" x="2380" y="147" /> |
| 329 | <bpmndi:BPMNLabel> |
| 330 | <dc:Bounds x="1962" y="21" width="16" height="12" /> |
| 331 | </bpmndi:BPMNLabel> |
| 332 | </bpmndi:BPMNEdge> |
| 333 | <bpmndi:BPMNShape id="CallActivity_0zr4ioh_di" bpmnElement="CreateVNF"> |
| 334 | <dc:Bounds x="574" y="125" width="100" height="80" /> |
| 335 | </bpmndi:BPMNShape> |
| 336 | <bpmndi:BPMNShape id="ScriptTask_0tknqn1_di" bpmnElement="PreProcessAddOnModule"> |
| 337 | <dc:Bounds x="1651" y="125" width="100" height="80" /> |
| 338 | </bpmndi:BPMNShape> |
| 339 | <bpmndi:BPMNShape id="ScriptTask_1u6qcio_di" bpmnElement="QueryCatalogDB"> |
| 340 | <dc:Bounds x="418" y="125" width="100" height="80" /> |
| 341 | </bpmndi:BPMNShape> |
| 342 | <bpmndi:BPMNShape id="ExclusiveGateway_1hx9s0y_di" bpmnElement="ExclusiveGateway_1hx9s0y" isMarkerVisible="true"> |
| 343 | <dc:Bounds x="1844" y="140" width="50" height="50" /> |
| 344 | <bpmndi:BPMNLabel> |
| 345 | <dc:Bounds x="1837" y="190" width="63" height="24" /> |
| 346 | </bpmndi:BPMNLabel> |
| 347 | </bpmndi:BPMNShape> |
| 348 | <bpmndi:BPMNEdge id="SequenceFlow_0jz6bqn_di" bpmnElement="SequenceFlow_0jz6bqn"> |
| 349 | <di:waypoint xsi:type="dc:Point" x="1567" y="165" /> |
| 350 | <di:waypoint xsi:type="dc:Point" x="1609" y="165" /> |
| 351 | <di:waypoint xsi:type="dc:Point" x="1609" y="165" /> |
| 352 | <di:waypoint xsi:type="dc:Point" x="1649" y="165" /> |
| 353 | <bpmndi:BPMNLabel> |
| 354 | <dc:Bounds x="1571" y="147" width="16" height="12" /> |
| 355 | </bpmndi:BPMNLabel> |
| 356 | </bpmndi:BPMNEdge> |
| 357 | <bpmndi:BPMNEdge id="SequenceFlow_0kld3qt_di" bpmnElement="SequenceFlow_0kld3qt"> |
| 358 | <di:waypoint xsi:type="dc:Point" x="1869" y="140" /> |
| 359 | <di:waypoint xsi:type="dc:Point" x="1869" y="89" /> |
| 360 | <di:waypoint xsi:type="dc:Point" x="1952" y="89" /> |
| 361 | <bpmndi:BPMNLabel> |
| 362 | <dc:Bounds x="1886" y="96" width="16" height="12" /> |
| 363 | </bpmndi:BPMNLabel> |
| 364 | </bpmndi:BPMNEdge> |
| 365 | <bpmndi:BPMNEdge id="SequenceFlow_1mguf2m_di" bpmnElement="SequenceFlow_1mguf2m"> |
| 366 | <di:waypoint xsi:type="dc:Point" x="2289" y="137" /> |
| 367 | <di:waypoint xsi:type="dc:Point" x="2289" y="165" /> |
| 368 | <di:waypoint xsi:type="dc:Point" x="1894" y="165" /> |
| 369 | <bpmndi:BPMNLabel> |
| 370 | <dc:Bounds x="2304" y="151" width="0" height="0" /> |
| 371 | </bpmndi:BPMNLabel> |
| 372 | </bpmndi:BPMNEdge> |
| 373 | <bpmndi:BPMNEdge id="SequenceFlow_1vrogpr_di" bpmnElement="SequenceFlow_1vrogpr"> |
| 374 | <di:waypoint xsi:type="dc:Point" x="1869" y="190" /> |
| 375 | <di:waypoint xsi:type="dc:Point" x="1869" y="221" /> |
| 376 | <di:waypoint xsi:type="dc:Point" x="1869" y="221" /> |
| 377 | <di:waypoint xsi:type="dc:Point" x="1869" y="301" /> |
| 378 | <di:waypoint xsi:type="dc:Point" x="1751" y="301" /> |
| 379 | <bpmndi:BPMNLabel> |
| 380 | <dc:Bounds x="1878" y="247" width="14" height="12" /> |
| 381 | </bpmndi:BPMNLabel> |
| 382 | </bpmndi:BPMNEdge> |
| 383 | <bpmndi:BPMNEdge id="SequenceFlow_1hf7k7q_di" bpmnElement="SequenceFlow_1hf7k7q"> |
| 384 | <di:waypoint xsi:type="dc:Point" x="1191" y="165" /> |
| 385 | <di:waypoint xsi:type="dc:Point" x="1239" y="165" /> |
| 386 | <bpmndi:BPMNLabel> |
| 387 | <dc:Bounds x="1215" y="150" width="0" height="0" /> |
| 388 | </bpmndi:BPMNLabel> |
| 389 | </bpmndi:BPMNEdge> |
| 390 | <bpmndi:BPMNShape id="CallActivity_0rz8zl9_di" bpmnElement="GenerateBaseModuleName"> |
| 391 | <dc:Bounds x="1091" y="125" width="100" height="80" /> |
| 392 | </bpmndi:BPMNShape> |
| 393 | <bpmndi:BPMNShape id="CallActivity_0otq8mo_di" bpmnElement="GenerateAddOnModuleName"> |
| 394 | <dc:Bounds x="1952" y="57" width="100" height="80" /> |
| 395 | </bpmndi:BPMNShape> |
| 396 | <bpmndi:BPMNEdge id="SequenceFlow_1lh21yl_di" bpmnElement="SequenceFlow_1lh21yl"> |
| 397 | <di:waypoint xsi:type="dc:Point" x="2052" y="97" /> |
| 398 | <di:waypoint xsi:type="dc:Point" x="2100" y="97" /> |
| 399 | <bpmndi:BPMNLabel> |
| 400 | <dc:Bounds x="2076" y="82" width="0" height="0" /> |
| 401 | </bpmndi:BPMNLabel> |
| 402 | </bpmndi:BPMNEdge> |
| 403 | <bpmndi:BPMNEdge id="SequenceFlow_12x4dvf_di" bpmnElement="SequenceFlow_12x4dvf"> |
| 404 | <di:waypoint xsi:type="dc:Point" x="1751" y="165" /> |
| 405 | <di:waypoint xsi:type="dc:Point" x="1844" y="165" /> |
| 406 | <bpmndi:BPMNLabel> |
| 407 | <dc:Bounds x="1798" y="140" width="0" height="0" /> |
| 408 | </bpmndi:BPMNLabel> |
| 409 | </bpmndi:BPMNEdge> |
| 410 | <bpmndi:BPMNEdge id="SequenceFlow_1ixcnb6_di" bpmnElement="SequenceFlow_1ixcnb6"> |
| 411 | <di:waypoint xsi:type="dc:Point" x="1339" y="165" /> |
| 412 | <di:waypoint xsi:type="dc:Point" x="1381" y="165" /> |
| 413 | <bpmndi:BPMNLabel> |
| 414 | <dc:Bounds x="1360" y="150" width="0" height="0" /> |
| 415 | </bpmndi:BPMNLabel> |
| 416 | </bpmndi:BPMNEdge> |
| 417 | <bpmndi:BPMNEdge id="SequenceFlow_1a6wyuu_di" bpmnElement="SequenceFlow_1a6wyuu"> |
| 418 | <di:waypoint xsi:type="dc:Point" x="1481" y="165" /> |
| 419 | <di:waypoint xsi:type="dc:Point" x="1517" y="165" /> |
| 420 | <bpmndi:BPMNLabel> |
| 421 | <dc:Bounds x="1499" y="150" width="0" height="0" /> |
| 422 | </bpmndi:BPMNLabel> |
| 423 | </bpmndi:BPMNEdge> |
| 424 | <bpmndi:BPMNShape id="ScriptTask_1obevnp_di" bpmnElement="Task_054rz9i"> |
| 425 | <dc:Bounds x="1381" y="125" width="100" height="80" /> |
| 426 | </bpmndi:BPMNShape> |
| 427 | <bpmndi:BPMNShape id="SubProcess_0u7tbb2_di" bpmnElement="SubProcess_0u7tbb2" isExpanded="true"> |
| 428 | <dc:Bounds x="113" y="382" width="783" height="195" /> |
| 429 | </bpmndi:BPMNShape> |
| 430 | <bpmndi:BPMNShape id="EndEvent_16s0a3q_di" bpmnElement="EndEvent_16s0a3q"> |
| 431 | <dc:Bounds x="843" y="460" width="36" height="36" /> |
| 432 | <bpmndi:BPMNLabel> |
| 433 | <dc:Bounds x="861" y="501" width="0" height="0" /> |
| 434 | </bpmndi:BPMNLabel> |
| 435 | </bpmndi:BPMNShape> |
| 436 | <bpmndi:BPMNShape id="CallActivity_0gtajjm_di" bpmnElement="CallActivity_0gtajjm"> |
| 437 | <dc:Bounds x="508" y="438" width="100" height="80" /> |
| 438 | </bpmndi:BPMNShape> |
| 439 | <bpmndi:BPMNShape id="ScriptTask_12g5tld_di" bpmnElement="PreProcessRollback"> |
| 440 | <dc:Bounds x="345" y="438" width="100" height="80" /> |
| 441 | </bpmndi:BPMNShape> |
| 442 | <bpmndi:BPMNShape id="ScriptTask_1nk6apr_di" bpmnElement="PostProcessRollback"> |
| 443 | <dc:Bounds x="676" y="438" width="100" height="80" /> |
| 444 | </bpmndi:BPMNShape> |
| 445 | <bpmndi:BPMNEdge id="SequenceFlow_1l0rxnh_di" bpmnElement="SequenceFlow_1l0rxnh"> |
| 446 | <di:waypoint xsi:type="dc:Point" x="246" y="478" /> |
| 447 | <di:waypoint xsi:type="dc:Point" x="345" y="478" /> |
| 448 | <bpmndi:BPMNLabel> |
| 449 | <dc:Bounds x="296" y="463" width="0" height="0" /> |
| 450 | </bpmndi:BPMNLabel> |
| 451 | </bpmndi:BPMNEdge> |
| 452 | <bpmndi:BPMNEdge id="SequenceFlow_1h74w1v_di" bpmnElement="SequenceFlow_1h74w1v"> |
| 453 | <di:waypoint xsi:type="dc:Point" x="776" y="478" /> |
| 454 | <di:waypoint xsi:type="dc:Point" x="808" y="478" /> |
| 455 | <di:waypoint xsi:type="dc:Point" x="808" y="478" /> |
| 456 | <di:waypoint xsi:type="dc:Point" x="843" y="478" /> |
| 457 | <bpmndi:BPMNLabel> |
| 458 | <dc:Bounds x="823" y="478" width="0" height="0" /> |
| 459 | </bpmndi:BPMNLabel> |
| 460 | </bpmndi:BPMNEdge> |
| 461 | <bpmndi:BPMNEdge id="SequenceFlow_03v8mmc_di" bpmnElement="SequenceFlow_03v8mmc"> |
| 462 | <di:waypoint xsi:type="dc:Point" x="445" y="478" /> |
| 463 | <di:waypoint xsi:type="dc:Point" x="508" y="478" /> |
| 464 | <bpmndi:BPMNLabel> |
| 465 | <dc:Bounds x="477" y="463" width="0" height="0" /> |
| 466 | </bpmndi:BPMNLabel> |
| 467 | </bpmndi:BPMNEdge> |
| 468 | <bpmndi:BPMNEdge id="SequenceFlow_0yu0im2_di" bpmnElement="SequenceFlow_0yu0im2"> |
| 469 | <di:waypoint xsi:type="dc:Point" x="608" y="478" /> |
| 470 | <di:waypoint xsi:type="dc:Point" x="676" y="478" /> |
| 471 | <bpmndi:BPMNLabel> |
| 472 | <dc:Bounds x="642" y="463" width="0" height="0" /> |
| 473 | </bpmndi:BPMNLabel> |
| 474 | </bpmndi:BPMNEdge> |
| 475 | <bpmndi:BPMNShape id="StartEvent_00jdkur_di" bpmnElement="StartEvent_1nbwxby"> |
| 476 | <dc:Bounds x="210" y="460" width="36" height="36" /> |
| 477 | <bpmndi:BPMNLabel> |
| 478 | <dc:Bounds x="228" y="501" width="0" height="0" /> |
| 479 | </bpmndi:BPMNLabel> |
| 480 | </bpmndi:BPMNShape> |
| 481 | <bpmndi:BPMNEdge id="SequenceFlow_19ohb1a_di" bpmnElement="SequenceFlow_19ohb1a"> |
| 482 | <di:waypoint xsi:type="dc:Point" x="518" y="165" /> |
| 483 | <di:waypoint xsi:type="dc:Point" x="574" y="165" /> |
| 484 | <bpmndi:BPMNLabel> |
| 485 | <dc:Bounds x="546" y="140" width="0" height="0" /> |
| 486 | </bpmndi:BPMNLabel> |
| 487 | </bpmndi:BPMNEdge> |
| 488 | <bpmndi:BPMNEdge id="SequenceFlow_07u8e3l_di" bpmnElement="SequenceFlow_07u8e3l"> |
| 489 | <di:waypoint xsi:type="dc:Point" x="674" y="165" /> |
| 490 | <di:waypoint xsi:type="dc:Point" x="742" y="165" /> |
| 491 | <bpmndi:BPMNLabel> |
| 492 | <dc:Bounds x="708" y="150" width="0" height="0" /> |
| 493 | </bpmndi:BPMNLabel> |
| 494 | </bpmndi:BPMNEdge> |
| 495 | <bpmndi:BPMNEdge id="SequenceFlow_0j52dxv_di" bpmnElement="SequenceFlow_0j52dxv"> |
| 496 | <di:waypoint xsi:type="dc:Point" x="1651" y="301" /> |
| 497 | <di:waypoint xsi:type="dc:Point" x="1543" y="301" /> |
| 498 | <di:waypoint xsi:type="dc:Point" x="1542" y="190" /> |
| 499 | <bpmndi:BPMNLabel> |
| 500 | <dc:Bounds x="1597" y="286" width="0" height="0" /> |
| 501 | </bpmndi:BPMNLabel> |
| 502 | </bpmndi:BPMNEdge> |
| 503 | <bpmndi:BPMNShape id="ScriptTask_0srhar8_di" bpmnElement="PostProcessAddOnModule"> |
| 504 | <dc:Bounds x="1651" y="262" width="100" height="80" /> |
| 505 | </bpmndi:BPMNShape> |
| 506 | <bpmndi:BPMNEdge id="SequenceFlow_1t407j7_di" bpmnElement="SequenceFlow_1t407j7"> |
| 507 | <di:waypoint xsi:type="dc:Point" x="842" y="165" /> |
| 508 | <di:waypoint xsi:type="dc:Point" x="916" y="165" /> |
| 509 | <bpmndi:BPMNLabel> |
| 510 | <dc:Bounds x="879" y="150" width="0" height="0" /> |
| 511 | </bpmndi:BPMNLabel> |
| 512 | </bpmndi:BPMNEdge> |
| 513 | <bpmndi:BPMNEdge id="SequenceFlow_0baw1tl_di" bpmnElement="SequenceFlow_0baw1tl"> |
| 514 | <di:waypoint xsi:type="dc:Point" x="1016" y="165" /> |
| 515 | <di:waypoint xsi:type="dc:Point" x="1091" y="165" /> |
| 516 | <bpmndi:BPMNLabel> |
| 517 | <dc:Bounds x="1054" y="150" width="0" height="0" /> |
| 518 | </bpmndi:BPMNLabel> |
| 519 | </bpmndi:BPMNEdge> |
| 520 | <bpmndi:BPMNShape id="ScriptTask_0i9vj5o_di" bpmnElement="Task_1mrb29r"> |
| 521 | <dc:Bounds x="742" y="125" width="100" height="80" /> |
| 522 | </bpmndi:BPMNShape> |
| 523 | <bpmndi:BPMNShape id="ScriptTask_0stghuy_di" bpmnElement="Task_0qrf3e8"> |
| 524 | <dc:Bounds x="916" y="125" width="100" height="80" /> |
| 525 | </bpmndi:BPMNShape> |
| 526 | </bpmndi:BPMNPlane> |
| 527 | </bpmndi:BPMNDiagram> |
| 528 | </bpmn:definitions> |