From 71153ebcc0fb8b9915b37aebcaf51ff6675835c1 Mon Sep 17 00:00:00 2001 From: Harry Huang Date: Fri, 28 Feb 2020 10:37:02 +0800 Subject: Add BPMN flow for CreateSliceService Issue-ID: SO-2368 Change-Id: I1a53eb36eda4b58f6952b99b5442d025177546ac Signed-off-by: Harry Huang --- .../main/resources/process/CreateSliceService.bpmn | 808 +++++++++++++++++++++ 1 file changed, 808 insertions(+) create mode 100644 bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/CreateSliceService.bpmn (limited to 'bpmn/so-bpmn-infrastructure-flows/src') diff --git a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/CreateSliceService.bpmn b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/CreateSliceService.bpmn new file mode 100644 index 0000000000..3e1c1179bf --- /dev/null +++ b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/CreateSliceService.bpmn @@ -0,0 +1,808 @@ + + + + + SequenceFlow_03s744c + + + SequenceFlow_1fk37v7 + + + + SequenceFlow_03s744c + SequenceFlow_07e12rt + import org.onap.so.bpmn.infrastructure.scripts.* +def css= new CreateSliceService() +css.preProcessRequest(execution) + + + SequenceFlow_1cv0wop + SequenceFlow_197cm2e + import org.onap.so.bpmn.infrastructure.scripts.* +def css = new CreateSliceService() +css.processUserOptions(execution) + + + SequenceFlow_197cm2e + SequenceFlow_12t5exy + SequenceFlow_038lb9m + + + SequenceFlow_1t19ips + SequenceFlow_0jrclmc + import org.onap.so.bpmn.infrastructure.scripts.* +def css = new CreateSliceService() +css.processDecomposition(execution) + + + SequenceFlow_046irye + SequenceFlow_1o23s0i + import org.onap.so.bpmn.infrastructure.scripts.* +def css = new CreateSliceService() +css.getNSTSelection(execution) + + + + + + + + + + + + + + + + + + + + + + + + + + + SequenceFlow_1p8vxo5 + SequenceFlow_1g8m7tq + + + SequenceFlow_0it2g9j + + + + SequenceFlow_1aaozcg + SequenceFlow_18kur12 + import org.onap.so.bpmn.infrastructure.scripts.* +execution.setVariable("taskStatus", "WaitingToConfirm") +def css = new CreateSliceService() +css.prepareUpdateOrchestrationTask(execution) + + + SequenceFlow_0mlrlbv + SequenceFlow_1c6ka9h + SequenceFlow_0n4xku8 + + + SequenceFlow_1c6ka9h + + + + + SequenceFlow_1w67v6s + + + + SequenceFlow_08mlzwz + + + SequenceFlow_1w67v6s + SequenceFlow_08mlzwz + import org.onap.so.bpmn.common.scripts.* +ExceptionUtil ex = new ExceptionUtil() +ex.processJavaException(execution) + + + + + + SequenceFlow_0kixzdj + SequenceFlow_0klb3ey + import org.onap.so.bpmn.infrastructure.scripts.* +execution.setVariable("taskStatus", "Completed") +def css = new CreateSliceService() +css.prepareUpdateOrchestrationTask(execution) + + + SequenceFlow_11rbv41 + + + SequenceFlow_07e12rt + SequenceFlow_0t094g7 + import org.onap.so.bpmn.infrastructure.scripts.* +def css = new CreateSliceService() +css.prepareInitServiceOperationStatus(execution) + + + SequenceFlow_0jrclmc + + + + SequenceFlow_1o1tu0f + + + + SequenceFlow_0lbdfmt + SequenceFlow_1qv8qw1 + import org.onap.so.bpmn.infrastructure.scripts.* +execution.setVariable("operationProgress", "100") +execution.setVariable("operationResult", "finished") +execution.setVariable("operationReason", "Slice completed") +def css = new CreateSliceService() +css.prepareUpdateServiceOperationStatus(execution) + + + + + + ${CSSOS_dbAdapterEndpoint} + + execution.getVariable("CSSOS_headerMap") + + ${CSSOS_updateServiceOperStatusRequest} + POST + ${statusCode} + ${response} + + http-connector + + + SequenceFlow_0t094g7 + SequenceFlow_046irye + + + + + + + + + + + SequenceFlow_0q7yc2c + SequenceFlow_1t19ips + + + SequenceFlow_1o23s0i + SequenceFlow_0q7yc2c + import org.onap.so.bpmn.infrastructure.scripts.* +def dcsi= new CreateSliceService() +dcsi.prepareDecomposeService(execution) + + + SequenceFlow_1o1tu0f + SequenceFlow_1sq6kp6 + import org.onap.so.bpmn.infrastructure.scripts.* +def css= new CreateSliceService() +css.prepareCreateOrchestrationTask(execution) + + + + + + + + + + + + + + SequenceFlow_1sq6kp6 + SequenceFlow_1p8vxo5 + + + + + + + + + + + + + + SequenceFlow_18kur12 + SequenceFlow_0it2g9j + + + SequenceFlow_12t5exy + SequenceFlow_0thd6ny + import org.onap.so.bpmn.infrastructure.scripts.* +execution.setVariable("taskStatus", "Creating") +def css = new CreateSliceService() +css.prepareUpdateOrchestrationTask(execution) + + + + + + + + + + + + + + SequenceFlow_0thd6ny + SequenceFlow_0477975 + + + + + + + + + + + + + + SequenceFlow_0h2oree + SequenceFlow_1cv0wop + + + SequenceFlow_16uz2t9 + SequenceFlow_0h2oree + import org.onap.so.bpmn.infrastructure.scripts.* +def css = new CreateSliceService() +css.prepareGetUserOptions(execution) + + + + + + + + + + + + + + SequenceFlow_19lsayh + SequenceFlow_10ng1vx + + + SequenceFlow_038lb9m + SequenceFlow_19lsayh + import org.onap.so.bpmn.infrastructure.scripts.* +execution.setVariable("taskStatus", "Aborted") +def css = new CreateSliceService() +css.prepareUpdateOrchestrationTask(execution) + + + SequenceFlow_1bevt3a + + + + SequenceFlow_0477975 + + + + + + + + + + + + + + + SequenceFlow_0klb3ey + SequenceFlow_0lbdfmt + + + SequenceFlow_10ng1vx + + + + + + ${CSSOS_dbAdapterEndpoint} + + execution.getVariable("CSSOS_headerMap") + + ${CSSOS_updateServiceOperStatusRequest} + POST + ${statusCode} + ${response} + + http-connector + + + SequenceFlow_1qv8qw1 + SequenceFlow_11rbv41 + + + SequenceFlow_1g8m7tq + SequenceFlow_1ey6m1e + import org.onap.so.bpmn.infrastructure.scripts.* +def css = new CreateSliceService() +css.sendSyncResponse(execution) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SequenceFlow_1bevt3a + SequenceFlow_0mlrlbv + + + SequenceFlow_12qt5ci + + + + + + + + #{execution.getVariable("taskAction") == "commit"} + + + + + + + + + + + #{execution.getVariable("WorkflowException") == null} + + + + + + + + + + + + + + + + + + SequenceFlow_1fk37v7 + SequenceFlow_16uz2t9 + + + + + SequenceFlow_12qt5ci + + PT2H + + + + + + + + + + + + + + + + + + + + SequenceFlow_1ey6m1e + SequenceFlow_1aaozcg + + + + + + + SequenceFlow_0n4xku8 + SequenceFlow_0kixzdj + import org.onap.so.bpmn.infrastructure.scripts.* +execution.setVariable("orchestrationStatus", "deactivated") +def css = new CreateSliceService() +css.updateAAIOrchStatus(execution) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit 1.2.3-korg