Update rest-client with additional operations
[aai/rest-client.git] / src / main / resources / logging / RESTClientMsgs.properties
1 #Resource key=Error Code|Message text|Resolution text |Description text
2 #######
3 #Newlines can be utilized to add some clarity ensuring continuing line
4 #has atleast one leading space
5 #ResourceKey=\
6 #             ERR0000E\
7 #             Sample error msg txt\
8 #             Sample resolution msg\
9 #             Sample description txt
10 #
11 ######
12 #Error code classification category
13 #000    Info/Debug
14 #100    Permission errors
15 #200    Availability errors/Timeouts
16 #300    Data errors
17 #400    Schema Interface type/validation errors
18 #500    Business process errors
19 #900    Unknown errors
20 #
21 ########################################################################
22
23 HTTP_REQUEST=\
24     AC0001I|\
25     {0} request at url = {1}
26
27 HTTP_REQUEST_WITH_RETRIES=\
28     AC0002I|\
29     {0} request at url = {1} attempt number = {2}
30
31 HTTP_REQUEST_TIME=\
32     AC0003I|\
33     {0} request operation time = {1} ms for link = {2}
34
35 HTTP_RESPONSE=\
36     AC0004I|\
37     request at url = {0} resulted in http response: {1}
38     
39 HEALTH_CHECK_ATTEMPT=\
40     AC0005I|\
41     Attempting to connect to {0} at {1}
42
43 HEALTH_CHECK_SUCCESS=\
44     AC0006I|\
45     Successfully established connection to {0} at {1}
46
47 HTTP_REQUEST_INTERRUPTED=\
48     AC2001E|\
49     {0} request interrupted while sleeping at url = {1} with cause = {2}
50
51 HTTP_REQUEST_ERROR=\
52     AC2002E|\
53     Error during {0} operation to endpoint at url = {1} with error = {2}
54
55 HEALTH_CHECK_FAILURE=\
56     AC2003E|\
57     Failed to establish connection to {0} at {1}. Cause {2}
58     
59 CLIENT_INITIALIZATION_FAILURE=\
60     AC2004E|\
61     Failure to initialize rest client. Cause {0}