aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources/logging
diff options
context:
space:
mode:
authorShwetank Dave <shwetank.dave@amdocs.com>2017-05-08 15:36:26 -0400
committerShwetank Dave <shwetank.dave@amdocs.com>2017-05-08 15:37:11 -0400
commit8a665d85c9ea91f024e9a378779aad107550b832 (patch)
tree9b334e3d5dbc7a6cd518fae0872bac14792fbdfc /src/main/resources/logging
parent72744d5784f7227ace9bceac0f5576d5b18b544c (diff)
Initial OpenEcomp A&AI Rest Client commit.
Change-Id: Ic6949778061bdf141431c4b14ea2417da6aa1e57 Signed-off-by: Shwetank Dave <shwetank.dave@amdocs.com>
Diffstat (limited to 'src/main/resources/logging')
-rw-r--r--src/main/resources/logging/RESTClientMsgs.properties57
1 files changed, 57 insertions, 0 deletions
diff --git a/src/main/resources/logging/RESTClientMsgs.properties b/src/main/resources/logging/RESTClientMsgs.properties
new file mode 100644
index 0000000..9df0764
--- /dev/null
+++ b/src/main/resources/logging/RESTClientMsgs.properties
@@ -0,0 +1,57 @@
+#Resource key=Error Code|Message text|Resolution text |Description text
+#######
+#Newlines can be utilized to add some clarity ensuring continuing line
+#has atleast one leading space
+#ResourceKey=\
+# ERR0000E\
+# Sample error msg txt\
+# Sample resolution msg\
+# Sample description txt
+#
+######
+#Error code classification category
+#000 Info/Debug
+#100 Permission errors
+#200 Availability errors/Timeouts
+#300 Data errors
+#400 Schema Interface type/validation errors
+#500 Business process errors
+#900 Unknown errors
+#
+########################################################################
+
+HTTP_REQUEST=\
+ AC0001I|\
+ {0} request at url = {1}
+
+HTTP_REQUEST_WITH_RETRIES=\
+ AC0002I|\
+ {0} request at url = {1} attempt number = {2}
+
+HTTP_REQUEST_TIME=\
+ AC0003I|\
+ {0} request operation time = {1} ms for link = {2}
+
+HTTP_RESPONSE=\
+ AC0004I|\
+ request at url = {0} resulted in http response: {1}
+
+HEALTH_CHECK_ATTEMPT=\
+ AC0005I|\
+ Attempting to connect to {0} at {1}
+
+HEALTH_CHECK_SUCCESS=\
+ AC0006I|\
+ Successfully established connection to {0} at {1}
+
+HTTP_REQUEST_INTERRUPTED=\
+ AC2001E|\
+ {0} request interrupted while sleeping at url = {1} with cause = {2}
+
+HTTP_REQUEST_ERROR=\
+ AC2002E|\
+ Error during {0} operation to endpoint at url = {1} with error = {2}
+
+HEALTH_CHECK_FAILURE=\
+ AC2003E|\
+ Failed to establish connection to {0} at {1}. Cause {2}