aboutsummaryrefslogtreecommitdiffstats
path: root/appc-common/src/main/java/org/openecomp/appc/i18n/Msg.java
blob: 3e4237258abf2295eb25e3279aa4d8c6f45e71ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
/*-
 * ============LICENSE_START=======================================================
 * openECOMP : APP-C
 * ================================================================================
 * Copyright (C) 2017 AT&T Intellectual Property. All rights
 * 						reserved.
 * ================================================================================
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ============LICENSE_END=========================================================
 */

package org.openecomp.appc.i18n;

import com.att.eelf.i18n.EELFResolvableErrorEnum;
import com.att.eelf.i18n.EELFResourceManager;

/**
 * The messages issued by APPC components.
 * <p>
 * This message definition is shared by all APPC components.
 * </p>
 *
 */
@SuppressWarnings("nls")
public enum Msg implements EELFResolvableErrorEnum {

    /**
     * ECOMP Application Controller (APP-C) initialization started at {0}
     */
    CONFIGURATION_STARTED,

    /**
     * Prior configuration has been cleared
     */
    CONFIGURATION_CLEARED,

    /**
     * Loading configuration properties from file "{0}"
     */
    LOADING_CONFIGURATION_OVERRIDES,

    /**
     * Configuration defaults loaded from resource file "{0}"
     */
    LOADING_DEFAULTS,

    /**
     * No default property resource "{0}" was found!
     */
    NO_DEFAULTS_FOUND,

    /**
     * Property "{0}" ="{1}"
     */
    PROPERTY_VALUE,

    /**
     * No configuration file named [{0}] was found on the configuration search path [{1}]. \ If a configuration file
     * should have been loaded, check the file name and search path specified. CDP will proceed using the \ default
     * values and command-line overrides (if any).
     */
    NO_OVERRIDE_PROPERTY_FILE_LOADED,

    /**
     * Searching path "{0}" for configuration settings "{1}"
     */
    SEARCHING_CONFIGURATION_OVERRIDES,

    /**
     * Loading application-specific override properties
     */
    LOADING_APPLICATION_OVERRIDES,

    /**
     * No application-specific override properties were provided!
     */
    NO_APPLICATION_OVERRIDES,

    /**
     * Merging system properties into configuration
     */
    MERGING_SYSTEM_PROPERTIES,

    /**
     * Setting property "{0}={1}" in system properties
     */
    SETTING_SPECIAL_PROPERTY,

    /**
     * Loading resource bundle "{0}"
     */
    LOADING_RESOURCE_BUNDLE,

    /**
     * Logging has already been initialized, check the container logging definitions to ensure they represent your
     * desired logging configuration.
     */
    LOGGING_ALREADY_INITIALIZED,

    /**
     * Searching path "{0}" for log configuration file "{1}"
     */
    SEARCHING_LOG_CONFIGURATION,

    /**
     * Loading default logging configuration from system resource file "{0}"
     */
    LOADING_DEFAULT_LOG_CONFIGURATION,

    /**
     * No log configuration could be found or defaulted!
     */
    NO_LOG_CONFIGURATION,

    /**
     * An unsupported logging framework is bound to SLF4J. Only Logback or Log4J are supported.
     */
    UNSUPPORTED_LOGGING_FRAMEWORK,

    /**
     * Loading logging configuration from file "{0}"
     */
    LOADING_LOG_CONFIGURATION,

    /**
     * Provider {0} cannot be found or cannot be resolved to a valid provider.
     */
    UNKNOWN_PROVIDER,

    /**
     * Server name "{0}" with id "{1}" in tenant "{2}" and region "{3}" did not change state within the alloted time.
     * Current state is "{4}" and the desired state(s) are "{5}"
     */
    SERVER_STATE_CHANGE_TIMEOUT,

    /**
     * Server name "{0}" with id "{1}" in tenant "{2}" has a state of deleted and cannot be {3}.
     */
    SERVER_DELETED,

