2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
6 * Copyright © 2017-2018 Amdocs
7 * ================================================================================
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 * ============LICENSE_END=========================================================
21 package org.onap.aai.sa.searchdbabstraction.logging;
23 import org.onap.aai.cl.eelf.LogMessageEnum;
24 import com.att.eelf.i18n.EELFResourceManager;
26 public enum SearchDbMsgs implements LogMessageEnum {
38 ELASTIC_SEARCH_CONNECTION_ATTEMPT,
44 ELASTIC_SEARCH_CONNECTION_SUCCESS,
51 ELASTIC_SEARCH_CONNECTION_FAILURE,
55 * {0} = Filter configuration file.
56 * {1} = Failure cause.
58 FILTERS_CONFIG_FAILURE,
62 * {0} = Analysys configuration file.
65 ANALYSYS_CONFIG_FAILURE,
102 CREATE_DOCUMENT_TIME,
109 UPDATE_DOCUMENT_TIME,
116 DELETE_DOCUMENT_TIME,
135 BULK_OPERATIONS_TIME,
140 PROCESSED_BULK_OPERATIONS,
153 PROCESS_INLINE_QUERY,
157 * {0} - Operation type (GET or POST)
160 PROCESS_PAYLOAD_QUERY,
167 INDEX_CREATE_FAILURE,
174 INDEX_DELETE_FAILURE,
178 * {0} = Failure cause.
180 GET_ANALYZERS_FAILURE,
184 * {0} = Failure cause.
186 BULK_OPERATION_FAILURE,
193 EXCEPTION_DURING_METHOD_CALL,
196 * Received request {0} {1} from {2}. Sending response: {3}
202 * {3} = response code
204 PROCESS_REST_REQUEST,
208 * Exception encountered during startup of search service: {0}
216 * Load message bundle (SearchDbMsgs.properties file)
219 EELFResourceManager.loadMessageBundle("logging/SearchDbMsgs");