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.datarouter.logging;
25 import com.att.eelf.i18n.EELFResourceManager;
27 import org.onap.aai.cl.eelf.LogMessageEnum;
29 public enum EntityEventPolicyMsgs implements LogMessageEnum {
38 DISCARD_AAI_EVENT_VERBOSE,
45 DISCARD_AAI_EVENT_NONVERBOSE,
48 * OXM version: {0} is not supported.
52 OXM_VERSION_NOT_SUPPORTED,
55 * Failed to parse UEB payload.
60 FAILED_TO_PARSE_UEB_PAYLOAD,
63 * Unable to retrieve etag at {0} for entity with id {1}
65 * {0} = Resource endpoint.
68 NO_ETAG_AVAILABLE_FAILURE,
71 * Failed to update entity {0} with operation {1}.
76 FAILED_TO_UPDATE_ENTITY_IN_DOCSTORE,
80 * Action: {0} is not supported.
84 ENTITY_OPERATION_NOT_SUPPORTED,
90 DISCARD_UPDATING_SEARCH_SUGGESTION_DATA,
93 * Discarding topographical data. Reason: {0}. Payload: {1}
95 * {0} = Reason for discarding data.
98 DISCARD_UPDATING_TOPOGRAPHY_DATA_VERBOSE,
101 * Discarding topographical data. Reason: {0}
103 * {0} = Reason for discarding data.
105 DISCARD_UPDATING_TOPOGRAPHY_DATA_NONVERBOSE,
108 * Failed to load OXM Model.
110 PROCESS_OXM_MODEL_MISSING,
113 * Failed to create Search index {0} due to: {1}
119 FAIL_TO_CREATE_SEARCH_INDEX,
122 * Failed to find OXM version in UEB payload. {0}
126 FAILED_TO_FIND_OXM_VERSION,
132 * Processing AAI Entity Event Policy:
138 PROCESS_AAI_ENTITY_EVENT_POLICY_VERBOSE,
141 * Processing AAI Entity Event Policy:
146 PROCESS_AAI_ENTITY_EVENT_POLICY_NONVERBOSE,
149 * Cross Entity Reference synchronization {0}
154 CROSS_ENTITY_REFERENCE_SYNC,
157 * Operation {0} completed in {1} ms with no errors
159 * {0} = Operation type
162 OPERATION_RESULT_NO_ERRORS,
165 * Found OXM model: {0}
169 PROCESS_OXM_MODEL_FOUND,
172 * Successfully created index at {0}
175 * {0} = Index resource endpoint
177 SEARCH_INDEX_CREATE_SUCCESS,
180 * Entity Event Policy component started.
182 ENTITY_EVENT_POLICY_REGISTERED,
188 PRIMARY_KEY_NULL_FOR_ENTITY_TYPE,
191 * Arguments: {0} = UEB payload
193 UEB_INVALID_PAYLOAD_JSON_FORMAT,
196 * Arguments: {0} = Event header
198 UEB_FAILED_TO_PARSE_PAYLOAD,
201 * Arguments: {0} = Exception
203 UEB_FAILED_UEBEVENTHEADER_CONVERSION,
206 * Arguments: {0} = UEB event header
208 UEB_EVENT_HEADER_PARSED;
211 * Static initializer to ensure the resource bundles for this class are loaded...
214 EELFResourceManager.loadMessageBundle("logging/EntityEventPolicyMsgs");