2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright © 2017 AT&T Intellectual Property.
6 * Copyright © 2017 Amdocs
8 * ================================================================================
9 * Licensed under the Apache License, Version 2.0 (the "License");
10 * you may not use this file except in compliance with the License.
11 * You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
20 * ============LICENSE_END=========================================================
22 * ECOMP and OpenECOMP are trademarks
23 * and service marks of AT&T Intellectual Property.
25 package org.openecomp.datarouter.logging;
27 import com.att.eelf.i18n.EELFResourceManager;
29 import org.openecomp.cl.eelf.LogMessageEnum;
31 public enum EntityEventPolicyMsgs implements LogMessageEnum {
40 DISCARD_AAI_EVENT_VERBOSE,
47 DISCARD_AAI_EVENT_NONVERBOSE,
50 * OXM version: {0} is not supported.
54 OXM_VERSION_NOT_SUPPORTED,
57 * Failed to parse UEB payload.
62 FAILED_TO_PARSE_UEB_PAYLOAD,
65 * Unable to retrieve etag at {0} for entity with id {1}
67 * {0} = Resource endpoint.
70 NO_ETAG_AVAILABLE_FAILURE,
73 * Failed to update entity {0} with operation {1}.
78 FAILED_TO_UPDATE_ENTITY_IN_DOCSTORE,
82 * Action: {0} is not supported.
86 ENTITY_OPERATION_NOT_SUPPORTED,
92 DISCARD_UPDATING_SEARCH_SUGGESTION_DATA,
95 * Discarding topographical data. Reason: {0}. Payload: {1}
97 * {0} = Reason for discarding data.
100 DISCARD_UPDATING_TOPOGRAPHY_DATA_VERBOSE,
103 * Discarding topographical data. Reason: {0}
105 * {0} = Reason for discarding data.
107 DISCARD_UPDATING_TOPOGRAPHY_DATA_NONVERBOSE,
110 * Failed to load OXM Model.
112 PROCESS_OXM_MODEL_MISSING,
115 * Failed to create Search index {0} due to: {1}
121 FAIL_TO_CREATE_SEARCH_INDEX,
124 * Failed to find OXM version in UEB payload. {0}
128 FAILED_TO_FIND_OXM_VERSION,
134 * Processing AAI Entity Event Policy:
140 PROCESS_AAI_ENTITY_EVENT_POLICY_VERBOSE,
143 * Processing AAI Entity Event Policy:
148 PROCESS_AAI_ENTITY_EVENT_POLICY_NONVERBOSE,
151 * Cross Entity Reference synchronization {0}
156 CROSS_ENTITY_REFERENCE_SYNC,
159 * Operation {0} completed in {1} ms with no errors
161 * {0} = Operation type
164 OPERATION_RESULT_NO_ERRORS,
167 * Found OXM model: {0}
171 PROCESS_OXM_MODEL_FOUND,
174 * Successfully created index at {0}
177 * {0} = Index resource endpoint
179 SEARCH_INDEX_CREATE_SUCCESS,
182 * Entity Event Policy component started.
184 ENTITY_EVENT_POLICY_REGISTERED,
190 PRIMARY_KEY_NULL_FOR_ENTITY_TYPE,
193 * Arguments: {0} = UEB payload
195 UEB_INVALID_PAYLOAD_JSON_FORMAT,
198 * Arguments: {0} = Event header
200 UEB_FAILED_TO_PARSE_PAYLOAD,
203 * Arguments: {0} = Exception
205 UEB_FAILED_UEBEVENTHEADER_CONVERSION,
208 * Arguments: {0} = UEB event header
210 UEB_EVENT_HEADER_PARSED;
213 * Static initializer to ensure the resource bundles for this class are loaded...
216 EELFResourceManager.loadMessageBundle("logging/EntityEventPolicyMsgs");