From bc753dfd1a7eeccecd34763674653d319b822f2b Mon Sep 17 00:00:00 2001
From: xg353y <xg353y@intl.att.com>
Date: Thu, 9 May 2019 11:41:30 +0200
Subject: Fix the loop log issue

Fix the issue where loop log doesn't refresh in UI on time; update the
Refresh Status menu to point to the correct url

Issue-ID: CLAMP-360
Change-Id: I65064e8f3fe16beea4cb397f66d8e871db17f77d
Signed-off-by: xg353y <xg353y@intl.att.com>
---
 src/main/resources/clds/camel/rest/clamp-api-v2.xml | 6 ++++--
 1 file changed, 4 insertions(+), 2 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 4d3c6b38..0d6d3cb2 100644
--- a/src/main/resources/clds/camel/rest/clamp-api-v2.xml
+++ b/src/main/resources/clds/camel/rest/clamp-api-v2.xml
@@ -605,8 +605,6 @@
 						message="Get Status request successfully executed. The new state is: ${body}" />
 					<to
 						uri="bean:org.onap.clamp.loop.log.LoopLogService?method=addLog('Get Status request successfully executed','INFO',${exchangeProperty[loopObject]})" />
-					<to
-						uri="bean:org.onap.clamp.loop.LoopController?method=getLoop(${header.loopName})" />
 					<to
 						uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=endLog()" />
 					<doCatch>
@@ -622,6 +620,10 @@
 						<to
 							uri="bean:org.onap.clamp.loop.log.LoopLogService?method=addLog('Get Status request failed','ERROR',${exchangeProperty[loopObject]})" />
 					</doCatch>
+					<doFinally>
+						<to
+							uri="bean:org.onap.clamp.loop.LoopController?method=getLoop(${header.loopName})" />
+					</doFinally>
 				</doTry>
 			</route>
 		</get>
-- 
cgit