    /**
     * Server name "{0}" with id "{1}" in tenant "{2}" has an unknown state of "{3}".
     */
    UNKNOWN_SERVER_STATE,

    /**
     * {0} component {1} is being initialized...
     */
    COMPONENT_INITIALIZING,

    /**
     * {0} component {1} has completed initialization
     */
    COMPONENT_INITIALIZED,

    /**
     * {0} component {1} is terminating...
     */
    COMPONENT_TERMINATING,

    /**
     * {0} component {1} has terminated
     */
    COMPONENT_TERMINATED,

    /**
     * Operation {0} is not supported or implemented at this time.
     */
    IAAS_ADAPTER_UNSUPPORTED_OPERATION,

    /**
     * Operation {0} called. Input document:\n{1}
     */
    IAAS_ADAPTER_RPC_CALLED,

    /**
     * Unable to locate the {0} service in the OSGi container
     */
    NO_SERVICE_FOUND,

    /**
     * Dump of context parameters for module {0}, RPC {1}, and version {2}
     */
    CONTEXT_PARAMETERS_DISPLAY,

    /**
     * Response properties from execution of module '{0}', RPC '{1}', and version '{2}' are:
     */
    RESPONSE_PARAMETERS_DISPLAY,

    /**
     * Service {0}:{1} was provided a null (empty) or invalid argument, '{2}' = '{3}'
     */
    NULL_OR_INVALID_ARGUMENT,

    /**
     * Service {0}:{1} is processing service '{2}' with request id '{3}'
     */
    PROCESSING_REQUEST,

    /**
     * Service {0}:{1} received request for service '{2}' but that service is invalid or unknown.
     */
    INVALID_SERVICE_REQUEST,

    /**
     * {0} registering service {1} using class {2}
     */
    REGISTERING_SERVICE,

    /**
     * {0} unregistering service {1}
     */
    UNREGISTERING_SERVICE,

    /**
     * {0} IAAS Adapter initializing provider {1} as {2}
     */
    LOADING_PROVIDER_DEFINITIONS,

    /**
     * {0} IAAS Adapter restart of server requested
     */
    RESTARTING_SERVER,

    /**
     * {0} IAAS Adapter rebuild of server requested
     */
    REBUILDING_SERVER,

    /**
     * {0} IAAS Adapter migrate of server requested
     */
    MIGRATING_SERVER,

    /**
     * {0} IAAS Adapter evacuate of server requested
     */
    EVACUATING_SERVER,

    /**
     * {0} IAAS Adapter create snapshot of server requested
     */
    SNAPSHOTING_SERVER,

    /**
     * {0} IAAS Adapter cannot perform requested service, VM url '{1}' is invalid
     */
    INVALID_SELF_LINK_URL,

    /**
     * Located server '{0}' on tenant '{1}' and in state '{2}'
     */
    SERVER_FOUND,

    /**
     * No server found in provider with self-link URL [{0}]
     */
    SERVER_NOT_FOUND,

    /**
     * Exception {0} was caught attempting {1} of server [{2}] on tenant [{3}]
     */
    SERVER_OPERATION_EXCEPTION,

    /**
     * One or more properties for [{0}] are missing, null, or empty. They are:
     */
    MISSING_REQUIRED_PROPERTIES,

    /**
     * The server [{0}] (id={1}) in tenant {2} is in error state, {3} is not allowed
     */
    SERVER_ERROR_STATE,

    /**
     * The image {0} could not be located for {1}
     */
    IMAGE_NOT_FOUND,

    /**
     * Time out waiting for {0} with name {1} (and id {2}) to reach one of {3} states, current state is {4}
     */
    STATE_CHANGE_TIMEOUT,

    /**
     * Exception {0} waiting for {1} with name {2} (and id {3}) to reach one of {4} states, current state is {5}
     * cause={6}
     */
    STATE_CHANGE_EXCEPTION,

    /**
     * Server {0} is being stopped...
     */
    STOP_SERVER,

    /**
     * Server {0} is being started...
     */
    START_SERVER,

