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