From 2fe9ae1ae42b287c4052de098b150f4b0a8e24ab Mon Sep 17 00:00:00 2001 From: sebdet Date: Thu, 9 May 2019 18:37:40 +0200 Subject: Add more DCAE state for undeploy Add IN_ERROR/PROCESSING in accepted state for dcae undeploy Issue-ID: CLAMP-376 Change-Id: I3aed42bcc437399a2be7298f5fae0f7380ccae30 Signed-off-by: sebdet --- src/main/resources/clds/camel/rest/clamp-api-v2.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/main/resources/clds/camel/rest/clamp-api-v2.xml b/src/main/resources/clds/camel/rest/clamp-api-v2.xml index 692e342d7..98440d72f 100644 --- a/src/main/resources/clds/camel/rest/clamp-api-v2.xml +++ b/src/main/resources/clds/camel/rest/clamp-api-v2.xml @@ -266,14 +266,14 @@ - ${exchangeProperty[dcaeStatus]} == 'DEPLOYED' + ${exchangeProperty[dcaeStatus]} == 'DEPLOYED' or ${exchangeProperty[dcaeStatus]} == 'IN_ERROR' or ${exchangeProperty[dcaeStatus]} == 'PROCESSING' + message="Closed Loop is in state ${exchangeProperty[dcaeStatus]}, it can only be undeployed when in state DEPLOYED/IN_ERROR/PROCESSING" /> -- cgit 1.2.3-korg