diff options
author | 2018-08-13 02:44:43 -0400 | |
---|---|---|
committer | 2018-08-13 12:35:56 -0400 | |
commit | 9220f729873a7be6455f832468f5090ccd2a25cb (patch) | |
tree | 26ea9dc633bad1bd9bb0f25465a998cd85e6ee5f /aai-traversal/src/main/java/org/onap/aai/interceptors/post/AAIResponseFilterPriority.java | |
parent | cdeda67931317caa0582b6e806aaf2df42616170 (diff) |
Update traversal to use schema ingest library
Update the traversal microservice to use the ingest
library to make the application more model driven
Issue-ID: AAI-1465
Change-Id: Ifcf56b5d0e7f25ce2bc735b3186e09bc28234100
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
Diffstat (limited to 'aai-traversal/src/main/java/org/onap/aai/interceptors/post/AAIResponseFilterPriority.java')
-rw-r--r-- | aai-traversal/src/main/java/org/onap/aai/interceptors/post/AAIResponseFilterPriority.java | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/aai-traversal/src/main/java/org/onap/aai/interceptors/post/AAIResponseFilterPriority.java b/aai-traversal/src/main/java/org/onap/aai/interceptors/post/AAIResponseFilterPriority.java index 90ab047..146f847 100644 --- a/aai-traversal/src/main/java/org/onap/aai/interceptors/post/AAIResponseFilterPriority.java +++ b/aai-traversal/src/main/java/org/onap/aai/interceptors/post/AAIResponseFilterPriority.java @@ -8,7 +8,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -19,14 +19,22 @@ */ package org.onap.aai.interceptors.post; +/** + * Response Filter order is done reverse sorted + * so in the following case the first response filter would be + * HEADER_MANIPULATION, RESPONSE_TRANS_LOGGING, RESET_LOGGING_CONTEXT, + * and INVALID_RESPONSE_STATUS + */ public final class AAIResponseFilterPriority { + + private AAIResponseFilterPriority() {} + + public static final int INVALID_RESPONSE_STATUS = 1000; - public static final int HEADER_MANIPULATION = 1000; + public static final int RESET_LOGGING_CONTEXT = 2000; - public static final int RESPONSE_TRANS_LOGGING = 2000; + public static final int RESPONSE_TRANS_LOGGING = 3000; - public static final int RESET_LOGGING_CONTEXT = 3000; + public static final int HEADER_MANIPULATION = 4000; - private AAIResponseFilterPriority() { - } } |