From ca5b7107f23562bf81267292a47d7fb2f30ebaf9 Mon Sep 17 00:00:00 2001 From: EricMoore Date: Thu, 31 Oct 2019 13:34:09 +0000 Subject: SW UP building block and workflow This commit creates two bpmn 1. PNFSoftwareUpgrade.bpmn 2. PNFSWUPDownload.bpmn Respective Testcases are also written for both bpmns. Issue-ID: SO-2514 Issue-ID: SO-2515 Change-Id: Icb1706f1974341182f13b9125e09418b61571c52 Signed-off-by: EricMoore --- .../resources/process/ConfigurePnfResource.bpmn | 4 +- .../main/resources/process/PNFSWUPDownload.bpmn | 202 +++++++++++++++ .../main/resources/process/PNFSoftwareUpgrade.bpmn | 273 +++++++++++++++++++++ 3 files changed, 477 insertions(+), 2 deletions(-) create mode 100644 bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/PNFSWUPDownload.bpmn create mode 100644 bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/PNFSoftwareUpgrade.bpmn (limited to 'bpmn/so-bpmn-infrastructure-flows/src/main/resources/process') diff --git a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/ConfigurePnfResource.bpmn b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/ConfigurePnfResource.bpmn index 693dd922e2..234c744e4a 100644 --- a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/ConfigurePnfResource.bpmn +++ b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/ConfigurePnfResource.bpmn @@ -22,7 +22,7 @@ SequenceFlow_1w4p9f7 - #{execution.getVariable("CDSStatus").equals("Success")} + #{execution.getVariable("ControllerStatus").equals("Success")} SequenceFlow_02919fh @@ -30,7 +30,7 @@ SequenceFlow_0d24h26 - #{execution.getVariable("CDSStatus").equals("Success")} + #{execution.getVariable("ControllerStatus").equals("Success")} diff --git a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/PNFSWUPDownload.bpmn b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/PNFSWUPDownload.bpmn new file mode 100644 index 0000000000..24ca7104a7 --- /dev/null +++ b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/PNFSWUPDownload.bpmn @@ -0,0 +1,202 @@ + + + + + SequenceFlow_1fdclh0 + + + SequenceFlow_1fdclh0 + SequenceFlow_12155q6 + + + SequenceFlow_1d2rfyx + + + + SequenceFlow_0o6b6a8 + SequenceFlow_078xmlz + SequenceFlow_0qznt4u + + + SequenceFlow_078xmlz + + + + SequenceFlow_1ccldpp + SequenceFlow_0s6i4o9 + SequenceFlow_1tfbzn1 + + + SequenceFlow_1tfbzn1 + + + + SequenceFlow_1kaikh5 + SequenceFlow_1d2rfyx + SequenceFlow_1gawssm + + + SequenceFlow_1gawssm + + + + + + downloadNESw + pnf + async + + + SequenceFlow_0s6i4o9 + SequenceFlow_0o6b6a8 + + + + + postCheck + pnf + async + + + SequenceFlow_0qznt4u + SequenceFlow_1kaikh5 + + + + + preCheck + pnf + async + + + SequenceFlow_12155q6 + SequenceFlow_1ccldpp + + + + + #{execution.getVariable("ControllerStatus").equals("Success")} + + + + + + #{execution.getVariable("ControllerStatus").equals("Success")} + + + + + + #{execution.getVariable("ControllerStatus").equals("Success")} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/PNFSoftwareUpgrade.bpmn b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/PNFSoftwareUpgrade.bpmn new file mode 100644 index 0000000000..8d59dac8ac --- /dev/null +++ b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/PNFSoftwareUpgrade.bpmn @@ -0,0 +1,273 @@ + + + + + SequenceFlow_1ng4b6l + + + SequenceFlow_1ng4b6l + SequenceFlow_12ejx4m + + + + SequenceFlow_1atiydu + + + + + SequenceFlow_0cchgih + SequenceFlow_1lr7vgu + SequenceFlow_1eljvek + + + SequenceFlow_1lr7vgu + + + + SequenceFlow_0j26xlx + SequenceFlow_1nsmyr5 + SequenceFlow_0piri91 + + + #{execution.getVariable("ControllerStatus").equals("Success")} + + + SequenceFlow_0piri91 + + + + + + SequenceFlow_015y785 + SequenceFlow_0dqnb6c + SequenceFlow_0eiif6e + + + SequenceFlow_0dqnb6c + + + + + SequenceFlow_0g3qcd0 + SequenceFlow_1p0axph + SequenceFlow_1atiydu + + + SequenceFlow_1p0axph + + + + + #{execution.getVariable("ControllerStatus").equals("Success")} + + + #{execution.getVariable("ControllerStatus").equals("Success")} + + + #{execution.getVariable("ControllerStatus").equals("Success")} + + + + + downloadNESw + pnf + async + + + SequenceFlow_1nsmyr5 + SequenceFlow_0cchgih + + + + + + activateNESw + pnf + async + + + SequenceFlow_1eljvek + SequenceFlow_015y785 + + + + + + postCheck + pnf + async + + + SequenceFlow_084orr1 + SequenceFlow_0g3qcd0 + + + + + + preCheck + pnf + async + + + SequenceFlow_12ejx4m + SequenceFlow_0j26xlx + + + + SequenceFlow_0eiif6e + SequenceFlow_084orr1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit 1.2.3-korg