Merge "Fix the loop log issue"
authorSébastien Determe <sebastien.determe@intl.att.com>
Thu, 9 May 2019 11:39:17 +0000 (11:39 +0000)
committerGerrit Code Review <gerrit@onap.org>
Thu, 9 May 2019 11:39:17 +0000 (11:39 +0000)
1  2 
src/main/resources/clds/camel/rest/clamp-api-v2.xml

                                                        loggingLevel="ERROR"
                                                        message="Get Status request failed for loop: ${header.loopName}" />
                                                <to
 -                                                      uri="bean:org.onap.clamp.loop.log.LoopLogService?method=addLog('Get Status request failed','ERROR',${exchangeProperty[loopObject]})" />
 +                                                      uri="bean:org.onap.clamp.loop.log.LoopLogService?method=addLog('Get Status request failed, Error reported: ${exception}','ERROR',${exchangeProperty[loopObject]})" />
                                        </doCatch>
+                                       <doFinally>
+                                               <to
+                                                       uri="bean:org.onap.clamp.loop.LoopController?method=getLoop(${header.loopName})" />
+                                       </doFinally>
                                </doTry>
                        </route>
                </get>