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=d1c191dc7115b5f62336fafad36d15453364dde1;hpb=8063862aeed5341f32cb6d95e212ed99e43e57c7;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 d1c191dc..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,49 +252,102 @@
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
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+ java.lang.Exception
+
+ true
+
+
+
+
+
+ 500
+
+
+ REFRESH json schema request FAILED
+
+
+
+
+
+
-
+
+ message="Refresh Operational Policy UI for loop: ${header.loopName} and ${header.operationalPolicyName}" />
+ uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=startLog(*, 'REFRESH Operational Policy UI request')" />
+ uri="bean:org.onap.clamp.loop.LoopController?method=refreshOperationalPolicyJsonRepresentation(${exchangeProperty[loopObject]},${header.operationalPolicyName}})" />
+ message="REFRESH operational policy request successfully executed for loop: ${header.loopName}" />
+ uri="bean:org.onap.clamp.loop.log.LoopLogService?method=addLog('REFRESH operational policy request successfully executed','INFO',${exchangeProperty[loopObject]})" />
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
+
@@ -267,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
+
@@ -304,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
+
@@ -342,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
+
@@ -444,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
+
@@ -517,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
+
@@ -549,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
+
@@ -592,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
+
@@ -622,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
+
@@ -656,14 +814,18 @@
true
+
+
+
500
-
- ERROR: ${exception.message}
-
-
+
+ CREATE Loop from template FAILED
+
@@ -684,10 +846,18 @@
java.lang.Exception
- false
+ true
+ uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=errorLog()" />
+
+
+ 500
+
+
+ GET Dictionary FAILED
+
@@ -709,10 +879,18 @@
java.lang.Exception
- false
+ true
+ uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=errorLog()" />
+
+
+ 500
+
+
+ GET Dictionary FAILED
+
@@ -734,10 +912,18 @@
java.lang.Exception
- false
+ true
+ uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=errorLog()" />
+
+
+ 500
+
+
+ GET Dictionary FAILED
+
@@ -761,10 +947,18 @@
java.lang.Exception
- false
+ true
+ uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=errorLog()" />
+
+
+ 500
+
+
+ PUT Dictionary FAILED
+
@@ -791,10 +985,18 @@
java.lang.Exception
- false
+ true
+ uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=errorLog()" />
+
+
+ 500
+
+
+ PUT Dictionary FAILED
+
@@ -815,10 +1017,18 @@
java.lang.Exception
- false
+ true
+ uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=errorLog()" />
+
+
+ 500
+
+
+ DELETE Dictionary FAILED
+
@@ -841,10 +1051,18 @@
java.lang.Exception
- false
+ true
+ uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=errorLog()" />
+
+
+ 500
+
+
+ DELETE Dictionary element FAILED
+
@@ -869,14 +1087,16 @@
true
+
+
500
-
- ERROR: ${exception.message}
-
-
+
+ GET Policy models FAILED
+
@@ -901,14 +1121,16 @@
true
+
+
500
-
- ERROR: ${exception.message}
-
-
+
+ GET Policy model FAILED
+
@@ -932,14 +1154,16 @@
true
+
+
500
-
- ERROR: ${exception.message}
-
-
+
+ GET Policy model YAML FAILED
+
@@ -968,14 +1192,16 @@
true
+
+
- 404
+ 500
-
- ERROR: ${exception.message}
-
-
+
+ POST Policy model YAML FAILED
+
@@ -1004,14 +1230,16 @@
true
-
- 404
-
-
- ERROR: ${exception.message}
-
+
+
+ 500
+
+
+ MODIFY Policy model YAML FAILED
+
@@ -1036,14 +1264,16 @@
true
+
+
500
-
- ERROR: ${exception.message}
-
-
+
+ GET ALL templates FAILED
+
@@ -1068,14 +1298,16 @@
true
+
+
500
-
- ERROR: ${exception.message}
-
-
+
+ GET Template FAILED
+
@@ -1096,10 +1328,18 @@
java.lang.Exception
- false
+ true
+ uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=errorLog()" />
+
+
+ 500
+
+
+ GET All Template names FAILED
+
@@ -1120,10 +1360,18 @@
java.lang.Exception
- false
+ true
+
+
+ 500
+
+
+ GET SVG for Template FAILED
+