2 * ============LICENSE_START=======================================================
\r
4 * ================================================================================
\r
5 * Copyright © 2017 AT&T Intellectual Property.
\r
6 * Copyright © 2017 Amdocs
\r
7 * All rights reserved.
\r
8 * ================================================================================
\r
9 * Licensed under the Apache License, Version 2.0 (the "License");
\r
10 * you may not use this file except in compliance with the License.
\r
11 * You may obtain a copy of the License at
\r
13 * http://www.apache.org/licenses/LICENSE-2.0
\r
15 * Unless required by applicable law or agreed to in writing, software
\r
16 * distributed under the License is distributed on an "AS IS" BASIS,
\r
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
18 * See the License for the specific language governing permissions and
\r
19 * limitations under the License.
\r
20 * ============LICENSE_END=========================================================
\r
22 * ECOMP and OpenECOMP are trademarks
\r
23 * and service marks of AT&T Intellectual Property.
\r
25 package org.openecomp.restclient.logging;
\r
27 import com.att.eelf.i18n.EELFResourceManager;
\r
28 import org.openecomp.cl.eelf.LogMessageEnum;
\r
30 public enum RestClientMsgs implements LogMessageEnum {
\r
34 * {0} = HTTP operation
\r
41 * {0} = HTTP operation
\r
43 * {2} = Attempt count.
\r
45 HTTP_REQUEST_WITH_RETRIES,
\r
49 * {0} = HTTP operation
\r
51 * {2} - Operation time in ms.
\r
57 * {0} = HTTP operation
\r
59 * {2} - Operation time in ms.
\r
60 * {3} - Retry count.
\r
62 HTTP_REQUEST_TIME_WITH_RETRIES,
\r
66 * {0} = HTTP operation
\r
68 * {2} - Error message.
\r
70 HTTP_REQUEST_INTERRUPTED,
\r
74 * {0} = HTTP operation
\r
76 * {2} - Error message.
\r
84 HEALTH_CHECK_ATTEMPT,
\r
90 HEALTH_CHECK_SUCCESS,
\r
95 * {1} = failure cause
\r
97 HEALTH_CHECK_FAILURE,
\r
103 * {1} - Response code
\r
109 * Static initializer to ensure the resource bundles for this class are loaded...
\r
112 EELFResourceManager.loadMessageBundle("logging/RESTClientMsgs");
\r