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.datarouter.logging;
23 import com.att.eelf.i18n.EELFResourceManager;
25 import org.onap.aai.cl.eelf.LogMessageEnum;
27 public enum EntityEventPolicyMsgs implements LogMessageEnum {
36 DISCARD_EVENT_VERBOSE,
43 DISCARD_EVENT_NONVERBOSE,
46 * OXM version: {0} is not supported.
50 OXM_VERSION_NOT_SUPPORTED,
53 * Failed to parse UEB payload.
58 FAILED_TO_PARSE_UEB_PAYLOAD,
61 * Unable to retrieve etag at {0} for entity with id {1}
63 * {0} = Resource endpoint.
66 NO_ETAG_AVAILABLE_FAILURE,
69 * Failed to update entity {0} with operation {1}.
74 FAILED_TO_UPDATE_ENTITY_IN_DOCSTORE,
78 * Action: {0} is not supported.
82 ENTITY_OPERATION_NOT_SUPPORTED,
88 DISCARD_UPDATING_SEARCH_SUGGESTION_DATA,
91 * Discarding topographical data. Reason: {0}. Payload: {1}
93 * {0} = Reason for discarding data.
96 DISCARD_UPDATING_TOPOGRAPHY_DATA_VERBOSE,
99 * Discarding topographical data. Reason: {0}
101 * {0} = Reason for discarding data.
103 DISCARD_UPDATING_TOPOGRAPHY_DATA_NONVERBOSE,
106 * Failed to load OXM Model.
108 PROCESS_OXM_MODEL_MISSING,
111 * Failed to create Search index {0} due to: {1}
117 FAIL_TO_CREATE_SEARCH_INDEX,
120 * Failed to find OXM version in UEB payload. {0}
124 FAILED_TO_FIND_OXM_VERSION,
130 * Processing AAI Entity Event Policy:
136 PROCESS_ENTITY_EVENT_POLICY_VERBOSE,
139 * Processing AAI Entity Event Policy:
144 PROCESS_ENTITY_EVENT_POLICY_NONVERBOSE,
147 * Cross Entity Reference synchronization {0}
152 CROSS_ENTITY_REFERENCE_SYNC,
155 * Operation {0} completed in {1} ms with no errors
157 * {0} = Operation type
160 OPERATION_RESULT_NO_ERRORS,
163 * Found OXM model: {0}
167 PROCESS_OXM_MODEL_FOUND,
170 * Successfully created index at {0}
173 * {0} = Index resource endpoint
175 SEARCH_INDEX_CREATE_SUCCESS,
178 * Entity Event Policy component started.
180 ENTITY_EVENT_POLICY_REGISTERED,
186 PRIMARY_KEY_NULL_FOR_ENTITY_TYPE,
189 * Arguments: {0} = UEB payload
191 UEB_INVALID_PAYLOAD_JSON_FORMAT,
194 * Arguments: {0} = Event header
196 UEB_FAILED_TO_PARSE_PAYLOAD,
199 * Arguments: {0} = Exception
201 UEB_FAILED_UEBEVENTHEADER_CONVERSION,
204 * Arguments: {0} = UEB event header
206 UEB_EVENT_HEADER_PARSED;
209 * Static initializer to ensure the resource bundles for this class are loaded...
212 EELFResourceManager.loadMessageBundle("logging/EntityEventPolicyMsgs");