From 2fcc09ac09dbc13a5a346fd31d0f70cdc54125fc Mon Sep 17 00:00:00 2001 From: sebdet Date: Mon, 13 May 2019 10:24:06 +0200 Subject: Fix the camel flow Fix the bad log calls done during start/stop actions that led to crash Issue-ID: CLAMP-379 Change-Id: Ia68c6e96ac8c8771d289d22dcfee6730425ba992 Signed-off-by: sebdet --- src/main/resources/clds/camel/rest/clamp-api-v2.xml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/main/resources/clds') 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 98440d72..cf758720 100644 --- a/src/main/resources/clds/camel/rest/clamp-api-v2.xml +++ b/src/main/resources/clds/camel/rest/clamp-api-v2.xml @@ -314,7 +314,7 @@ loggingLevel="INFO" message="Receive STOP request for loop: ${header.loopName}" /> + uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=startLog(*,'Stop the closed loop')" /> @@ -343,7 +343,7 @@ @@ -353,9 +353,9 @@ + message="Receive RESTART request for loop: ${header.loopName}" /> + uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=startLog(*,'Restart the closed loop')" /> @@ -364,9 +364,9 @@ + message="RESTART request successfully executed for loop: ${header.loopName}" /> + uri="bean:org.onap.clamp.loop.log.LoopLogService?method=addLog('RESTART request successfully executed','INFO',${exchangeProperty[loopObject]})" /> @@ -378,9 +378,9 @@ uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=errorLog()" /> + message="RESTART request failed for loop: ${header.loopName}" /> + uri="bean:org.onap.clamp.loop.log.LoopLogService?method=addLog('RESTART request failed, Error reported: ${exception}','INFO',${exchangeProperty[loopObject]})" /> @@ -501,7 +501,7 @@ loggingLevel="INFO" message="Receive DELETE request for loop: ${header.loopName}" /> + uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=startLog(*,'Delete the closed loop')" /> -- cgit 1.2.3-korg