    /**
     * Server {0} is being resumed...
     */
    RESUME_SERVER,

    /**
     * Server {0} is being unpaused...
     */
    UNPAUSE_SERVER,

    /**
     * Connection to provider {0} at identity {1} using tenant name {2} (id {3}) failed, reason={4}, retrying in {5}
     * seconds, attempt {6} of {7}.
     */
    CONNECTION_FAILED_RETRY,

    /**
     * Connection to provider {0} at service {1} failed after all retry attempts.
     */
    CONNECTION_FAILED,

    /**
     * {0} IAAS Adapter stop server requested
     */
    STOPPING_SERVER,

    /**
     * Server {0} (id {1}) failed to rebuild, reason {2}
     */
    REBUILD_SERVER_FAILED,

    /**
     * Application {0} graph {1} response did not set the {2} parameter. This parameter is required for synchronization
     * with the controller. Absence of this parameter is assumed to be a failure. Please correct the DG.
     */
    PARAMETER_IS_MISSING,

    /**
     * Application {0} graph {1} did not set parameter {2} to a valid numeric value ({3}). Please correct the DG.
     */
    PARAMETER_NOT_NUMERIC,

    /**
     * Application {0} graph {1} completed with failure: error code = {2}, message = {3}
     */
    DG_FAILED_RESPONSE,

    /**
     * Application {0} received exception {1} attempting to call graph {2}, exception message = {3}
     */
    EXCEPTION_CALLING_DG,

    /**
     * Application {0} was unable to locate graph {1}
     */
    GRAPH_NOT_FOUND,

    /**
     * Application {0} graph {1} responded with {3} properties
     */
    DEBUG_GRAPH_RESPONSE_HEADER,

    /**
     * {0}:{1} - {2} = {3}
     */
    DEBUG_GRAPH_RESPONSE_DETAIL,

    /**
     * Application {0} request {1} was supplied a property '{2}' with the value '{3}' that does not meet the required
     * form(s):
     */
    INVALID_REQUIRED_PROPERTY,

    /**
     * Server {0} (id {1}) failed to migrate during {2} phase, reason {3}
     */
    MIGRATE_SERVER_FAILED,

    /**
     * Server {0} (id {1}) failed to evacuate, reason {2}
     */
    EVACUATE_SERVER_FAILED,

    /**
     * APP-C instance is too busy
     */
    APPC_TOO_BUSY,

    /**
     * Concurrent access to server "{0}"
     */
    VF_SERVER_BUSY,

    /**
     * Server "{0}" does not support command "{1}" in the current state "{2}"
     */
    VF_ILLEGAL_COMMAND,

    /**
     * Server "{0}" cannot handle command "{1}" because of its doubtful state
     */
    VF_UNDEFINED_STATE,

    /**
     * No resource found with ID "{0}" in A&AI system
     */
    APPC_NO_RESOURCE_FOUND,

    /**
     * The request "{0}" for server "{1}" has exceeded its TTL limit of "{3}" seconds
     */
    APPC_EXPIRED_REQUEST,

    /**
     * Workflow for vnfType = "{0}" and command = "{1}" not found.
     */
    APPC_WORKFLOW_NOT_FOUND,

    /**
     * Null vnfId and command provided
     */
    APPC_INVALID_INPUT,

    /**
     * Operation '{0}' for VNF type '{1}' from Source '{2}' with RequestID '{3}' was started at '{4}' and ended at '{5}'
     * with status code '{6}'
     */
    APPC_AUDIT_MSG,

    /**
     * APP-C is unable to communicate with A&AI
     */
    AAI_CONNECTION_FAILED,

    /**
     * APP-C is unable to update COMPONENT_ID {0} to {1} for reason {2}
     */
    AAI_UPDATE_FAILED,

    /**
     * APP-C is unable to retrieve VF/VFC {0} data for Transaction ID{1}as a result of A&AI communication failure or its
     * internal error.
     */
    AAI_GET_DATA_FAILED,

