From e79544b8d495cab881f6de3808e6337a2b37e461 Mon Sep 17 00:00:00 2001 From: sebdet Date: Fri, 17 Apr 2020 15:28:06 +0200 Subject: Fix the get status The policy status goes to unknown because the status code returned is not good in some cases (failure with dcae comm) Issue-ID: CLAMP-827 Signed-off-by: sebdet Change-Id: Iae189f62b4c7061949ffd4c842465bf5e379b669 --- src/main/resources/clds/camel/rest/clamp-api-v2.xml | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) (limited to 'src/main/resources/clds/camel/rest/clamp-api-v2.xml') 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 fc7dbd49..879c9b70 100644 --- a/src/main/resources/clds/camel/rest/clamp-api-v2.xml +++ b/src/main/resources/clds/camel/rest/clamp-api-v2.xml @@ -697,16 +697,14 @@ - - - - + + + - - - java.lang.Exception @@ -718,17 +716,14 @@ message="GET STATUS request FAILED for loop: ${header.loopName}, ${exception.stacktrace}" /> - - 500 - - - GET STATUS request FAILED - ${exchangeProperty[loopObject]} + + 200 + -- cgit 1.2.3-korg