From 1761c819d08244adaf3bbb36f053884c89d1a0db Mon Sep 17 00:00:00 2001 From: xuegao Date: Thu, 9 Jul 2020 15:45:40 +0200 Subject: Fix delete flow bug Fix the bug in delete flow, when the loop is already undeployed. Issue-ID: CLAMP-864 Change-Id: I6ca52b260bf2229b8ed28d8ebac93eef65d12d96 Signed-off-by: xuegao --- src/main/resources/clds/camel/rest/clamp-api-v2.xml | 18 ++++++++++++++++++ src/main/resources/clds/camel/routes/dcae-flows.xml | 8 ++++---- 2 files changed, 22 insertions(+), 4 deletions(-) (limited to 'src/main/resources/clds/camel') 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 99e92f5be..505ea30d9 100644 --- a/src/main/resources/clds/camel/rest/clamp-api-v2.xml +++ b/src/main/resources/clds/camel/rest/clamp-api-v2.xml @@ -200,6 +200,9 @@ + + true + + + true + + + true + + + true + + + true + + + true + + uri="bean:org.onap.clamp.policy.microservice.MicroServicePolicyService?method=updateDcaeDeploymentFields(${exchangeProperty[microServicePolicy]},null,${exchangeProperty[dcaeStatusUrl]})" /> @@ -322,7 +322,7 @@ method="getStatusUrl(${exchangeProperty[dcaeResponse]})" /> + uri="bean:org.onap.clamp.loop.LoopService?method=updateDcaeDeploymentFields(${exchangeProperty[loopObject]},null,${exchangeProperty[dcaeStatusUrl]})" /> + message="GET DCAE deployment request FAILED for loop: ${header.loopName}, ${exception.stacktrace}" /> + uri="bean:org.onap.clamp.loop.log.LoopLogService?method=addLog('GET DCAE deployment request failed, Error reported: ${exception.message}','ERROR',${exchangeProperty[loopObject]})" /> -- cgit 1.2.3-korg