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.openecomp.sparky.logging;
27 import com.att.eelf.i18n.EELFResourceManager;
29 import org.openecomp.cl.eelf.LogMessageEnum;
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,
58 MAX_EVALUATION_ATTEMPTS_EXCEEDED,
59 /** Arguments: {0} = Error/exception message. */
60 VISUALIZATION_OUTPUT_ERROR,
61 /** Arguments: {0} = Total resolve time, {1} = Total links retrieved, {2} = Op time. */
62 ALL_TRANSACTIONS_RESOLVED,
63 /** Arguments: {0} = Error/exception message. */
64 PROCESSING_LOOP_INTERUPTED,
65 /** Arguments: {0} = Node ID. */
66 IGNORING_SKELETON_NODE,
67 /** Arguments: {0} = Node count. */
68 OUTSTANDING_WORK_PENDING_NODES,
69 /** Arguments: {0} = Reason. */
70 FAILED_TO_ADD_SKELETON_NODE,
71 /** Arguments: {0} = Reason. */
72 FAILED_TO_PROCESS_SKELETON_NODE,
73 INVALID_RESOLVE_STATE_DURING_INIT,
74 /** Arguments: {0} = Reason. */
75 FAILED_TO_PROCESS_INITIAL_STATE,
76 /** Arguments: {0} = Relationship. */
77 SKIPPING_RELATIONSHIP,
78 /** Arguments: {0} = Failure reason. */
79 FAILED_TO_DETERMINE_NODE_ID,
80 /** Arguments: {0} = Error/exception message. */
82 /** Arguments: {0} = Error/exception message. */
83 SELF_LINK_NODE_PARSE_ERROR,
84 /** Arguments: {0} = Node ID. */
86 /** Arguments: {0} = Error/exception message. */
87 SELF_LINK_PROCESS_NEIGHBORS_ERROR,
88 /** Arguments: {0} = Error/exception message. */
89 SELF_LINK_JSON_PARSE_ERROR,
90 /** Arguments: {0} = Error/exception message. */
91 SELF_LINK_PROCESSING_ERROR,
92 /** Arguments: {0} = Entity type. */
93 UNHANDLED_OBJ_TYPE_FOR_ENTITY_TYPE,
94 /** Arguments: {0} = Attribute group. */
95 ATTRIBUTE_GROUP_FAILURE,
96 /** Arguments: {0} = Situational description, {1} = Exception message. */
98 /** Arguments: {0} = Operation name, {1} = Operation time. */
100 /** Arguments: {0} = Error message. */
101 SEARCH_SERVLET_ERROR,
102 /** Arguments: {0} = Exception message. */
103 SEARCH_RESPONSE_BUILDING_EXCEPTION,
104 /** Arguments: {0} = Error message, {1} = Error message. */
105 SEARCH_TAG_ANNOTATION_ERROR,
106 /** Arguments: {0} = App type. */
107 QUERY_FAILED_UNHANDLED_APP_TYPE,
108 /** Arguments: {0} = Entity type. */
109 ENTITY_NOT_FOUND_IN_OXM,
110 /** Arguments: {0} = JSON conversion type, {1} = Error thrown. */
111 JSON_CONVERSION_ERROR,
112 /** Arguments: {0} = Node ID */
113 NO_RELATIONSHIP_DISCOVERED,
115 SELF_LINK_NULL_EMPTY_RESPONSE,
116 /** Arguments: {0} = Error message. */
117 SELF_LINK_RELATIONSHIP_LIST_ERROR,
118 /** Arguments: {0} = AIN id, {1} = old depth, {2} = new depth. */
119 ACTIVE_INV_NODE_CHANGE_DEPTH,
120 /** Arguments: {0} = Node ID, {1} = Current state, {2} = New state {3} = Triggering action */
121 ACTIVE_INV_NODE_CHANGE_STATE,
122 /** Arguments: {0} = Current state, {1} = New state {2} = Triggering action */
123 ACTIVE_INV_NODE_CHANGE_STATE_NO_NODE_ID,
124 /** Arguments: {0} = Count Key {1} = Aggregation Key. */
125 AGGREGATION_KEY_ERROR,
126 /** Arguments: {0} Configuration */
128 /** Arguments: {0} = Source. */
129 ERROR_PARSING_JSON_PAYLOAD_NONVERBOSE,
130 /** Arguments: {0} = Payload. */
131 ERROR_PARSING_JSON_PAYLOAD_VERBOSE,
132 /** Arguments: {0} = Key {1} = JSON Blob. */
133 ERROR_FETCHING_JSON_VALUE,
134 /** Arguments: {0} = Error. */
135 ERROR_PARSING_PARAMS,
137 INVALID_REQUEST_PARAMS,
138 /** Arguments: {0} = Key. */
139 ERROR_SORTING_VIOLATION_DATA,
140 /** Arguments: {0} = exception */
141 ERROR_SERVLET_PROCESSSING,
142 /** Arguments: {0} = exception */
143 ERROR_BUILDING_RESPONSE_FOR_TABLE_QUERY,
144 /** Arguments: {0} = exception */
145 ERROR_BUILDING_SEARCH_RESPONSE,
147 ERROR_CSP_CONFIG_FILE,
148 /** Arguments: {0} = exception */
149 ERROR_SHUTDOWN_EXECUTORS,
152 /** Arguments: {0} = exception */
153 ERROR_GETTING_DATA_FROM_AAI,
155 WAIT_FOR_ALL_SELFLINKS_TO_BE_COLLECTED,
156 /** Arguments: {0} = Entity Type */
157 MISSING_ENTITY_DESCRIPTOR,
158 /** Arguments: {0} = Error */
160 /** Arguments: {0} = Error */
161 ES_FAILED_TO_CONSTRUCT_QUERY,
162 /** Arguments: {0} = Error */
164 /** Arguments: {0} = Error */
166 /** Arguments: {0} = Element */
168 /** Arguments: {0} = Value {1} = Element {2} = Error */
169 ES_ABORT_CROSS_ENTITY_REF_SYNC,
170 /** Arguments: {0} Return Code */
171 ES_OPERATION_RETURN_CODE,
172 /** Arguments: {0} = Error */
173 ES_CROSS_ENTITY_REF_PUT,
175 ES_CROSS_REF_SYNC_VERSION_CONFLICT,
176 /** Arguments: {0} Result Code {1} = Error */
177 ES_CROSS_REF_SYNC_FAILURE,
178 /** Arguments: {0} = Error */
179 ES_FAILED_TO_CONSTRUCT_URI,
181 ES_RETRIEVAL_FAILED_RESYNC,
182 /** Arguments: {0} = Entity */
183 ES_CROSS_ENTITY_RESYNC_LIMIT,
184 /** Arguments: {0} Entity Name */
186 /** Arguments: {0} = Error */
188 /** Arguments: {0} Index Name {1} = Error */
190 /** Arguments: {0} Index Name */
192 /** Arguments: {0} Index Name {1} Size before clean up {2} = Size after clean up */
193 ES_SYNC_CLEAN_UP_SIZE,
194 /** Arguments: {0} Index Name {1} Index Type {2} = Size before delete */
195 ES_SYNC_SELECTIVE_DELETE,
196 /** Arguments: {0} Index Name {1} Number of records */
198 /** Arguments: {0} Index name {1} = Error */
199 ES_BULK_DELETE_ERROR,
200 /** Arguments: {0} Type of retrieval {1} Completion Time */
201 COLLECT_TIME_WITH_ERROR,
202 /** Arguments: {0} Type of retrieval {1} Completion Time */
203 COLLECT_TIME_WITH_SUCCESS,
204 /** Arguments: {0} Type of retrieval {1} Number of records */
206 /** Arguments: {0} Number of required fetches */
207 SYNC_NUMBER_REQ_FETCHES,
208 /** Arguments: {0} Number of total fetches {1} Number of available records*/
209 SYNC_NUMBER_TOTAL_FETCHES,
210 /** Arguments: {0} Completion Time */
212 /** Arguments: {0} = Error */
213 ES_SCROLL_CONTEXT_ERROR,
216 /** Arguments: {0} = Number of docs */
217 ES_BULK_DELETE_START,
219 SELF_LINK_CROSS_REF_SYNC,
220 /** Arguments: {0} = message */
222 /** Arguments: {0} = error */
223 JSON_PROCESSING_ERROR,
224 /** Arguments: {0} = exception */
225 ERROR_PROCESSING_REQUEST,
226 /** Arguments: {0} = Self Link */
227 SELF_LINK_GET_NO_RESPONSE,
228 /** Arguments: {0} = error */
229 HISTORICAL_COLLECT_ERROR,
230 /** Arguments: {0} = Time */
231 HISTORICAL_ENTITY_COUNT_SUMMARIZER_STARTING,
233 HISTORICAL_ENTITY_COUNT_SUMMARIZER_NOT_STARTED,
234 /** Arguments: {0} = Controller {1} = Time */
235 HISTORICAL_SYNC_DURATION,
237 HISTORICAL_SYNC_PENDING,
238 /** Arguments: {0} = Time */
239 HISTORICAL_SYNC_TO_BEGIN,
240 /** Arguments: {0} = message */
242 /** Arguments: {0} = message */
244 /** Arguments: {0} = message */
246 /** Arguments: {0} = context {1} = Exception*/
248 /** Arguments: {0} = Entity Type {1} Entity */
249 GEO_SYNC_IGNORING_ENTITY,
250 /** Arguments: {0} = type */
251 OXM_FAILED_RETRIEVAL,
252 /** Arguments: {0} = Directory. */
255 OXM_READ_ERROR_NONVERBOSE,
256 /** Arguments: {0} = OXM File name */
257 OXM_READ_ERROR_VERBOSE,
259 OXM_PARSE_ERROR_NONVERBOSE,
260 /** Arguments: {0} = OXM File name {1} = Exception*/
261 OXM_PARSE_ERROR_VERBOSE,
264 /** Arguments: {0} = Entity {1} = Found property-value*/
265 OXM_PROP_DEF_ERR_CROSS_ENTITY_REF,
266 /** Arguments: {0} = Sequence Number */
268 /** Arguments: {0} = Reason */
269 ETAG_WAIT_INTERRUPTION,
270 /** Arguments: {0} = URL {1} = Sequence Number */
272 /** Arguments: {0} = URL {1} = Sequence Number */
273 QUERY_AAI_RETRY_DONE_SEQ,
274 /** Arguments: {0} = Reason */
275 QUERY_AAI_WAIT_INTERRUPTION,
276 /** Arguments: {0} = URL {1} = Sequence Number */
277 QUERY_AAI_RETRY_FAILURE_WITH_SEQ,
278 /** Arguments: {0} = URL */
279 QUERY_AAI_RETRY_MAXED_OUT,
280 /** Arguments: {0} = Reason */
282 /** Arguments: {0} = Key */
284 /** Arguments: {0} = URL {1} = Sequence Number */
285 EXECUTOR_SERV_EXCEPTION,
286 /** Arguments: {0} = Exception */
287 DISK_CACHE_READ_IO_ERROR,
288 /** Arguments: {0} = Exception */
289 DISK_CREATE_DIR_IO_ERROR,
290 /** Arguments: {0} = Exception */
291 DISK_DATA_WRITE_IO_ERROR,
292 /** Arguments: {0} = Data Item {1} = Exception */
293 DISK_NAMED_DATA_WRITE_IO_ERROR,
294 /** Arguments: {0} = Data Item {1} = Exception */
295 DISK_NAMED_DATA_READ_IO_ERROR,
297 OFFLINE_STORAGE_PATH_ERROR,
298 /** Arguments: {0} = URL {1} = Error */
299 RESTFULL_OP_ERROR_VERBOSE,
300 /** Arguments: {0} = Method {1} = Time {2} = URL {3} = Result Code */
301 RESTFULL_OP_COMPLETE,
303 INITIALIZE_OXM_MODEL_LOADER,
304 /** Arguments: {0} = Exception */
305 AAI_RETRIEVAL_FAILED_GENERIC,
306 /** Arguments: {0} = Self Link */
307 AAI_RETRIEVAL_FAILED_FOR_SELF_LINK,
308 /** Arguments: {0} = Cookie */
312 /** Arguments: {0} = Message */
314 /** Arguments: {0} = User ID */
315 USER_AUTHORIZATION_FILE_UNAVAILABLE,
316 /** Arguments: {0} = URL {1} = Cause */
318 /** Arguments: {0} = Row ID */
319 DI_DATA_NOT_FOUND_NONVERBOSE,
320 /** Arguments: {0} = Row ID {1} Attempt count */
321 DI_DATA_NOT_FOUND_VERBOSE,
322 /** Arguments: {0} = Time in ms {1} Status */
323 DI_MS_TIME_FOR_DATA_FETCH,
324 /** Arguments: {0} = Number of Entity Links */
325 ENTITY_SYNC_FAILED_SELFLINK_AMBIGUITY,
326 /** Arguments: {0} = Message */
327 ERROR_EXTRACTING_FROM_RESPONSE,
329 ERROR_LOADING_OXM_SEARCHABLE_ENTITIES,
330 /** Arguments: {0} = Message */
331 ES_SEARCHABLE_ENTITY_SYNC_ERROR,
332 /** Arguments: {0} = Message */
333 FAILED_TO_REGISTER_DUE_TO_NULL,
334 /** Arguments: {0} = File Path */
335 FAILED_TO_RESTORE_TXN_FILE_MISSING,
336 /** Arguments: {0} = Index Name */
337 INDEX_ALREADY_EXISTS,
338 /** Arguments: {0} = Index Name */
340 /** Arguments: {0} = Index Name {1} = Operation Result */
341 INDEX_INTEGRITY_CHECK_FAILED,
342 /** Arguments: {0} = Index Name */
344 /** Arguments: {0} = Index Name */
346 /** Arguments: {0} = Time */
347 SEARCH_ENGINE_SYNC_STARTED,
348 /** Arguments: {0} = Time */
349 SKIP_PERIODIC_SYNC_AS_SYNC_DIDNT_FINISH,
350 /** Arguments: {0} = Message */
352 /** Arguments: {0} = Entity Type */
353 ENTITY_SYNC_FAILED_DESCRIPTOR_NOT_FOUND,
354 /** Arguments: {0} = AAI Query Result */
355 ENTITY_SYNC_FAILED_DURING_AAI_RESPONSE_CONVERSION,
356 /** Arguments: {0} = Message */
357 ENTITY_SYNC_FAILED_QUERY_ERROR,
358 /** Arguments: {0} = Self Link Query */
359 SELF_LINK_DETERMINATION_FAILED_GENERIC,
360 /** Arguments: {0} = Number of Entity Links */
361 SELF_LINK_DETERMINATION_FAILED_UNEXPECTED_LINKS,
362 /** Arguments: {1} = Query {2} = Operation Result Code {3} = Operation Result */
363 SELF_LINK_RETRIEVAL_FAILED,
364 /** Arguments: {0} = Controller {1} = Synchronizer Current Internal State {2} = New State {3} = Caused By Action */
365 SYNC_INTERNAL_STATE_CHANGED,
366 /** Arguments: {0} = Message */
367 SYNC_INVALID_CONFIG_PARAM,
368 /** Arguments: {0} = Synchronizer Current Internal State */
369 SYNC_NOT_VALID_STATE_DURING_REQUEST,
371 SYNC_SKIPPED_SYNCCONTROLLER_NOT_INITIALIZED,
374 /** Arguments: {0} = Controller {1} = Time */
376 /** Arguments: {0} = File Path */
378 /** Arguments: {0} = Configuration file name {1} = Exception */
379 CONFIG_NOT_FOUND_VERBOSE,
380 /** Arguments: {0} = File name */
382 /** Arguments: {0} = File name */
383 FILE_READ_IN_PROGRESS,
384 ERROR_LOADING_OXM_SUGGESTIBLE_ENTITIES,
385 /** Arguments: {0} = Error message */
386 ES_SUGGESTION_SEARCH_ENTITY_SYNC_ERROR,
387 /** Arguments: {0} = Error message */
388 ES_AGGREGATION_SUGGESTION_ENTITY_SYNC_ERROR,
389 /** Arguments: {0} = Error message. */
390 ENTITY_SYNC_SEARCH_TAG_ANNOTATION_FAILED,
391 /** Arguments: {0} = Error message */
392 SEARCH_ADAPTER_ERROR,
393 /** Arguments: {0} = Decoding exception message */
394 UNSUPPORTED_URL_ENCODING,
395 /** Arguments: {0} = Invalid URL */
396 INVALID_REDIRECT_URL,
397 /** Arguments: {0} = Valid login URL */
399 /** Arguments: {0} = Query Parameter Self-Link Extraction Error */
400 QUERY_PARAM_EXTRACTION_ERROR,
401 /** Arguments: {0} = Info message */
403 /** Arguments: {0} = Debug message */
405 /** Arguments: {0} = URL to extract parameter from */
406 ERROR_REMOVING_URL_PARAM,
407 /** Arguments: {0} = Hash value */
409 ERROR_HASH_NOT_FOUND,
410 ERROR_READING_HTTP_REQ_PARAMS,
411 /** Arguments: {0} = Exception */
412 ERROR_D3_GRAPH_VISUALIZATION,
413 /** Arguments: {0} = Exception */
414 ERROR_AAI_QUERY_WITH_RETRY,
415 /** Arguments: Error extracting resource path from self-link. Error = {0} */
416 ERROR_EXTRACTING_RESOURCE_PATH_FROM_LINK;
418 * Static initializer to ensure the resource bundles for this class are loaded...
421 EELFResourceManager.loadMessageBundle("logging/AAIUIMsgs");