Fix deploy 35/70935/1
authorsebdet <sebastien.determe@intl.att.com>
Mon, 22 Oct 2018 11:57:28 +0000 (13:57 +0200)
committersebdet <sebastien.determe@intl.att.com>
Mon, 22 Oct 2018 11:57:28 +0000 (13:57 +0200)
Deploy action should not be available when it has been already deployed

Issue-ID: CLAMP-229
Change-Id: I155bcd3c1fc2cd8ba5813a9e876b1eff521ebde3
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
src/main/java/org/onap/clamp/clds/model/CldsModel.java

index 47bfedc..1d14562 100644 (file)
@@ -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: