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 com.att.eelf.i18n.EELFResourceManager;
24 import org.onap.aai.cl.eelf.LogMessageEnum;
26 public enum SearchDbMsgs implements LogMessageEnum {
34 * Arguments: {0} = url
36 ELASTIC_SEARCH_CONNECTION_ATTEMPT,
39 * Arguments: {0} = url
41 ELASTIC_SEARCH_CONNECTION_SUCCESS,
44 * Arguments: {0} = url {1} = failure cause
46 ELASTIC_SEARCH_CONNECTION_FAILURE,
49 * Arguments: {0} = Filter configuration file. {1} = Failure cause.
51 FILTERS_CONFIG_FAILURE,
54 * Arguments: {0} = Analysys configuration file. {1} = Failure case.
56 ANALYSYS_CONFIG_FAILURE,
59 * Arguments: {0} = Index name
64 * Arguments: {0} = Index name {1} = Document type
69 * Arguments: {0} = Index name
74 * Arguments: {0} = Index name
79 * Arguments: {0} = Index name
84 * Arguments: {0} = Index name
89 * Arguments: {0} = Index name {1} = Document id
94 * Arguments: {0} = Index name {1} = Document id
99 * Arguments: {0} = Index name {1} = Document id
104 * Arguments: {0} = Index name {1} = Query string
111 BULK_OPERATIONS_TIME,
116 PROCESSED_BULK_OPERATIONS,
119 * Arguments: {0} = Event {1} = Result
124 * Arguments: {0} = URL.
126 PROCESS_INLINE_QUERY,
129 * Arguments {0} - Operation type (GET or POST) {1} - URL.
131 PROCESS_PAYLOAD_QUERY,
134 * Arguments: {0} = Index {1} = Error
136 INDEX_CREATE_FAILURE,
139 * Arguments: {0} = Index name {1} = Error cause
141 INDEX_DELETE_FAILURE,
144 * Arguments: {0} = Failure cause.
146 GET_ANALYZERS_FAILURE,
149 * Arguments: {0} = Failure cause.
151 BULK_OPERATION_FAILURE,
154 * Arguments: {0} = Method {1} = Exception
156 EXCEPTION_DURING_METHOD_CALL,
159 * Received request {0} {1} from {2}. Sending response: {3}
162 * Arguments: {0} = operation {1} = target URL {2} = source {3} = response code
164 PROCESS_REST_REQUEST,
168 * Exception encountered during startup of search service: {0}
171 * Arguments: {0} = exception
176 * Load message bundle (SearchDbMsgs.properties file)
179 EELFResourceManager.loadMessageBundle("logging/SearchDbMsgs");