From 48c44edbec6adf3a9b5b49f147cb026b8251ce7b Mon Sep 17 00:00:00 2001 From: Priyadharshini Date: Thu, 20 Aug 2020 06:06:49 -0700 Subject: Implement Workflows to handle NSSMF Common functionalities Issue-ID: SO-3190 Signed-off-by: Priyadharshini Change-Id: I38ce91415fc5ced083e017ed4306873d17d5fa24 --- .../resources/process/ActivateSliceSubnet.bpmn | 224 +++++++++++++++++++++ .../resources/process/AllocateSliceSubnet.bpmn | 219 ++++++++++++++++++++ .../resources/process/DeAllocateSliceSubnet.bpmn | 224 +++++++++++++++++++++ .../main/resources/process/ModifySliceSubnet.bpmn | 224 +++++++++++++++++++++ 4 files changed, 891 insertions(+) create mode 100644 bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/ActivateSliceSubnet.bpmn create mode 100644 bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/AllocateSliceSubnet.bpmn create mode 100644 bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/DeAllocateSliceSubnet.bpmn create mode 100644 bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/ModifySliceSubnet.bpmn (limited to 'bpmn/so-bpmn-infrastructure-flows/src/main') diff --git a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/ActivateSliceSubnet.bpmn b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/ActivateSliceSubnet.bpmn new file mode 100644 index 0000000000..a2b7f4f67a --- /dev/null +++ b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/ActivateSliceSubnet.bpmn @@ -0,0 +1,224 @@ + + + + + Flow_1rnck9o + + + Flow_1rnck9o + Flow_1ruhu5s + import org.onap.so.bpmn.infrastructure.scripts.* +def nss = new ActivateSliceSubnet() +nss.preProcessRequest(execution) + + + Flow_1da78f4 + Flow_17ebcpc + import org.onap.so.bpmn.infrastructure.scripts.* +def nss = new ActivateSliceSubnet() +nss.sendSyncResponse(execution) + + + Flow_17ebcpc + Flow_1t9x0sg + Flow_1q1kc3c + Flow_0ptiwv3 + + + Flow_0krl0oq + Flow_0wwue07 + Flow_115ylm7 + + + + + + ${dbAdapterEndpoint} + + + application/soap+xml + Basic YnBlbDpwYXNzd29yZDEk + + + ${initResourceOperationStatus} + POST + ${statusCode} + ${response} + + http-connector + + + Flow_0wjhvtf + Flow_1da78f4 + + + + + + #{execution.getVariable("networkType") == "CN"} + + + #{execution.getVariable("networkType") == "TN"} + + + + + + + + + + + + + + + Flow_0ptiwv3 + Flow_0krl0oq + + + #{execution.getVariable("networkType") == "AN"} + + + + + + + + + + + + + + + + Flow_1t9x0sg + Flow_0wwue07 + + + + + + + + + + + + + + + + Flow_1q1kc3c + Flow_115ylm7 + + + + Flow_1ruhu5s + Flow_0wjhvtf + import org.onap.so.bpmn.infrastructure.scripts.* +def nss = new ActivateSliceSubnet() +nss.prepareInitOperationStatus(execution) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/AllocateSliceSubnet.bpmn b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/AllocateSliceSubnet.bpmn new file mode 100644 index 0000000000..450faaebca --- /dev/null +++ b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/AllocateSliceSubnet.bpmn @@ -0,0 +1,219 @@ + + + + + Flow_0cmaj9d + + + Flow_0cmaj9d + Flow_0ou7wr9 + import org.onap.so.bpmn.infrastructure.scripts.* +def nss = new AllocateSliceSubnet() +nss.preProcessRequest(execution) + + + Flow_0ayd6dj + Flow_0m5n6md + import org.onap.so.bpmn.infrastructure.scripts.* +def nss = new AllocateSliceSubnet() +nss.sendSyncResponse(execution) + + + Flow_0m5n6md + Flow_1fij4ds + Flow_0g7721r + Flow_1kk0exp + + + Flow_09b50tn + Flow_189zwjw + Flow_1coedjo + + + + + + ${dbAdapterEndpoint} + + + application/soap+xml + Basic YnBlbDpwYXNzd29yZDEk + + + ${initResourceOperationStatus} + POST + ${statusCode} + ${response} + + http-connector + + + Flow_18cgkru + Flow_0ayd6dj + + + + + + #{execution.getVariable("networkType") == "CN"} + + + #{execution.getVariable("networkType") == "TN"} + + + #{execution.getVariable("networkType") == "AN"} + + + + + + + + + + + + + + + + + + Flow_1kk0exp + Flow_09b50tn + + + Flow_0ou7wr9 + Flow_18cgkru + import org.onap.so.bpmn.infrastructure.scripts.* +def nss = new AllocateSliceSubnet() +nss.prepareInitOperationStatus(execution) + + + + + + + + Flow_0g7721r + Flow_189zwjw + + + + + + + + + + + + + + + + + + Flow_1fij4ds + Flow_1coedjo + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/DeAllocateSliceSubnet.bpmn b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/DeAllocateSliceSubnet.bpmn new file mode 100644 index 0000000000..bf08c6e630 --- /dev/null +++ b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/DeAllocateSliceSubnet.bpmn @@ -0,0 +1,224 @@ + + + + + Flow_143ck2k + + + + Flow_143ck2k + Flow_0pttfuf + import org.onap.so.bpmn.infrastructure.scripts.* +def nss = new DeAllocateSliceSubnet() +nss.preProcessRequest(execution) + + + Flow_1c1j5i1 + Flow_1kljyhj + import org.onap.so.bpmn.infrastructure.scripts.* +def nss = new DeAllocateSliceSubnet() +nss.sendSyncResponse(execution) + + + + + + ${dbAdapterEndpoint} + + + application/soap+xml + Basic YnBlbDpwYXNzd29yZDEk + + + ${initResourceOperationStatus} + POST + ${statusCode} + ${response} + + http-connector + + + Flow_04jsg9s + Flow_1c1j5i1 + + + + + Flow_0pttfuf + Flow_04jsg9s + import org.onap.so.bpmn.infrastructure.scripts.* +def nss = new DeAllocateSliceSubnet() +nss.prepareInitOperationStatus(execution) + + + + Flow_1kljyhj + Flow_0fp8gep + Flow_0zwyxxc + Flow_0roz1jy + + + + + + + + + + + + + + + Flow_0fp8gep + Flow_1hij53h + + + + + + + + + + + + + + + Flow_0roz1jy + Flow_1fth8go + + + + + + + + + + + + + + + Flow_0zwyxxc + Flow_1l74oic + + + Flow_1hij53h + Flow_1fth8go + Flow_1l74oic + + + #{execution.getVariable("networkType") == "TN"} + + + #{execution.getVariable("networkType") == "AN"} + + + #{execution.getVariable("networkType") == "CN"} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/ModifySliceSubnet.bpmn b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/ModifySliceSubnet.bpmn new file mode 100644 index 0000000000..38ddf2edcd --- /dev/null +++ b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/ModifySliceSubnet.bpmn @@ -0,0 +1,224 @@ + + + + + Flow_1t0w8dn + + + Flow_1t0w8dn + Flow_0fzchbl + import org.onap.so.bpmn.infrastructure.scripts.* +def nss = new ModifySliceSubnet() +nss.preProcessRequest(execution) + + + Flow_1q030ul + Flow_0ps6iyc + import org.onap.so.bpmn.infrastructure.scripts.* +def nss = new ModifySliceSubnet() +nss.sendSyncResponse(execution) + + + Flow_0ps6iyc + Flow_15luvlg + Flow_0usuozn + Flow_1dfyoe6 + + + Flow_1b2k523 + Flow_0pklfqu + Flow_1bbqkjv + + + + + + ${dbAdapterEndpoint} + + + application/soap+xml + Basic YnBlbDpwYXNzd29yZDEk + + + ${initResourceOperationStatus} + POST + ${statusCode} + ${response} + + http-connector + + + Flow_1grhlet + Flow_1q030ul + + + + + + + #{execution.getVariable("networkType") == "TN"} + + + #{execution.getVariable("networkType") == "AN"} + + + Flow_0fzchbl + Flow_1grhlet + import org.onap.so.bpmn.infrastructure.scripts.* +def nss = new ModifySliceSubnet() +nss.prepareInitOperationStatus(execution) + + + + + + + + + + + + + + + + Flow_0usuozn + Flow_1b2k523 + + + + + + + + + + + + + + + + Flow_1dfyoe6 + Flow_0pklfqu + + + + + + + + + + + + + + + Flow_15luvlg + Flow_1bbqkjv + + + + #{execution.getVariable("networkType") == "CN"} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit 1.2.3-korg