    /**
     * A&AI at identity {0} using VNF_ID {1} failed, reason={2}, retrying in {3} seconds, attempt {4} of {5}
     */
    AAI_CONNECTION_FAILED_RETRY,

    /**
     * APP-C is unable to delete COMPONENT_ID {0} for reason {1}
     */
    AAI_DELETE_FAILED,

    /**
     * VNF {0} is configured
     */
    VNF_CONFIGURED,

    /**
     * VNF {0} is being configured
     */
    VNF_CONFIGURATION_STARTED,

    /**
     * VNF {0} configuration failed for reason {1}
     */
    VNF_CONFIGURATION_FAILED,

    /**
     * VNF {0} is being tested
     */
    VNF_TEST_STARTED,

    /**
     * VNF {0} was tested
     */
    VNF_TESTED,

    /**
     * VNF {0} test failed for reason {1}
     */
    VNF_TEST_FAILED,

    /**
     * Server {0} (id {1}) failed to stop during {2} phase, reason {3}
     */
    STOP_SERVER_FAILED,

    /**
     * Server {0} (id {1}) failed to terminate during {2} phase, reason {3}
     */
    TERMINATE_SERVER_FAILED,

    /**
     * {0} IAAS Adapter terminate server requested
     */
    TERMINATING_SERVER,

    /**
     * Server {0} is being terminated...
     */
    TERMINATE_SERVER,

    /**
     * Migrate {0} finished with status {1}. Start Time: {2}. End Time: {3}. Request ID: {4}. Reason:{5}...
     */
    MIGRATE_COMPLETE,

    /**
     * Restart {0} finished with status {1}. Start Time: {2}. End Time: {3}. Request ID: {4}. Reason:{5}...
     */
    RESTART_COMPLETE,

    /**
     * Rebuild {0} finished with status {1}. Start Time: {2}. End Time: {3}. Request ID: {4}. Reason:{5}...
     */
    REBUILD_COMPLETE,

    /**
     * Located stack '{0}' on tenant '{1}' and in state '{2}'
     */
    STACK_FOUND,

    /**
     * {0} IAAS Adapter terminate stack requested
     */

    TERMINATING_STACK,

    /**
     * stack {0} is being terminated...
     */
    TERMINATE_STACK,
    /**
     * No stack found in provider with self-link URL [{0}]
     */

    STACK_NOT_FOUND,

    /**
     * Exception {0} was caught attempting {1} of stack [{2}] on tenant [{3}]
     */
    STACK_OPERATION_EXCEPTION,

    /**
     * Stack {0} (id {1}) failed to terminate during {2} phase, reason {3}
     */

    TERMINATE_STACK_FAILED,

    /**
     * Exception {0} was caught attempting to close provider context for {1}.
     */

    CLOSE_CONTEXT_FAILED,

    /**
     * Stack {0} is being snapshoted...
     */
    SNAPSHOTING_STACK,

    /**
     * Stack {0} snapshoted, snapshot ID = [{1}].
     */
    STACK_SNAPSHOTED,

    /**
     * Stack {0} is being restored to snapshot {1}...
     */
    RESTORING_STACK,

    /**
     * Stack {0} is restored to snapshot {1}.
     */
    STACK_RESTORED,

    /**
     * Parameter {0} is missing in svc request of {1}.
     */
    MISSING_PARAMETER_IN_REQUEST,

    /**
     * Cannot establish connection to server {0} port {1} with user {2}.
     */
    CANNOT_ESTABLISH_CONNECTION,

    /**
     * Operation '{0}' for VNF type '{1}' from Source '{2}' with RequestID '{3}' on '{4}' with action '{5}'
     * ended in {6}ms with result '{7}'
     */
    APPC_METRIC_MSG;

    /**
     * Static initializer to ensure the resource bundles for this class are loaded...
     */
    static {
        EELFResourceManager.loadMessageBundle("org/openecomp/appc/i18n/MessageResources");
    }
}