aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/java
diff options
context:
space:
mode:
authorAmichai Hemli <amichai.hemli@intl.att.com>2019-09-25 18:08:03 +0300
committerAmichai Hemli <amichai.hemli@intl.att.com>2019-09-25 18:08:03 +0300
commit16b52c71ed49b9cd6ffa2cd1383d1b6c7724e17f (patch)
tree6229b66616b232b13667821bfc3ba08dfe850bee /vid-app-common/src/main/java
parentde6b7cc7244722bf984a0d7cb7070fe568614df6 (diff)
Expect None_Upgrade action for VNF upgrade
FE will send the None_Upgrade action therefore we need to map it to Upgrade Issue-ID: VID-651 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com> Change-Id: Ia4806386dcd8faf557f0c17a2f533afa386b2ec1
Diffstat (limited to 'vid-app-common/src/main/java')
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/model/serviceInstantiation/BaseResource.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/vid-app-common/src/main/java/org/onap/vid/model/serviceInstantiation/BaseResource.java b/vid-app-common/src/main/java/org/onap/vid/model/serviceInstantiation/BaseResource.java
index 642843a0c..1079fbe92 100644
--- a/vid-app-common/src/main/java/org/onap/vid/model/serviceInstantiation/BaseResource.java
+++ b/vid-app-common/src/main/java/org/onap/vid/model/serviceInstantiation/BaseResource.java
@@ -69,6 +69,7 @@ public abstract class BaseResource implements JobAdapter.AsyncJobRequest {
.put("None_Delete", Action.Delete)
.put("Resume", Action.Resume)
.put("Upgrade", Action.Upgrade)
+ .put("None_Upgrade", Action.Upgrade)
.build();