2 * ============LICENSE_START=======================================================
\r
4 * ================================================================================
\r
5 * Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
\r
6 * Copyright © 2017-2018 Amdocs
\r
7 * ================================================================================
\r
8 * Licensed under the Apache License, Version 2.0 (the "License");
\r
9 * you may not use this file except in compliance with the License.
\r
10 * You may obtain a copy of the License at
\r
12 * http://www.apache.org/licenses/LICENSE-2.0
\r
14 * Unless required by applicable law or agreed to in writing, software
\r
15 * distributed under the License is distributed on an "AS IS" BASIS,
\r
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
17 * See the License for the specific language governing permissions and
\r
18 * limitations under the License.
\r
19 * ============LICENSE_END=========================================================
\r
21 package org.onap.aai.restclient.logging;
\r
23 import com.att.eelf.i18n.EELFResourceManager;
\r
24 import org.onap.aai.cl.eelf.LogMessageEnum;
\r
26 public enum RestClientMsgs implements LogMessageEnum {
\r
30 * {0} = HTTP operation
\r
37 * {0} = HTTP operation
\r
39 * {2} = Attempt count.
\r
41 HTTP_REQUEST_WITH_RETRIES,
\r
45 * {0} = HTTP operation
\r
47 * {2} - Operation time in ms.
\r
53 * {0} = HTTP operation
\r
55 * {2} - Operation time in ms.
\r
56 * {3} - Retry count.
\r
58 HTTP_REQUEST_TIME_WITH_RETRIES,
\r
62 * {0} = HTTP operation
\r
64 * {2} - Error message.
\r
66 HTTP_REQUEST_INTERRUPTED,
\r
70 * {0} = HTTP operation
\r
72 * {2} - Error message.
\r
80 HEALTH_CHECK_ATTEMPT,
\r
86 HEALTH_CHECK_SUCCESS,
\r
91 * {1} = failure cause
\r
93 HEALTH_CHECK_FAILURE,
\r
99 * {1} - Response code
\r
105 * {0} = failure cause
\r
107 CLIENT_INITIALIZATION_FAILURE;
\r
110 * Static initializer to ensure the resource bundles for this class are loaded...
\r
113 EELFResourceManager.loadMessageBundle("logging/RESTClientMsgs");
\r