2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Copyright (C) 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.
21 * ============LICENSE_END=========================================================
24 package org.onap.appc.i18n;
26 import com.att.eelf.i18n.EELFResolvableErrorEnum;
27 import com.att.eelf.i18n.EELFResourceManager;
30 * The messages issued by APPC components.
32 * This message definition is shared by all APPC components.
36 @SuppressWarnings("nls")
37 public enum Msg implements EELFResolvableErrorEnum {
40 * ECOMP Application Controller (APP-C) initialization started at {0}
42 CONFIGURATION_STARTED,
45 * Prior configuration has been cleared
47 CONFIGURATION_CLEARED,
50 * Loading configuration properties from file "{0}"
52 LOADING_CONFIGURATION_OVERRIDES,
55 * Configuration defaults loaded from resource file "{0}"
60 * No default property resource "{0}" was found!
65 * Property "{0}" ="{1}"
70 * No configuration file named [{0}] was found on the configuration search path [{1}]. \ If a configuration file
71 * should have been loaded, check the file name and search path specified. CDP will proceed using the \ default
72 * values and command-line overrides (if any).
74 NO_OVERRIDE_PROPERTY_FILE_LOADED,
77 * Searching path "{0}" for configuration settings "{1}"
79 SEARCHING_CONFIGURATION_OVERRIDES,
82 * Loading application-specific override properties
84 LOADING_APPLICATION_OVERRIDES,
87 * No application-specific override properties were provided!
89 NO_APPLICATION_OVERRIDES,
92 * Merging system properties into configuration
94 MERGING_SYSTEM_PROPERTIES,
97 * Setting property "{0}={1}" in system properties
99 SETTING_SPECIAL_PROPERTY,
102 * Loading resource bundle "{0}"
104 LOADING_RESOURCE_BUNDLE,
107 * Logging has already been initialized, check the container logging definitions to ensure they represent your
108 * desired logging configuration.
110 LOGGING_ALREADY_INITIALIZED,
113 * Searching path "{0}" for log configuration file "{1}"
115 SEARCHING_LOG_CONFIGURATION,
118 * Loading default logging configuration from system resource file "{0}"
120 LOADING_DEFAULT_LOG_CONFIGURATION,
123 * No log configuration could be found or defaulted!
125 NO_LOG_CONFIGURATION,
128 * An unsupported logging framework is bound to SLF4J. Only Logback or Log4J are supported.
130 UNSUPPORTED_LOGGING_FRAMEWORK,
133 * Loading logging configuration from file "{0}"
135 LOADING_LOG_CONFIGURATION,
138 * Provider {0} cannot be found or cannot be resolved to a valid provider.
143 * Server name "{0}" with id "{1}" in tenant "{2}" and region "{3}" did not change state within the alloted time.
144 * Current state is "{4}" and the desired state(s) are "{5}"
146 SERVER_STATE_CHANGE_TIMEOUT,
149 * Server name "{0}" with id "{1}" in tenant "{2}" has a state of deleted and cannot be {3}.
154 * Server name "{0}" with id "{1}" in tenant "{2}" has an unknown state of "{3}".
156 UNKNOWN_SERVER_STATE,
159 * {0} component {1} is being initialized...
161 COMPONENT_INITIALIZING,
164 * {0} component {1} has completed initialization
166 COMPONENT_INITIALIZED,
169 * {0} component {1} is terminating...
171 COMPONENT_TERMINATING,
174 * {0} component {1} has terminated
176 COMPONENT_TERMINATED,
179 * Operation {0} is not supported or implemented at this time.
181 IAAS_ADAPTER_UNSUPPORTED_OPERATION,
184 * Operation {0} called. Input document:\n{1}
186 IAAS_ADAPTER_RPC_CALLED,
189 * Unable to locate the {0} service in the OSGi container
194 * Dump of context parameters for module {0}, RPC {1}, and version {2}
196 CONTEXT_PARAMETERS_DISPLAY,
199 * Response properties from execution of module '{0}', RPC '{1}', and version '{2}' are:
201 RESPONSE_PARAMETERS_DISPLAY,
204 * Service {0}:{1} was provided a null (empty) or invalid argument, '{2}' = '{3}'
206 NULL_OR_INVALID_ARGUMENT,
209 * Service {0}:{1} is processing service '{2}' with request id '{3}'
214 * Service {0}:{1} received request for service '{2}' but that service is invalid or unknown.
216 INVALID_SERVICE_REQUEST,
219 * {0} registering service {1} using class {2}
224 * {0} unregistering service {1}
226 UNREGISTERING_SERVICE,
229 * {0} IAAS Adapter initializing provider {1} as {2}
231 LOADING_PROVIDER_DEFINITIONS,
234 * {0} IAAS Adapter restart of server requested
239 * {0} IAAS Adapter rebuild of server requested
244 * {0} IAAS Adapter migrate of server requested
249 * {0} IAAS Adapter evacuate of server requested
254 * {0} IAAS Adapter create snapshot of server requested
259 * {0} IAAS Adapter look for server requested
264 * {0} IAAS Adapter cannot perform requested service, VM url '{1}' is invalid
266 INVALID_SELF_LINK_URL,
269 * Located server '{0}' on tenant '{1}' and in state '{2}'
274 * No server found in provider with self-link URL [{0}]
279 * Exception {0} was caught attempting {1} of server [{2}] on tenant [{3}]
281 SERVER_OPERATION_EXCEPTION,
284 * One or more properties for [{0}] are missing, null, or empty. They are:
286 MISSING_REQUIRED_PROPERTIES,
289 * The server [{0}] (id={1}) in tenant {2} is in error state, {3} is not allowed
294 * The image {0} could not be located for {1}
299 * Time out waiting for {0} with name {1} (and id {2}) to reach one of {3} states, current state is {4}
301 STATE_CHANGE_TIMEOUT,
304 * Exception {0} waiting for {1} with name {2} (and id {3}) to reach one of {4} states, current state is {5}
307 STATE_CHANGE_EXCEPTION,
310 * Server {0} is being stopped...
315 * Server {0} is being started...
320 * Server {0} is being resumed...
325 * Server {0} is being unpaused...
330 * Server {0} is being rebuilt...
335 * Connection to provider {0} at identity {1} using tenant name {2} (id {3}) failed, reason={4}, retrying in {5}
336 * seconds, attempt {6} of {7}.
338 CONNECTION_FAILED_RETRY,
341 * Connection to provider {0} at service {1} failed after all retry attempts.
346 * {0} IAAS Adapter stop server requested
351 * {0} IAAS Adapter start server requested
356 * Server {0} (id {1}) failed to rebuild, reason {2}
358 REBUILD_SERVER_FAILED,
361 * Application {0} graph {1} response did not set the {2} parameter. This parameter is required for synchronization
362 * with the controller. Absence of this parameter is assumed to be a failure. Please correct the DG.
364 PARAMETER_IS_MISSING,
367 * Application {0} graph {1} did not set parameter {2} to a valid numeric value ({3}). Please correct the DG.
369 PARAMETER_NOT_NUMERIC,
372 * Application {0} graph {1} completed with failure: error code = {2}, message = {3}
377 * Application {0} received exception {1} attempting to call graph {2}, exception message = {3}
379 EXCEPTION_CALLING_DG,
382 * Application {0} was unable to locate graph {1}
387 * Application {0} graph {1} responded with {3} properties
389 DEBUG_GRAPH_RESPONSE_HEADER,
392 * {0}:{1} - {2} = {3}
394 DEBUG_GRAPH_RESPONSE_DETAIL,
397 * Application {0} request {1} was supplied a property '{2}' with the value '{3}' that does not meet the required
400 INVALID_REQUIRED_PROPERTY,
403 * Server {0} (id {1}) failed to migrate during {2} phase, reason {3}
405 MIGRATE_SERVER_FAILED,
408 * Server {0} (id {1}) failed to evacuate, reason {2}
410 EVACUATE_SERVER_FAILED,
413 * Server {0} evacuate from host {1} to host {2} failed during the rebuild on host {2}, reason {3}
415 EVACUATE_SERVER_REBUILD_FAILED,
418 * APP-C instance is too busy
423 * Concurrent access to server "{0}"
428 * Server "{0}" does not support command "{1}" in the current state "{2}"
433 * Server "{0}" cannot handle command "{1}" because of its doubtful state
438 * No resource found with ID "{0}" in A&AI system
440 APPC_NO_RESOURCE_FOUND,
443 * The request "{0}" for server "{1}" has exceeded its TTL limit of "{3}" seconds
445 APPC_EXPIRED_REQUEST,
448 * Workflow for vnfType = "{0}" and command = "{1}" not found.
450 APPC_WORKFLOW_NOT_FOUND,
453 * Null vnfId and command provided
458 * Operation '{0}' for VNF type '{1}' from Source '{2}' with RequestID '{3}' was started at '{4}' and ended at '{5}'
459 * with status code '{6}'
464 * APP-C is unable to communicate with A&AI
466 AAI_CONNECTION_FAILED,
469 * APP-C is unable to update COMPONENT_ID {0} to {1} for reason {2}
474 * APP-C is unable to retrieve VF/VFC {0} data for Transaction ID{1}as a result of A&AI communication failure or its
480 * A&AI at identity {0} using VNF_ID {1} failed, reason={2}, retrying in {3} seconds, attempt {4} of {5}
482 AAI_CONNECTION_FAILED_RETRY,
485 * APP-C is unable to delete COMPONENT_ID {0} for reason {1}
490 * APP-C is unable to query AAI for VNF_ID {0}
495 * VNF {0} is configured
500 * VNF {0} is being configured
502 VNF_CONFIGURATION_STARTED,
505 * VNF {0} configuration failed for reason {1}
507 VNF_CONFIGURATION_FAILED,
510 * VNF {0} is being tested
520 * VNF {0} test failed for reason {1}
525 * VNF {0} test failed for reason {1}
530 * VNF {0} Healthcheck operation failed for reason {1}
532 VNF_HEALTHCECK_FAILED,
535 * VM {0} Healthcheck operation failed for reason {1}
537 VM_HEALTHCECK_FAILED,
540 * Server {0} (id {1}) failed to stop during {2} phase, reason {3}
545 * Server {0} (id {1}) failed to terminate during {2} phase, reason {3}
547 TERMINATE_SERVER_FAILED,
550 * {0} IAAS Adapter terminate server requested
555 * Server {0} is being terminated...
560 * Migrate {0} finished with status {1}. Start Time: {2}. End Time: {3}. Request ID: {4}. Reason:{5}...
565 * Restart {0} finished with status {1}. Start Time: {2}. End Time: {3}. Request ID: {4}. Reason:{5}...
570 * Rebuild {0} finished with status {1}. Start Time: {2}. End Time: {3}. Request ID: {4}. Reason:{5}...
575 * Located stack '{0}' on tenant '{1}' and in state '{2}'
580 * {0} IAAS Adapter terminate stack requested
586 * stack {0} is being terminated...
590 * No stack found in provider with self-link URL [{0}]
596 * Exception {0} was caught attempting {1} of stack [{2}] on tenant [{3}]
598 STACK_OPERATION_EXCEPTION,
601 * Stack {0} (id {1}) failed to terminate during {2} phase, reason {3}
604 TERMINATE_STACK_FAILED,
607 * Exception {0} was caught attempting to close provider context for {1}.
610 CLOSE_CONTEXT_FAILED,
613 * {0} IAAS Adapter snapshoting stack
618 * Stack {0} snapshoted, snapshot ID = [{1}].
623 * {0} IAAS Adapter restoring stack
628 * Stack {0} is restored to snapshot {1}.
633 * {0} IAAS Adapter checking server
638 * Parameter {0} is missing in svc request of {1}.
640 MISSING_PARAMETER_IN_REQUEST,
643 * Cannot establish connection to server {0} port {1} with user {2}.
645 CANNOT_ESTABLISH_CONNECTION,
648 * Operation '{0}' for VNF type '{1}' from Source '{2}' with RequestID '{3}' on '{4}' with action '{5}'
649 * ended in {6}ms with result '{7}'
654 * Parsing failied for{0}
656 INPUT_PAYLOAD_PARSING_FAILED,
659 * Error occurred for due to {0}
664 * SSH Data Exception occurred due to {0}
669 * Json processing exception occurred due to {0}
671 JSON_PROCESSING_EXCEPTION,
674 * Operation {0} succeed for {1}
676 SUCCESS_EVENT_MESSAGE,
679 * Dependency model not found for VNF type {0} due to {1}
681 DEPENDENCY_MODEL_NOT_FOUND,
684 * Invalid Dependency model for VNF Type {0} due to {1}
686 INVALID_DEPENDENCY_MODEL,
689 * Failed to retrieve VNFC DG
691 FAILURE_RETRIEVE_VNFC_DG,
694 * Network check for Server {0} failed for Port {1}
697 SERVER_NETWORK_ERROR,
700 * Hypervisor check for Server {0} failed. Status is DOWN or UNKNOWN
703 HYPERVISOR_DOWN_ERROR,
706 * Unable to determine Hypervisor status for Server {0}. failed.
709 HYPERVISOR_STATUS_UKNOWN,
712 * Hypervisor Network check for Server {0} failed. Not reachable by APPC
715 HYPERVISOR_NETWORK_ERROR,
718 * Restart application operation failed on server : {0}, reason {1}
720 APPLICATION_RESTART_FAILED,
723 * Start application operation failed on server : {0}, reason {1}
725 APPLICATION_START_FAILED,
728 * Start application operation failed on server : {0}, reason {1}
730 APPLICATION_STOP_FAILED,
733 * Application on server {0} is being restarted...
738 * Application on server {0} is being started...
743 * Application on server {0} is being started...
748 * APPC LCM operations are disabled
750 LCM_OPERATIONS_DISABLED,
753 * Application {0} received exception {1} while attempting to execute oam operation {2}, exception message = {3}|\
755 OAM_OPERATION_EXCEPTION,
758 * Application {0} is {1}
760 OAM_OPERATION_ENTERING_MAINTENANCE_MODE,
763 * Application {0} is in {1}
765 OAM_OPERATION_MAINTENANCE_MODE,
768 * Application {0} is {1}
770 OAM_OPERATION_STARTING,
773 * Application {0} is {1}
775 OAM_OPERATION_STARTED,
778 * Application {0} is {1}
780 OAM_OPERATION_STOPPING,
783 * Application {0} is {1}
785 OAM_OPERATION_STOPPED,
787 * A {1} API is not allowed when {0} is in the {2} state
789 INVALID_STATE_TRANSITION,
792 * Application {0} was unable to find the Request Handler service
794 REQUEST_HANDLER_UNAVAILABLE,
797 * Application {0} is {1}
799 OAM_OPERATION_RESTARTING,
802 * Application {0} is {1} for restart
804 OAM_OPERATION_RESTARTED,
809 OAM_OPERATION_INVALID_INPUT,
811 ATTACHINGVOLUME_SERVER,
813 DETTACHINGVOLUME_SERVER,
816 * Unsupported identity service version, unable to retrieve ServiceCatalog
817 * for identity service {0}
819 IAAS_UNSUPPORTED_IDENTITY_SERVICE,
822 * Sftp data transfer failed on connection to host {0} with user {1} for {2} operation, reason : {3}
824 SFTP_TRANSFER_FAILED,
827 * Ssh session with host {0} has timed out during command {1} execution
829 SSH_CONNECTION_TIMEOUT,
832 *Connecting to image service {0}failed
834 IMAGE_SERVICE_FAILED,
837 * Could not configure existing ssh session, reason: {0}
839 SSH_SESSION_CONFIG_ERROR
842 * Static initializer to ensure the resource bundles for this class are loaded...
845 EELFResourceManager.loadMessageBundle("org/onap/appc/i18n/MessageResources");