From a3fd799170a8da243cf2c383cf979c4823c7bee3 Mon Sep 17 00:00:00 2001 From: sebdet Date: Mon, 22 Oct 2018 13:57:28 +0200 Subject: Fix deploy Deploy action should not be available when it has been already deployed Issue-ID: CLAMP-229 Change-Id: I155bcd3c1fc2cd8ba5813a9e876b1eff521ebde3 Signed-off-by: sebdet --- src/main/java/org/onap/clamp/clds/model/CldsModel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/org') diff --git a/src/main/java/org/onap/clamp/clds/model/CldsModel.java b/src/main/java/org/onap/clamp/clds/model/CldsModel.java index 47bfedc71..1d1456256 100644 --- a/src/main/java/org/onap/clamp/clds/model/CldsModel.java +++ b/src/main/java/org/onap/clamp/clds/model/CldsModel.java @@ -226,7 +226,7 @@ public class CldsModel { } break; case CldsEvent.ACTION_DEPLOY: - permittedActionCd = Arrays.asList(CldsEvent.ACTION_DEPLOY, CldsEvent.ACTION_UNDEPLOY, + permittedActionCd = Arrays.asList(CldsEvent.ACTION_UNDEPLOY, CldsEvent.ACTION_UPDATE, CldsEvent.ACTION_STOP); break; case CldsEvent.ACTION_RESTART: -- cgit 1.2.3-korg