summaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/java
diff options
context:
space:
mode:
authorEricMoore <eric.e.moore@est.tech>2020-03-01 19:14:22 +0200
committerEylon Malin <eylon.malin@intl.att.com>2020-05-03 13:17:59 +0000
commiteda0409e699d09b44676e82217391f2724edb6a8 (patch)
tree33b7023a8c16535da1c71937fc3cfe49a9b027be /vid-app-common/src/main/java
parent89050ec38eb9b61cd3ce4283f0bc910c5e414624 (diff)
Change Management: Support PNF software upgrade
Issue-ID: VID-505 Change-Id: I128b22092b78cf05a904648c276807a7ebb21aca Signed-off-by: Ittay Stern <ittay.stern@att.com> Signed-off-by: EricMoore <eric.e.moore@est.tech>
Diffstat (limited to 'vid-app-common/src/main/java')
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/services/LocalWorkflowsServiceImpl.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/vid-app-common/src/main/java/org/onap/vid/services/LocalWorkflowsServiceImpl.java b/vid-app-common/src/main/java/org/onap/vid/services/LocalWorkflowsServiceImpl.java
index 71d577cd4..441f80cf7 100644
--- a/vid-app-common/src/main/java/org/onap/vid/services/LocalWorkflowsServiceImpl.java
+++ b/vid-app-common/src/main/java/org/onap/vid/services/LocalWorkflowsServiceImpl.java
@@ -44,6 +44,10 @@ public class LocalWorkflowsServiceImpl implements LocalWorkflowsService {
new LocalWorkflowParameterDefinition(3, "existingSoftwareVersion", "Existing software version", true, LocalWorkflowType.text, "[-a-zA-Z0-9.]+"),
new LocalWorkflowParameterDefinition(4, "newSoftwareVersion", "New software version", true, LocalWorkflowType.text, "[-a-zA-Z0-9.]+")
)
+ )).put("PNF Software Upgrade", new LocalWorkflowParameterDefinitions(
+ ImmutableList.of(
+ new LocalWorkflowParameterDefinition(6, "targetSoftwareVersion", "Target software version", true, LocalWorkflowType.text, "[-a-zA-Z0-9.]+")
+ )
))
.put("VNF Config Update", new LocalWorkflowParameterDefinitions(
ImmutableList.of(