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.sparky.logging;
25 import org.onap.aai.cl.eelf.LogMessageEnum;
27 import com.att.eelf.i18n.EELFResourceManager;
32 public enum AaiUiMsgs implements LogMessageEnum {
33 /** Arguments: {0} = Exception/error. */
34 FAILURE_TO_PROCESS_REQUEST,
35 /** Arguments: {0} = Message and or error body. */
37 /** Arguments: {0} = Exception/error. */
39 /** Arguments: {0} = Message and or error body. */
41 /** Arguments: {0} = Exception/error. */
42 FAILED_TO_GET_NODES_QUERY_RESULT,
43 /** Arguments: {0} = Expected link count, {1} = Actual link count. */
44 UNEXPECTED_NUMBER_OF_LINKS,
45 /** Arguments: {0} = Reason. */
46 DANGLING_NODE_WARNING,
47 /** Arguments: {0} = Node count, {1} = Link count. */
48 VISUALIZATION_GRAPH_OUTPUT,
49 /** Arguments: {0} = JsonNode. */
51 /** Arguments: {0} = Filter property. */
52 UNEXPECTED_TOKEN_COUNT,
53 /** Arguments: {0} = Error/exception message. */
54 ADD_SEARCH_TARGET_ATTRIBUTES_FAILED,
55 /** Arguments: {0} = Error/exception message. */
56 NODE_INTEGRITY_OVERLAY_ERROR,
57 /** Arguments: {0} = Node ID. */
58 NODE_INTEGRITY_ALREADY_PROCESSED,
59 /** Arguments: {0} = Node ID. */
60 SKIPPING_PROCESS_NODE_INTEGRITY,
61 /** Arguments: {0} = Error/exception message. */
62 FAILED_TO_PROCESS_NODE_INTEGRITY,
64 MAX_EVALUATION_ATTEMPTS_EXCEEDED,
65 /** Arguments: {0} = Error/exception message. */
66 VISUALIZATION_OUTPUT_ERROR,
67 /** Arguments: {0} = Total resolve time, {1} = Total links retrieved, {2} = Op time. */
68 ALL_TRANSACTIONS_RESOLVED,
69 /** Arguments: {0} = Error/exception message. */
70 PROCESSING_LOOP_INTERUPTED,
71 /** Arguments: {0} = Node ID. */
72 IGNORING_SKELETON_NODE,
73 /** Arguments: {0} = Node count. */
74 OUTSTANDING_WORK_PENDING_NODES,
75 /** Arguments: {0} = Reason. */
76 FAILED_TO_ADD_SKELETON_NODE,
77 /** Arguments: {0} = Reason. */
78 FAILED_TO_PROCESS_SKELETON_NODE, INVALID_RESOLVE_STATE_DURING_INIT,
79 /** Arguments: {0} = Reason. */
80 FAILED_TO_PROCESS_INITIAL_STATE,
81 /** Arguments: {0} = Relationship. */
82 SKIPPING_RELATIONSHIP,
83 /** Arguments: {0} = Failure reason. */
84 FAILED_TO_DETERMINE_NODE_ID,
85 /** Arguments: {0} = Error/exception message. */
87 /** Arguments: {0} = Error/exception message. */
88 SELF_LINK_NODE_PARSE_ERROR,
89 /** Arguments: {0} = Node ID. */
91 /** Arguments: {0} = Error/exception message. */
92 SELF_LINK_PROCESS_NEIGHBORS_ERROR,
93 /** Arguments: {0} = Error/exception message. */
94 SELF_LINK_JSON_PARSE_ERROR,
95 /** Arguments: {0} = Error/exception message. */
96 SELF_LINK_PROCESSING_ERROR,
97 /** Arguments: {0} = Entity type. */
98 UNHANDLED_OBJ_TYPE_FOR_ENTITY_TYPE,
99 /** Arguments: {0} = Attribute group. */
100 ATTRIBUTE_GROUP_FAILURE,
101 /** Arguments: {0} = Situational description, {1} = Exception message. */
103 /** Arguments: {0} = Operation name, {1} = Operation time. */
105 /** Arguments: {0} = Error message. */
106 SEARCH_SERVLET_ERROR,
107 /** Arguments: {0} = Exception message. */
108 SEARCH_RESPONSE_BUILDING_EXCEPTION,
109 /** Arguments: {0} = Error message, {1} = Error message. */
110 SEARCH_TAG_ANNOTATION_ERROR,
111 /** Arguments: {0} = App type. */
112 QUERY_FAILED_UNHANDLED_APP_TYPE,
113 /** Arguments: {0} = Entity type. */
114 ENTITY_NOT_FOUND_IN_OXM,
115 /** Arguments: {0} = JSON conversion type, {1} = Error thrown. */
116 JSON_CONVERSION_ERROR,
117 /** Arguments: {0} = Node ID */
118 NO_RELATIONSHIP_DISCOVERED,
120 SELF_LINK_NULL_EMPTY_RESPONSE,
121 /** Arguments: {0} = Error message. */
122 SELF_LINK_RELATIONSHIP_LIST_ERROR,
123 /** Arguments: {0} = AIN id, {1} = old depth, {2} = new depth. */
124 ACTIVE_INV_NODE_CHANGE_DEPTH,
125 /** Arguments: {0} = Node ID, {1} = Current state, {2} = New state {3} = Triggering action */
126 ACTIVE_INV_NODE_CHANGE_STATE,
127 /** Arguments: {0} = Current state, {1} = New state {2} = Triggering action */
128 ACTIVE_INV_NODE_CHANGE_STATE_NO_NODE_ID,
129 /** Arguments: {0} = Count Key {1} = Aggregation Key. */
130 AGGREGATION_KEY_ERROR,
131 /** Arguments: {0} Configuration */
133 /** Arguments: {0} = Source. */
134 ERROR_PARSING_JSON_PAYLOAD_NONVERBOSE,
135 /** Arguments: {0} = Payload. */
136 ERROR_PARSING_JSON_PAYLOAD_VERBOSE,
137 /** Arguments: {0} = Key {1} = JSON Blob. */
138 ERROR_FETCHING_JSON_VALUE,
139 /** Arguments: {0} = Error. */
140 ERROR_PARSING_PARAMS,
142 INVALID_REQUEST_PARAMS,
143 /** Arguments: {0} = Key. */
144 ERROR_SORTING_VIOLATION_DATA,
145 /** Arguments: {0} = exception */
146 ERROR_SERVLET_PROCESSSING,
147 /** Arguments: {0} = exception */
148 ERROR_BUILDING_RESPONSE_FOR_TABLE_QUERY,
149 /** Arguments: {0} = exception */
150 ERROR_BUILDING_SEARCH_RESPONSE,
152 ERROR_CSP_CONFIG_FILE,
153 /** Arguments: {0} = exception */
154 ERROR_SHUTDOWN_EXECUTORS,
157 /** Arguments: {0} = exception */
158 ERROR_GETTING_DATA_FROM_AAI,
160 WAIT_FOR_ALL_SELFLINKS_TO_BE_COLLECTED,
161 /** Arguments: {0} = Entity Type */
162 MISSING_ENTITY_DESCRIPTOR,
163 /** Arguments: {0} = Error */
165 /** Arguments: {0} = Error */
166 ES_FAILED_TO_CONSTRUCT_QUERY,
167 /** Arguments: {0} = Error */
169 /** Arguments: {0} = Error */
171 /** Arguments: {0} = Element */
173 /** Arguments: {0} = Value {1} = Element {2} = Error */
174 ES_ABORT_CROSS_ENTITY_REF_SYNC,
175 /** Arguments: {0} Return Code */
176 ES_OPERATION_RETURN_CODE,
177 /** Arguments: {0} = Error */
178 ES_CROSS_ENTITY_REF_PUT,
180 ES_CROSS_REF_SYNC_VERSION_CONFLICT,
181 /** Arguments: {0} Result Code {1} = Error */
182 ES_CROSS_REF_SYNC_FAILURE,
183 /** Arguments: {0} = Error */
184 ES_FAILED_TO_CONSTRUCT_URI,
186 ES_RETRIEVAL_FAILED_RESYNC,
187 /** Arguments: {0} = Entity */
188 ES_CROSS_ENTITY_RESYNC_LIMIT,
189 /** Arguments: {0} Entity Name */
191 /** Arguments: {0} = Error */
193 /** Arguments: {0} Index Name {1} = Error */
195 /** Arguments: {0} Index Name */
197 /** Arguments: {0} Index Name {1} Size before clean up {2} = Size after clean up */
198 ES_SYNC_CLEAN_UP_SIZE,
199 /** Arguments: {0} Index Name {1} Index Type {2} = Size before delete */
200 ES_SYNC_SELECTIVE_DELETE,
201 /** Arguments: {0} Index Name {1} Number of records */
203 /** Arguments: {0} Index name {1} = Error */
204 ES_BULK_DELETE_ERROR,
205 /** Arguments: {0} Type of retrieval {1} Completion Time */
206 COLLECT_TIME_WITH_ERROR,
207 /** Arguments: {0} Type of retrieval {1} Completion Time */
208 COLLECT_TIME_WITH_SUCCESS,
209 /** Arguments: {0} Type of retrieval {1} Number of records */
211 /** Arguments: {0} Number of required fetches */
212 SYNC_NUMBER_REQ_FETCHES,
213 /** Arguments: {0} Number of total fetches {1} Number of available records */
214 SYNC_NUMBER_TOTAL_FETCHES,
215 /** Arguments: {0} Completion Time */
217 /** Arguments: {0} = Error */
218 ES_SCROLL_CONTEXT_ERROR,
221 /** Arguments: {0} = Number of docs */
222 ES_BULK_DELETE_START,
224 SELF_LINK_CROSS_REF_SYNC,
225 /** Arguments: {0} = message */
227 /** Arguments: {0} = error */
228 JSON_PROCESSING_ERROR,
229 /** Arguments: {0} = exception */
230 ERROR_PROCESSING_REQUEST,
231 /** Arguments: {0} = Self Link */
232 SELF_LINK_GET_NO_RESPONSE,
233 /** Arguments: {0} = error */
234 HISTORICAL_COLLECT_ERROR,
235 /** Arguments: {0} = Time */
236 HISTORICAL_ENTITY_COUNT_SUMMARIZER_STARTING,
238 HISTORICAL_ENTITY_COUNT_SUMMARIZER_NOT_STARTED,
239 /** Arguments: {0} = Controller {1} = Time */
240 HISTORICAL_SYNC_DURATION,
242 HISTORICAL_SYNC_PENDING,
243 /** Arguments: {0} = Time */
244 HISTORICAL_SYNC_TO_BEGIN,
245 /** Arguments: {0} = message */
247 /** Arguments: {0} = message */
249 /** Arguments: {0} = message */
251 /** Arguments: {0} = context {1} = Exception */
253 /** Arguments: {0} = Entity Type {1} Entity */
254 GEO_SYNC_IGNORING_ENTITY,
255 /** Arguments: {0} = reason */
257 /** Arguments: {0} = type */
258 OXM_FAILED_RETRIEVAL, OXM_FILE_NOT_FOUND,
260 OXM_READ_ERROR_NONVERBOSE,
261 /** Arguments: {0} = OXM File name */
262 OXM_READ_ERROR_VERBOSE,
264 OXM_PARSE_ERROR_NONVERBOSE,
265 /** Arguments: {0} = OXM File name {1} = Exception */
266 OXM_PARSE_ERROR_VERBOSE,
267 /** Arguments: {0} = Numerical value for loaded OXM version */
269 /** Arguments: {0} = Entity {1} = Found property-value */
270 OXM_PROP_DEF_ERR_CROSS_ENTITY_REF,
271 /** Arguments: {0} = Sequence Number */
273 /** Arguments: {0} = Reason */
274 ETAG_WAIT_INTERRUPTION,
275 /** Arguments: {0} = URL {1} = Sequence Number */
277 /** Arguments: {0} = URL {1} = Sequence Number */
278 QUERY_AAI_RETRY_DONE_SEQ,
279 /** Arguments: {0} = Reason */
280 QUERY_AAI_WAIT_INTERRUPTION,
281 /** Arguments: {0} = URL {1} = Sequence Number */
282 QUERY_AAI_RETRY_FAILURE_WITH_SEQ,
283 /** Arguments: {0} = URL */
284 QUERY_AAI_RETRY_MAXED_OUT,
285 /** Arguments: {0} = Reason */
287 /** Arguments: {0} = Key */
289 /** Arguments: {0} = URL {1} = Sequence Number */
290 EXECUTOR_SERV_EXCEPTION,
291 /** Arguments: {0} = Exception */
292 DISK_CACHE_READ_IO_ERROR,
293 /** Arguments: {0} = Exception */
294 DISK_CREATE_DIR_IO_ERROR,
295 /** Arguments: {0} = Exception */
296 DISK_DATA_WRITE_IO_ERROR,
297 /** Arguments: {0} = Data Item {1} = Exception */
298 DISK_NAMED_DATA_WRITE_IO_ERROR,
299 /** Arguments: {0} = Data Item {1} = Exception */
300 DISK_NAMED_DATA_READ_IO_ERROR,
302 OFFLINE_STORAGE_PATH_ERROR,
303 /** Arguments: {0} = URL {1} = Error */
304 RESTFULL_OP_ERROR_VERBOSE,
305 /** Arguments: {0} = Method {1} = Time {2} = URL {3} = Result Code */
306 RESTFULL_OP_COMPLETE,
308 INITIALIZE_OXM_MODEL_LOADER,
309 /** Arguments: {0} = Exception */
310 AAI_RETRIEVAL_FAILED_GENERIC,
311 /** Arguments: {0} = Self Link */
312 AAI_RETRIEVAL_FAILED_FOR_SELF_LINK,
313 /** Arguments: {0} = Exception */
314 ATTRIBUTES_NOT_UPDATED_EXCEPTION,
315 /** Arguments: {0} = Message */
316 ATTRIBUTES_NOT_UPDATED_MESSAGE,
317 /** Arguments: {0} = Exception */
318 ATTRIBUTES_ERROR_GETTING_AAI_CONFIG_OR_ADAPTER,
319 /** Arguments: {0} = Schema File URI */
320 ATTRIBUTES_ERROR_LOADING_MODEL_VERSION,
321 /** Arguments: {0} = Request URI {1} = Edit Request Body */
322 ATTRIBUTES_HANDLING_EDIT,
323 /** Arguments: {0} = Object URI {1} = Attribute ID {2} Attribute Values */
324 ATTRIBUTES_UPDATE_METHOD_CALLED,
325 /** Arguments: {0} = Attribute ID */
326 ATTRIBUTES_USER_NOT_AUTHORIZED_TO_UPDATE,
327 /** Arguments: {0} = Cookie */
331 /** Arguments: {0} = Message */
333 /** Arguments: {0} = User ID */
334 USER_AUTHORIZATION_FILE_UNAVAILABLE,
335 /** Arguments: {0} = URL {1} = Cause */
337 /** Arguments: {0} = Row ID */
338 DI_DATA_NOT_FOUND_NONVERBOSE,
339 /** Arguments: {0} = Row ID {1} Attempt count */
340 DI_DATA_NOT_FOUND_VERBOSE,
341 /** Arguments: {0} = Time in ms {1} Status */
342 DI_MS_TIME_FOR_DATA_FETCH,
343 /** Arguments: {0} = Number of Entity Links */
344 ENTITY_SYNC_FAILED_SELFLINK_AMBIGUITY,
345 /** Arguments: {0} = Message */
346 ERROR_EXTRACTING_FROM_RESPONSE,
348 ERROR_LOADING_OXM_SEARCHABLE_ENTITIES,
349 /** Arguments: {0} = Message */
350 ES_SEARCHABLE_ENTITY_SYNC_ERROR,
351 /** Arguments: {0} = Message */
352 FAILED_TO_REGISTER_DUE_TO_NULL,
353 /** Arguments: {0} = File Path */
354 FAILED_TO_RESTORE_TXN_FILE_MISSING,
355 /** Arguments: {0} = Index Name */
356 INDEX_ALREADY_EXISTS,
357 /** Arguments: {0} = Index Name */
359 /** Arguments: {0} = Index Name {1} = Operation Result */
360 INDEX_INTEGRITY_CHECK_FAILED,
361 /** Arguments: {0} = Index Name */
363 /** Arguments: {0} = Index Name */
365 /** Arguments: {0} = Time */
366 SEARCH_ENGINE_SYNC_STARTED,
367 /** Arguments: {0} = Time */
368 SKIP_PERIODIC_SYNC_AS_SYNC_DIDNT_FINISH,
369 /** Arguments: {0} = Message */
371 /** Arguments: {0} = Entity Type */
372 ENTITY_SYNC_FAILED_DESCRIPTOR_NOT_FOUND,
373 /** Arguments: {0} = AAI Query Result */
374 ENTITY_SYNC_FAILED_DURING_AAI_RESPONSE_CONVERSION,
375 /** Arguments: {0} = Message */
376 ENTITY_SYNC_FAILED_QUERY_ERROR,
377 /** Arguments: {0} = Self Link Query */
378 SELF_LINK_DETERMINATION_FAILED_GENERIC,
379 /** Arguments: {0} = Number of Entity Links */
380 SELF_LINK_DETERMINATION_FAILED_UNEXPECTED_LINKS,
381 /** Arguments: {1} = Query {2} = Operation Result Code {3} = Operation Result */
382 SELF_LINK_RETRIEVAL_FAILED,
384 * Arguments: {0} = Controller {1} = Synchronizer Current Internal State {2} = New State {3} =
387 SYNC_INTERNAL_STATE_CHANGED,
388 /** Arguments: {0} = Message */
389 SYNC_INVALID_CONFIG_PARAM,
390 /** Arguments: {0} = Synchronizer Current Internal State */
391 SYNC_NOT_VALID_STATE_DURING_REQUEST,
393 SYNC_SKIPPED_SYNCCONTROLLER_NOT_INITIALIZED,
396 /** Arguments: {0} = Controller {1} = Time */
398 /** Arguments: {0} = File Path */
400 /** Arguments: {0} = Configuration file name {1} = Exception */
401 CONFIG_NOT_FOUND_VERBOSE,
402 /** Arguments: {0} = File name */
404 /** Arguments: {0} = File name */
405 FILE_READ_IN_PROGRESS, ERROR_LOADING_OXM_SUGGESTIBLE_ENTITIES,
406 /** Arguments: {0} = Error message */
407 ES_SUGGESTION_SEARCH_ENTITY_SYNC_ERROR,
408 /** Arguments: {0} = Error message */
409 ES_AGGREGATION_SUGGESTION_ENTITY_SYNC_ERROR,
410 /** Arguments: {0} = Error message. */
411 ENTITY_SYNC_SEARCH_TAG_ANNOTATION_FAILED,
412 /** Arguments: {0} = Error message */
413 SEARCH_ADAPTER_ERROR,
414 /** Arguments: {0} = Decoding exception message */
415 UNSUPPORTED_URL_ENCODING,
416 /** Arguments: {0} = Invalid URL */
417 INVALID_REDIRECT_URL,
418 /** Arguments: {0} = Valid login URL */
420 /** Arguments: {0} = Query Parameter Self-Link Extraction Error */
421 QUERY_PARAM_EXTRACTION_ERROR,
422 /** Arguments: {0} = Info message */
424 /** Arguments: {0} = Debug message */
426 /** Arguments: {0} = URL to extract parameter from */
427 ERROR_REMOVING_URL_PARAM,
428 /** Arguments: {0} = Hash value */
429 ERROR_INVALID_HASH, ERROR_HASH_NOT_FOUND, ERROR_FILTERS_NOT_FOUND, ERROR_READING_HTTP_REQ_PARAMS,
430 /** Arguments: {0} = Exception */
431 ERROR_D3_GRAPH_VISUALIZATION,
432 /** Arguments: {0} = Exception */
433 ERROR_AAI_QUERY_WITH_RETRY,
434 /** Arguments: Error extracting resource path from self-link. Error = {0} */
435 ERROR_EXTRACTING_RESOURCE_PATH_FROM_LINK,
436 /** Arguments: {0} = Schema file location */
437 ERROR_READING_JSON_SCHEMA,
438 /** Arguments: {0} = UI view name */
439 VIEW_NAME_NOT_SUPPORTED,
440 /** Arguments: {0} = response code, {1} = filter name */
441 ERROR_FETCHING_FILTER_VALUES,
442 /** Arguments: {0} = query type, {1} = view name */
443 ERROR_PROCESSING_WIDGET_REQUEST,
444 /** Arguments: {0} = Time in ms */
446 /** Arguments: {0} = Response code {1} = payload */
447 DR_PROCESSING_FAILURE,
448 /** Arguments: {0} = request uri */
449 DR_REQUEST_URI_FOR_PROXY_UNKNOWN,
450 /** Arguments: {0} = origin-url {1} = dr-url */
452 /** Arguments: {0} = Exception */
453 URI_DECODING_EXCEPTION,
454 /** Arguments: {0} = Value {1} = Error */
456 /** Arguments: {0} = Encrypted value {1} = Error */
458 /** Arguments: {0} = URI */
462 * Static initializer to ensure the resource bundles for this class are loaded...
465 EELFResourceManager.loadMessageBundle("logging/AAIUIMsgs");