X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Fclds%2Fcamel%2Frest%2Fclamp-api-v2.xml;h=e6741d6f890d7afbcdbadf359e699ce2a7ec7a69;hb=580141f7cf72d4a120722fc7b870dfc5c3017ced;hp=d81c164a5ebed3c57ab4ab926d940b638089d774;hpb=a2dbf1f653cba8c2d2835b36e8c89c9e41c5d1bb;p=clamp.git 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 d81c164a..e6741d6f 100644 --- a/src/main/resources/clds/camel/rest/clamp-api-v2.xml +++ b/src/main/resources/clds/camel/rest/clamp-api-v2.xml @@ -16,10 +16,19 @@ java.lang.Exception - false + true + uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=errorLog()" /> + + + + 500 + + + GET All Loop names FAILED + @@ -40,10 +49,19 @@ java.lang.Exception - false + true + uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=errorLog()" /> + + + + 500 + + + GET Loop FAILED + @@ -64,10 +82,19 @@ java.lang.Exception - false + true + uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=errorLog()" /> + + + + 500 + + + GET SVG For loop FAILED + @@ -96,10 +123,19 @@ java.lang.Exception - false + true + uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=errorLog()" /> + + + + 500 + + + UPDATE Global properties FAILED + @@ -127,10 +163,21 @@ java.lang.Exception - false + true + uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=errorLog()" /> + + + + + 500 + + + UPDATE Operational policies FAILED + @@ -161,10 +208,20 @@ java.lang.Exception - false + true + uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=errorLog()" /> + + + + 500 + + + UPDATE MicroService policy FAILED + @@ -195,14 +252,20 @@ java.lang.Exception - false + true + uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=errorLog()" /> + message="DEPLOY request FAILED for loop: ${header.loopName}, ${exception.stacktrace}" /> + uri="bean:org.onap.clamp.loop.log.LoopLogService?method=addLog('DEPLOY request failed, Error reported: ${exception} - Body: ${exception.responseBody}','ERROR',${exchangeProperty[loopObject]})" /> + + 500 + + + DEPLOY request FAILED + @@ -230,14 +293,20 @@ java.lang.Exception - false + true + message="REFRESH json schema request FAILED for loop: ${header.loopName}, ${exception.stacktrace}" /> + uri="bean:org.onap.clamp.loop.log.LoopLogService?method=addLog('REFRESH Json schema request failed, Error reported: ${exception} - Body: ${exception.responseBody}','ERROR',${exchangeProperty[loopObject]})" /> + + 500 + + + REFRESH json schema request FAILED + @@ -265,14 +334,20 @@ java.lang.Exception - false + true + uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=errorLog()" /> + message="REFRESH json schema request FAILED for loop: ${header.loopName}, ${exception.stacktrace}" /> + uri="bean:org.onap.clamp.loop.log.LoopLogService?method=addLog('REFRESH Json schema request failed, Error reported: ${exception} - Body: ${exception.responseBody}','ERROR',${exchangeProperty[loopObject]})" /> + + 500 + + + REFRESH json schema request FAILED + @@ -302,14 +377,20 @@ java.lang.Exception - false + true + uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=errorLog()" /> + message="UNDEPLOY request FAILED for loop: ${header.loopName}, ${exception.stacktrace}" /> + uri="bean:org.onap.clamp.loop.log.LoopLogService?method=addLog('UNDEPLOY request failed, Error reported: ${exception} - Body: ${exception.responseBody}','ERROR',${exchangeProperty[loopObject]})" /> + + 500 + + + UNDEPLOY request FAILED + @@ -339,14 +420,20 @@ java.lang.Exception - false + true + uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=errorLog()" /> + message="STOP request FAILED for loop: ${header.loopName}, ${exception.stacktrace}" /> + uri="bean:org.onap.clamp.loop.log.LoopLogService?method=addLog('STOP request failed, Error reported: ${exception} - Body: ${exception.responseBody}','ERROR',${exchangeProperty[loopObject]})" /> + + 500 + + + STOP request FAILED + @@ -377,14 +464,20 @@ java.lang.Exception - false + true + uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=errorLog()" /> + message="RESTART request FAILED for loop: ${header.loopName}, ${exception.stacktrace}" /> + uri="bean:org.onap.clamp.loop.log.LoopLogService?method=addLog('RESTART request failed, Error reported: ${exception} - Body: ${exception.responseBody}','ERROR',${exchangeProperty[loopObject]})" /> + + 500 + + + RESTART request FAILED + @@ -479,14 +572,20 @@ java.lang.Exception - false + true + uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=errorLog()" /> + message="SUBMIT request FAILED for loop: ${header.loopName}, ${exception.stacktrace}" /> + uri="bean:org.onap.clamp.loop.log.LoopLogService?method=addLog('SUBMIT request failed, Error reported: ${exception} - Body: ${exception.responseBody}','ERROR',${exchangeProperty[loopObject]})" /> + + 500 + + + SUBMIT request FAILED + @@ -552,14 +651,20 @@ java.lang.Exception - false + true + uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=errorLog()" /> + message="DELETE request FAILED for loop: ${header.loopName}, ${exception.stacktrace}" /> + uri="bean:org.onap.clamp.loop.log.LoopLogService?method=addLog('DELETE request failed, Error reported: ${exception} - Body: ${exception.responseBody}','ERROR',${exchangeProperty[loopObject]})" /> + + 500 + + + DELETE request FAILED + @@ -584,21 +689,27 @@ + uri="bean:org.onap.clamp.loop.log.LoopLogService?method=addLog('GET STATUS request successfully executed','INFO',${exchangeProperty[loopObject]})" /> java.lang.Exception - false + true + uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=errorLog()" /> + message="GET STATUS request FAILED for loop: ${header.loopName}, ${exception.stacktrace}" /> + uri="bean:org.onap.clamp.loop.log.LoopLogService?method=addLog('GET STATUS request failed, Error reported: ${exception} - Body: ${exception.responseBody}','ERROR',${exchangeProperty[loopObject]})" /> + + 500 + + + GET STATUS request FAILED + @@ -627,14 +738,20 @@ java.lang.Exception - false + true + message="ADD operational policy request FAILED for loop: ${header.loopName}, ${exception.stacktrace}" /> + + 500 + + + ADD Operational policy request FAILED + @@ -657,14 +774,20 @@ java.lang.Exception - false + true + message="REMOVE operational policy request FAILED for loop: ${header.loopName}, ${exception.stacktrace}" /> + + 500 + + + REMOVE Operational policy request FAILED + @@ -691,14 +814,18 @@ true + + + 500 - - ERROR: ${exception.message} - - + + CREATE Loop from template FAILED + @@ -719,10 +846,18 @@ java.lang.Exception - false + true + uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=errorLog()" /> + + + 500 + + + GET Dictionary FAILED + @@ -744,10 +879,18 @@ java.lang.Exception - false + true + uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=errorLog()" /> + + + 500 + + + GET Dictionary FAILED + @@ -769,10 +912,18 @@ java.lang.Exception - false + true + uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=errorLog()" /> + + + 500 + + + GET Dictionary FAILED + @@ -796,10 +947,18 @@ java.lang.Exception - false + true + uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=errorLog()" /> + + + 500 + + + PUT Dictionary FAILED + @@ -826,10 +985,18 @@ java.lang.Exception - false + true + uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=errorLog()" /> + + + 500 + + + PUT Dictionary FAILED + @@ -850,10 +1017,18 @@ java.lang.Exception - false + true + uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=errorLog()" /> + + + 500 + + + DELETE Dictionary FAILED + @@ -876,10 +1051,18 @@ java.lang.Exception - false + true + uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=errorLog()" /> + + + 500 + + + DELETE Dictionary element FAILED + @@ -904,14 +1087,16 @@ true + + 500 - - ERROR: ${exception.message} - - + + GET Policy models FAILED + @@ -936,14 +1121,16 @@ true + + 500 - - ERROR: ${exception.message} - - + + GET Policy model FAILED + @@ -967,14 +1154,16 @@ true + + 500 - - ERROR: ${exception.message} - - + + GET Policy model YAML FAILED + @@ -1003,14 +1192,16 @@ true + + - 404 + 500 - - ERROR: ${exception.message} - - + + POST Policy model YAML FAILED + @@ -1039,14 +1230,16 @@ true - - 404 - - - ERROR: ${exception.message} - + + + 500 + + + MODIFY Policy model YAML FAILED + @@ -1071,14 +1264,16 @@ true + + 500 - - ERROR: ${exception.message} - - + + GET ALL templates FAILED + @@ -1103,14 +1298,16 @@ true + + 500 - - ERROR: ${exception.message} - - + + GET Template FAILED + @@ -1131,10 +1328,18 @@ java.lang.Exception - false + true + uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=errorLog()" /> + + + 500 + + + GET All Template names FAILED + @@ -1155,10 +1360,18 @@ java.lang.Exception - false + true + + + 500 + + + GET SVG for Template FAILED +