2 * ============LICENSE_START=======================================================
\r
4 * ================================================================================
\r
5 * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
\r
6 * Copyright © 2017 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 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
\r
23 package org.onap.aai.restclient.logging;
\r
25 import com.att.eelf.i18n.EELFResourceManager;
\r
26 import org.openecomp.cl.eelf.LogMessageEnum;
\r
28 public enum RestClientMsgs implements LogMessageEnum {
\r
32 * {0} = HTTP operation
\r
39 * {0} = HTTP operation
\r
41 * {2} = Attempt count.
\r
43 HTTP_REQUEST_WITH_RETRIES,
\r
47 * {0} = HTTP operation
\r
49 * {2} - Operation time in ms.
\r
55 * {0} = HTTP operation
\r
57 * {2} - Operation time in ms.
\r
58 * {3} - Retry count.
\r
60 HTTP_REQUEST_TIME_WITH_RETRIES,
\r
64 * {0} = HTTP operation
\r
66 * {2} - Error message.
\r
68 HTTP_REQUEST_INTERRUPTED,
\r
72 * {0} = HTTP operation
\r
74 * {2} - Error message.
\r
82 HEALTH_CHECK_ATTEMPT,
\r
88 HEALTH_CHECK_SUCCESS,
\r
93 * {1} = failure cause
\r
95 HEALTH_CHECK_FAILURE,
\r
101 * {1} - Response code
\r
107 * {0} = failure cause
\r
109 CLIENT_INITIALIZATION_FAILURE;
\r
112 * Static initializer to ensure the resource bundles for this class are loaded...
\r
115 EELFResourceManager.loadMessageBundle("logging/RESTClientMsgs");
\r