From 8398451b410b4657c42e17e30422feb2091c58f5 Mon Sep 17 00:00:00 2001 From: hetengjiao Date: Fri, 11 Sep 2020 08:38:55 +0800 Subject: Update NSMF workflow to implement the E2E Network Slicing requirements for Guilin release Issue-ID: SO-2963 Signed-off-by: hetengjiao Change-Id: I20c6b880cc26b0e0dbd096f4de6f39fd936b4bc0 --- .../subprocess/DoAllocateNSIandNSSIV2.bpmn | 598 +++++++++++++++++++++ .../resources/subprocess/DoAllocateNSSIV2.bpmn | 233 ++++++++ .../subprocess/DoCreateSliceServiceOptionV2.bpmn | 563 +++++++++++++++++++ 3 files changed, 1394 insertions(+) create mode 100644 bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoAllocateNSIandNSSIV2.bpmn create mode 100644 bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoAllocateNSSIV2.bpmn create mode 100644 bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoCreateSliceServiceOptionV2.bpmn (limited to 'bpmn/so-bpmn-infrastructure-flows/src/main') diff --git a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoAllocateNSIandNSSIV2.bpmn b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoAllocateNSIandNSSIV2.bpmn new file mode 100644 index 0000000000..071960a972 --- /dev/null +++ b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoAllocateNSIandNSSIV2.bpmn @@ -0,0 +1,598 @@ + + + + + SequenceFlow_0xgfj7z + + + + SequenceFlow_0xgfj7z + SequenceFlow_00aukg6 + import org.onap.so.bpmn.infrastructure.scripts.* +def dansi = new DoAllocateNSIandNSSI() +dansi.preProcessRequest(execution) + + + SequenceFlow_00aukg6 + SequenceFlow_1ggo6s5 + import org.onap.so.bpmn.infrastructure.scripts.* +def dansi = new DoAllocateNSIandNSSI() +dansi.retriveSliceOption(execution) + + + + SequenceFlow_1ggo6s5 + SequenceFlow_0c986i9 + SequenceFlow_03ye8m4 + + + + + SequenceFlow_0c986i9 + SequenceFlow_1k3cspv + import org.onap.so.bpmn.infrastructure.scripts.* +def dcnsio = new DoAllocateNSIandNSSI() +dcnsio.createNSIinAAI(execution) + + + + #{(execution.getVariable("isNSIOptionAvailable" ) == true)} + + + SequenceFlow_0t0wddg + SequenceFlow_05ovikm + + + + SequenceFlow_0ct8yh4 + + + + + SequenceFlow_0ct8yh4 + SequenceFlow_1m68yca + SequenceFlow_0k5iu2n + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SequenceFlow_0npsyye + SequenceFlow_1xb5nx1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SequenceFlow_0cwbtmr + SequenceFlow_1l74seh + + + + + SequenceFlow_1gkb7iy + SequenceFlow_03zglrh + SequenceFlow_0ax2c4p + + + SequenceFlow_03ye8m4 + SequenceFlow_0t0wddg + import org.onap.so.bpmn.infrastructure.scripts.* +def dcnsio = new DoAllocateNSIandNSSI() +dcnsio.updateRelationship(execution) + + + + SequenceFlow_1k3cspv + SequenceFlow_05ovikm + import org.onap.so.bpmn.infrastructure.scripts.* +def dcnsio = new DoAllocateNSIandNSSI() +dcnsio.createRelationship(execution) + + + + SequenceFlow_1m68yca + SequenceFlow_1hfjn79 + import org.onap.so.bpmn.infrastructure.scripts.* +def dcnsio = new DoAllocateNSIandNSSI() +dcnsio.createAnSliceProfileInstance(execution) + + + SequenceFlow_1hfjn79 + SequenceFlow_0zbd2tq + import org.onap.so.bpmn.infrastructure.scripts.* +def dcnsio = new DoAllocateNSIandNSSI() +dcnsio.createAnSliceProfile(execution) + + + + SequenceFlow_0k5iu2n + SequenceFlow_0f36cu2 + import org.onap.so.bpmn.infrastructure.scripts.* +def dcnsio = new DoAllocateNSIandNSSI() +dcnsio.createCnSliceProfileInstance(execution) + + + SequenceFlow_0f36cu2 + SequenceFlow_1wffel4 + import org.onap.so.bpmn.infrastructure.scripts.* +def dcnsio = new DoAllocateNSIandNSSI() +dcnsio.createCnSliceProfile(execution) + + + + SequenceFlow_0paqrtx + SequenceFlow_1d48cil + import org.onap.so.bpmn.infrastructure.scripts.* +def dcnsio = new DoAllocateNSIandNSSI() +dcnsio.createTnBHSliceProfileInstance(execution) + + + SequenceFlow_1d48cil + SequenceFlow_00dexhy + import org.onap.so.bpmn.infrastructure.scripts.* +def dcnsio = new DoAllocateNSIandNSSI() +dcnsio.createTnBHSliceProfile(execution) + + + + + + + + + + + + + + + + + + + + + + + + + + + + SequenceFlow_01isn2q + SequenceFlow_1omynpt + + + + + SequenceFlow_0paqrtx + + + + + SequenceFlow_1omynpt + SequenceFlow_150xio1 + import org.onap.so.bpmn.infrastructure.scripts.* +def dcnsio = new DoAllocateNSIandNSSI() +dcnsio.prepareAllocateAnNssi(execution) + + + SequenceFlow_150xio1 + SequenceFlow_040fu80 + import org.onap.so.bpmn.infrastructure.scripts.* +def dcnsio = new DoAllocateNSIandNSSI() +dcnsio.prepareAllocateAnNssi(execution) + + + SequenceFlow_040fu80 + SequenceFlow_1uti8ls + import org.onap.so.bpmn.infrastructure.scripts.* +def dcnsio = new DoAllocateNSIandNSSI() +dcnsio.prepareAllocateAnNssi(execution) + + + + + SequenceFlow_1xb5nx1 + SequenceFlow_0xx5bwa + import org.onap.so.bpmn.infrastructure.scripts.* +def dcnsio = new DoAllocateNSIandNSSI() +dcnsio.prepareAllocateAnNssi(execution) + + + + SequenceFlow_0xx5bwa + SequenceFlow_1sckufj + import org.onap.so.bpmn.infrastructure.scripts.* +def dcnsio = new DoAllocateNSIandNSSI() +dcnsio.prepareAllocateAnNssi(execution) + + + + SequenceFlow_1sckufj + SequenceFlow_1gkb7iy + import org.onap.so.bpmn.infrastructure.scripts.* +def dcnsio = new DoAllocateNSIandNSSI() +dcnsio.prepareAllocateAnNssi(execution) + + + + SequenceFlow_1l74seh + SequenceFlow_0jqxxjq + import org.onap.so.bpmn.infrastructure.scripts.* +def dcnsio = new DoAllocateNSIandNSSI() +dcnsio.prepareAllocateAnNssi(execution) + + + SequenceFlow_0jqxxjq + SequenceFlow_02qun80 + import org.onap.so.bpmn.infrastructure.scripts.* +def dcnsio = new DoAllocateNSIandNSSI() +dcnsio.prepareAllocateAnNssi(execution) + + + SequenceFlow_02qun80 + SequenceFlow_03zglrh + import org.onap.so.bpmn.infrastructure.scripts.* +def dcnsio = new DoAllocateNSIandNSSI() +dcnsio.prepareAllocateAnNssi(execution) + + + + + + + + SequenceFlow_1uti8ls + + + + SequenceFlow_0ax2c4p + + + + SequenceFlow_0zbd2tq + SequenceFlow_0npsyye + import org.onap.so.bpmn.infrastructure.scripts.* +def dcnsio = new DoAllocateNSIandNSSI() +dcnsio.prepareAllocateAnNssi(execution) + + + + SequenceFlow_1wffel4 + SequenceFlow_0cwbtmr + import org.onap.so.bpmn.infrastructure.scripts.* +def dcnsio = new DoAllocateNSIandNSSI() +dcnsio.prepareAllocateCnNssi(execution) + + + + + SequenceFlow_00dexhy + SequenceFlow_01isn2q + import org.onap.so.bpmn.infrastructure.scripts.* +def dcnsio = new DoAllocateNSIandNSSI() +dcnsio.prepareAllocateTnBHNssi(execution) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoAllocateNSSIV2.bpmn b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoAllocateNSSIV2.bpmn new file mode 100644 index 0000000000..bcb48a60e6 --- /dev/null +++ b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoAllocateNSSIV2.bpmn @@ -0,0 +1,233 @@ + + + + + SequenceFlow_07xkshs + + + SequenceFlow_07xkshs + SequenceFlow_0h6mn7j + import org.onap.so.bpmn.infrastructure.scripts.* +def dcnssi = new DoAllocateNSSI() +dcnssi.preProcessRequest(execution) + + + + SequenceFlow_1iw5oad + SequenceFlow_1wclf50 + import org.onap.so.bpmn.infrastructure.scripts.* +def dcnssi = new DoAllocateNSSI() +dcnssi.sendCreateRequestNSSMF(execution) + + + SequenceFlow_0ib27f2 + SequenceFlow_1iw5oad + SequenceFlow_0haiyzv + + + SequenceFlow_0haiyzv + SequenceFlow_1ellzst + import org.onap.so.bpmn.infrastructure.scripts.* +def dcnssi = new DoAllocateNSSI() +dcnssi.sendUpdateRequestNSSMF(execution) + + + SequenceFlow_1wclf50 + SequenceFlow_1ellzst + SequenceFlow_0ejdefw + + + #{(execution.getVariable("nssmfOperation" ) == "create")} + + + + #{(execution.getVariable("nssmfOperation" ) == "update")} + + + + + SequenceFlow_0h6mn7j + SequenceFlow_0ib27f2 + import org.onap.so.bpmn.infrastructure.scripts.* +def dcnssi = new DoAllocateNSSI() +dcnssi.getNSSTInfo(execution) + + + + + SequenceFlow_0ejdefw + SequenceFlow_0gpgxw4 + SequenceFlow_0p9gd2n + import org.onap.so.bpmn.infrastructure.scripts.* +def dcnssi = new DoAllocateNSSI() +dcnssi.queryNSSIStatus(execution) + + + SequenceFlow_0p9gd2n + SequenceFlow_1ozi7ed + import org.onap.so.bpmn.infrastructure.scripts.* +def dcnssi = new DoAllocateNSSI() +dcnssi.prepareUpdateOrchestrationTask(execution) + + + + + + + + + + + + + + SequenceFlow_1ozi7ed + SequenceFlow_0hgv9c5 + + + + + SequenceFlow_0hgv9c5 + SequenceFlow_0y5jr25 + SequenceFlow_170frn3 + + + + SequenceFlow_0y5jr25 + SequenceFlow_0gpgxw4 + import org.onap.so.bpmn.infrastructure.scripts.* +def dcnssi = new DoAllocateNSSI() +dcnssi.timeDelay(execution) + + + + + #{(execution.getVariable("nssmfOperation" ) == "update")} + + + SequenceFlow_170frn3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoCreateSliceServiceOptionV2.bpmn b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoCreateSliceServiceOptionV2.bpmn new file mode 100644 index 0000000000..5d9e53ac18 --- /dev/null +++ b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoCreateSliceServiceOptionV2.bpmn @@ -0,0 +1,563 @@ + + + + + SequenceFlow_17otbuu + SequenceFlow_00t0340 + SequenceFlow_06uu0eh + SequenceFlow_09see8v + SequenceFlow_14s7fck + SequenceFlow_1c374y2 + + + SequenceFlow_04avf98 + SequenceFlow_00xa5wa + SequenceFlow_064p1n6 + SequenceFlow_1a699ly + + + SequenceFlow_16qt6r2 + SequenceFlow_175xozh + import org.onap.so.bpmn.infrastructure.scripts.* +def dcso = new DoCreateSliceServiceOption() +dcso.preNSIRequest(execution) + + + SequenceFlow_09see8v + SequenceFlow_04avf98 + import org.onap.so.bpmn.infrastructure.scripts.* +def dcso = new DoCreateSliceServiceOption() +dcso.queryTNSubnetCapability(execution) + + + SequenceFlow_14s7fck + SequenceFlow_00xa5wa + import org.onap.so.bpmn.infrastructure.scripts.* +def dcso = new DoCreateSliceServiceOption() +dcso.queryCNSubnetCapability(execution) + + + SequenceFlow_1c374y2 + SequenceFlow_064p1n6 + import org.onap.so.bpmn.infrastructure.scripts.* +def dcso = new DoCreateSliceServiceOption() +dcso.queryANSubnetCapability(execution) + + + + + + + SequenceFlow_00t0340 + SequenceFlow_1kzy63m + import org.onap.so.bpmn.infrastructure.scripts.* +def dcso = new DoCreateSliceServiceOption() +dcso.prepareDecomposeNST(execution) + + + + + + + + + + + SequenceFlow_1kzy63m + SequenceFlow_1t317y2 + + + SequenceFlow_1t317y2 + SequenceFlow_1rwl882 + import org.onap.so.bpmn.infrastructure.scripts.* +def dcso = new DoCreateSliceServiceOption() +dcso.processDecomposition(execution) + + + SequenceFlow_06uu0eh + SequenceFlow_1dtfpqp + import org.onap.so.bpmn.infrastructure.scripts.* +def dcso = new DoCreateSliceServiceOption() +dcso.prepareNSTDecompose(execution) + + + + + + + + + + + SequenceFlow_1dtfpqp + SequenceFlow_0fdqj9b + + + SequenceFlow_0fdqj9b + SequenceFlow_0d2lpv3 + import org.onap.so.bpmn.infrastructure.scripts.* +def dcso = new DoCreateSliceServiceOption() +dcso.processDecomposition(execution) + + + + + + + + + + + + + + + + + + SequenceFlow_175xozh + SequenceFlow_188g03z + + + + SequenceFlow_188g03z + SequenceFlow_17emrud + import org.onap.so.bpmn.infrastructure.scripts.* +def dcso = new DoCreateSliceServiceOption() +dcso.processNSIResp(execution) + + + + + SequenceFlow_1sg6mqd + + + + SequenceFlow_1sg6mqd + SequenceFlow_05250mp + SequenceFlow_0euwvgf + SequenceFlow_0il5j01 + + + SequenceFlow_14rhmx9 + SequenceFlow_103oxyw + SequenceFlow_0aasemn + SequenceFlow_1tr3i9d + + + + + + + + + + + + SequenceFlow_0abqxa1 + SequenceFlow_1tqg26p + + + + + + + + + + + + + SequenceFlow_17emrud + + + + SequenceFlow_1nrfy6i + + + SequenceFlow_1rwl882 + SequenceFlow_0d2lpv3 + SequenceFlow_06t1dq5 + SequenceFlow_16qt6r2 + + + + SequenceFlow_1fuwy35 + + + SequenceFlow_1fuwy35 + SequenceFlow_17otbuu + import org.onap.so.bpmn.infrastructure.scripts.* +def dcso = new DoCreateSliceServiceOption() +dcso.preProcessRequest(execution) + + + + + + + + + + SequenceFlow_05250mp + SequenceFlow_14rhmx9 + import org.onap.so.bpmn.infrastructure.scripts.* +def dcso = new DoCreateSliceServiceOption() +dcso.getNSSISelectionCap4TN(execution) + + + SequenceFlow_0euwvgf + SequenceFlow_103oxyw + import org.onap.so.bpmn.infrastructure.scripts.* +def dcso = new DoCreateSliceServiceOption() +dcso.getNSSISelectionCap4CN(execution) + + + SequenceFlow_0il5j01 + SequenceFlow_0aasemn + import org.onap.so.bpmn.infrastructure.scripts.* +def dcso = new DoCreateSliceServiceOption() +dcso.getNSSISelectionCap4AN(execution) + + + + SequenceFlow_1a699ly + SequenceFlow_06t1dq5 + import org.onap.so.bpmn.infrastructure.scripts.* +def dcso = new DoCreateSliceServiceOption() +dcso.handleSubnetCapabilityResp(execution) + + + SequenceFlow_126j77n + SequenceFlow_0abqxa1 + import org.onap.so.bpmn.infrastructure.scripts.* +def dcso = new DoCreateSliceServiceOption() +dcso.preNSSIRequest(execution) + + + SequenceFlow_1tqg26p + SequenceFlow_1i3j8c3 + import org.onap.so.bpmn.infrastructure.scripts.* +def dcso = new DoCreateSliceServiceOption() +dcso.processNSSIResp(execution) + + + SequenceFlow_1tey3hz + SequenceFlow_126j77n + SequenceFlow_1nrfy6i + + + #{(execution.getVariable("nssmfOperation" ) == "update")} + + + + + + SequenceFlow_1tr3i9d + SequenceFlow_1i3j8c3 + SequenceFlow_1tey3hz + import org.onap.so.bpmn.infrastructure.scripts.* +def dcso = new DoCreateSliceServiceOption() +dcso.handleNssiSelect(execution) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit 1.2.3-korg