From: sebdet Date: Thu, 9 May 2019 16:37:40 +0000 (+0200) Subject: Add more DCAE state for undeploy X-Git-Tag: 6.0.0~11^2~453 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=2fe9ae1ae42b287c4052de098b150f4b0a8e24ab;p=policy%2Fclamp.git 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 --- 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" />