2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
6 * Copyright © 2017 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 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
23 package org.onap.aai.sa.searchdbabstraction.logging;
25 import com.att.eelf.i18n.EELFResourceManager;
26 import org.openecomp.cl.eelf.LogMessageEnum;
28 public enum SearchDbMsgs implements LogMessageEnum {
40 ELASTIC_SEARCH_CONNECTION_ATTEMPT,
46 ELASTIC_SEARCH_CONNECTION_SUCCESS,
53 ELASTIC_SEARCH_CONNECTION_FAILURE,
57 * {0} = Filter configuration file.
58 * {1} = Failure cause.
60 FILTERS_CONFIG_FAILURE,
64 * {0} = Analysys configuration file.
67 ANALYSYS_CONFIG_FAILURE,
104 CREATE_DOCUMENT_TIME,
111 UPDATE_DOCUMENT_TIME,
118 DELETE_DOCUMENT_TIME,
137 BULK_OPERATIONS_TIME,
142 PROCESSED_BULK_OPERATIONS,
155 PROCESS_INLINE_QUERY,
159 * {0} - Operation type (GET or POST)
162 PROCESS_PAYLOAD_QUERY,
169 INDEX_CREATE_FAILURE,
176 INDEX_DELETE_FAILURE,
180 * {0} = Failure cause.
182 GET_ANALYZERS_FAILURE,
186 * {0} = Failure cause.
188 BULK_OPERATION_FAILURE,
195 EXCEPTION_DURING_METHOD_CALL,
198 * Received request {0} {1} from {2}. Sending response: {3}
204 * {3} = response code
206 PROCESS_REST_REQUEST,
210 * Exception encountered during startup of search service: {0}
218 * Load message bundle (SearchDbMsgs.properties file)
221 EELFResourceManager.loadMessageBundle("logging/SearchDbMsgs");