summaryrefslogtreecommitdiffstats
path: root/etc/ExceptionConfig.json
diff options
context:
space:
mode:
authorVENKATESH KUMAR <vv770d@att.com>2017-08-22 23:36:51 +0100
committerVENKATESH KUMAR <vv770d@att.com>2017-08-23 00:57:24 -0400
commit64dd2f365ce28e8254ba8fa4407dc5d7f192dacf (patch)
treef950dd24404a02acfdd0a853cbb9fef3fb4b65ce /etc/ExceptionConfig.json
parentef607b769611ddb809a4c13ce421f88ece16017d (diff)
dcaegen2 vescollector seedcode
Initial seed code delivery for vescollector for support on the gen2dcae platform Issue-ID: DCAEGEN2-52 Change-Id: Id2477eb266f05caf64c67dd809b1ad146ff4fb92 Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
Diffstat (limited to 'etc/ExceptionConfig.json')
-rw-r--r--etc/ExceptionConfig.json42
1 files changed, 42 insertions, 0 deletions
diff --git a/etc/ExceptionConfig.json b/etc/ExceptionConfig.json
new file mode 100644
index 00000000..1345cdcd
--- /dev/null
+++ b/etc/ExceptionConfig.json
@@ -0,0 +1,42 @@
+{
+ "code" : {
+ "200" :
+ [
+ {
+ "Reason" : "OK",
+ "ErrorCode": ["OK","Event message has been accepted"]
+ }
+ ],
+
+ "204": [
+ {
+ "Reason" : "Accepted",
+ "ErrorCode": ["OK","Event message has been accepted"]
+ }
+ ],
+ "400" :
+ [
+ {
+ "Reason" : "BadParameter",
+ "ErrorCode": ["SVC0002","Bad Parameter" ]
+ },
+
+ {
+ "Reason" : "Error",
+ "ErrorCode": ["SVC2000","General Service Error with details"]
+ },
+ {
+ "Reason" : "exceeded",
+ "ErrorCode": ["POL9003","Message content size exceeded" ]
+ }
+
+ ],
+ "401" :
+ [
+ {
+ "Reason" : "Unauthorized",
+ "ErrorCode": ["POL2000","Unauthorized user"]
+ }
+ ]
+ }
+} \ No newline at end of file