2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights
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=========================================================
22 package org.openecomp.appc.i18n;
24 import com.att.eelf.i18n.EELFResolvableErrorEnum;
25 import com.att.eelf.i18n.EELFResourceManager;
28 * The messages issued by APPC components.
30 * This message definition is shared by all APPC components.
34 @SuppressWarnings("nls")
35 public enum Msg implements EELFResolvableErrorEnum {
38 * ECOMP Application Controller (APP-C) initialization started at {0}
40 CONFIGURATION_STARTED,
43 * Prior configuration has been cleared
45 CONFIGURATION_CLEARED,
48 * Loading configuration properties from file "{0}"
50 LOADING_CONFIGURATION_OVERRIDES,
53 * Configuration defaults loaded from resource file "{0}"
58 * No default property resource "{0}" was found!
63 * Property "{0}" ="{1}"
68 * No configuration file named [{0}] was found on the configuration search path [{1}]. \ If a configuration file
69 * should have been loaded, check the file name and search path specified. CDP will proceed using the \ default
70 * values and command-line overrides (if any).
72 NO_OVERRIDE_PROPERTY_FILE_LOADED,
75 * Searching path "{0}" for configuration settings "{1}"
77 SEARCHING_CONFIGURATION_OVERRIDES,
80 * Loading application-specific override properties
82 LOADING_APPLICATION_OVERRIDES,
85 * No application-specific override properties were provided!
87 NO_APPLICATION_OVERRIDES,
90 * Merging system properties into configuration
92 MERGING_SYSTEM_PROPERTIES,
95 * Setting property "{0}={1}" in system properties
97 SETTING_SPECIAL_PROPERTY,
100 * Loading resource bundle "{0}"
102 LOADING_RESOURCE_BUNDLE,
105 * Logging has already been initialized, check the container logging definitions to ensure they represent your
106 * desired logging configuration.
108 LOGGING_ALREADY_INITIALIZED,
111 * Searching path "{0}" for log configuration file "{1}"
113 SEARCHING_LOG_CONFIGURATION,
116 * Loading default logging configuration from system resource file "{0}"
118 LOADING_DEFAULT_LOG_CONFIGURATION,
121 * No log configuration could be found or defaulted!
123 NO_LOG_CONFIGURATION,
126 * An unsupported logging framework is bound to SLF4J. Only Logback or Log4J are supported.
128 UNSUPPORTED_LOGGING_FRAMEWORK,
131 * Loading logging configuration from file "{0}"
133 LOADING_LOG_CONFIGURATION,
136 * Provider {0} cannot be found or cannot be resolved to a valid provider.
141 * Server name "{0}" with id "{1}" in tenant "{2}" and region "{3}" did not change state within the alloted time.
142 * Current state is "{4}" and the desired state(s) are "{5}"
144 SERVER_STATE_CHANGE_TIMEOUT,
147 * Server name "{0}" with id "{1}" in tenant "{2}" has a state of deleted and cannot be {3}.
152 * Server name "{0}" with id "{1}" in tenant "{2}" has an unknown state of "{3}".
154 UNKNOWN_SERVER_STATE,
157 * {0} component {1} is being initialized...
159 COMPONENT_INITIALIZING,
162 * {0} component {1} has completed initialization
164 COMPONENT_INITIALIZED,
167 * {0} component {1} is terminating...
169 COMPONENT_TERMINATING,
172 * {0} component {1} has terminated
174 COMPONENT_TERMINATED,
177 * Operation {0} is not supported or implemented at this time.
179 IAAS_ADAPTER_UNSUPPORTED_OPERATION,
182 * Operation {0} called. Input document:\n{1}
184 IAAS_ADAPTER_RPC_CALLED,
187 * Unable to locate the {0} service in the OSGi container
192 * Dump of context parameters for module {0}, RPC {1}, and version {2}
194 CONTEXT_PARAMETERS_DISPLAY,
197 * Response properties from execution of module '{0}', RPC '{1}', and version '{2}' are:
199 RESPONSE_PARAMETERS_DISPLAY,
202 * Service {0}:{1} was provided a null (empty) or invalid argument, '{2}' = '{3}'
204 NULL_OR_INVALID_ARGUMENT,
207 * Service {0}:{1} is processing service '{2}' with request id '{3}'
212 * Service {0}:{1} received request for service '{2}' but that service is invalid or unknown.
214 INVALID_SERVICE_REQUEST,
217 * {0} registering service {1} using class {2}
222 * {0} unregistering service {1}
224 UNREGISTERING_SERVICE,
227 * {0} IAAS Adapter initializing provider {1} as {2}
229 LOADING_PROVIDER_DEFINITIONS,
232 * {0} IAAS Adapter restart of server requested
237 * {0} IAAS Adapter rebuild of server requested
242 * {0} IAAS Adapter migrate of server requested
247 * {0} IAAS Adapter evacuate of server requested
252 * {0} IAAS Adapter create snapshot of server requested
257 * {0} IAAS Adapter look for server requested
262 * {0} IAAS Adapter cannot perform requested service, VM url '{1}' is invalid
264 INVALID_SELF_LINK_URL,
267 * Located server '{0}' on tenant '{1}' and in state '{2}'
272 * No server found in provider with self-link URL [{0}]
277 * Exception {0} was caught attempting {1} of server [{2}] on tenant [{3}]
279 SERVER_OPERATION_EXCEPTION,
282 * One or more properties for [{0}] are missing, null, or empty. They are:
284 MISSING_REQUIRED_PROPERTIES,
287 * The server [{0}] (id={1}) in tenant {2} is in error state, {3} is not allowed
292 * The image {0} could not be located for {1}
297 * Time out waiting for {0} with name {1} (and id {2}) to reach one of {3} states, current state is {4}
299 STATE_CHANGE_TIMEOUT,
302 * Exception {0} waiting for {1} with name {2} (and id {3}) to reach one of {4} states, current state is {5}
305 STATE_CHANGE_EXCEPTION,
308 * Server {0} is being stopped...
313 * Server {0} is being started...
318 * Server {0} is being resumed...
323 * Server {0} is being unpaused...
328 * Server {0} is being rebuilt...
333 * Connection to provider {0} at identity {1} using tenant name {2} (id {3}) failed, reason={4}, retrying in {5}
334 * seconds, attempt {6} of {7}.
336 CONNECTION_FAILED_RETRY,
339 * Connection to provider {0} at service {1} failed after all retry attempts.
344 * {0} IAAS Adapter stop server requested
349 * {0} IAAS Adapter start server requested
354 * Server {0} (id {1}) failed to rebuild, reason {2}
356 REBUILD_SERVER_FAILED,
359 * Application {0} graph {1} response did not set the {2} parameter. This parameter is required for synchronization
360 * with the controller. Absence of this parameter is assumed to be a failure. Please correct the DG.
362 PARAMETER_IS_MISSING,
365 * Application {0} graph {1} did not set parameter {2} to a valid numeric value ({3}). Please correct the DG.
367 PARAMETER_NOT_NUMERIC,
370 * Application {0} graph {1} completed with failure: error code = {2}, message = {3}
375 * Application {0} received exception {1} attempting to call graph {2}, exception message = {3}
377 EXCEPTION_CALLING_DG,
380 * Application {0} was unable to locate graph {1}
385 * Application {0} graph {1} responded with {3} properties
387 DEBUG_GRAPH_RESPONSE_HEADER,
390 * {0}:{1} - {2} = {3}
392 DEBUG_GRAPH_RESPONSE_DETAIL,
395 * Application {0} request {1} was supplied a property '{2}' with the value '{3}' that does not meet the required
398 INVALID_REQUIRED_PROPERTY,
401 * Server {0} (id {1}) failed to migrate during {2} phase, reason {3}
403 MIGRATE_SERVER_FAILED,
406 * Server {0} (id {1}) failed to evacuate, reason {2}
408 EVACUATE_SERVER_FAILED,
411 * Server {0} evacuate from host {1} to host {2} failed during the rebuild on host {2}, reason {3}
413 EVACUATE_SERVER_REBUILD_FAILED,
416 * APP-C instance is too busy
421 * Concurrent access to server "{0}"
426 * Server "{0}" does not support command "{1}" in the current state "{2}"
431 * Server "{0}" cannot handle command "{1}" because of its doubtful state
436 * No resource found with ID "{0}" in A&AI system
438 APPC_NO_RESOURCE_FOUND,
441 * The request "{0}" for server "{1}" has exceeded its TTL limit of "{3}" seconds
443 APPC_EXPIRED_REQUEST,
446 * Workflow for vnfType = "{0}" and command = "{1}" not found.
448 APPC_WORKFLOW_NOT_FOUND,
451 * Null vnfId and command provided
456 * Operation '{0}' for VNF type '{1}' from Source '{2}' with RequestID '{3}' was started at '{4}' and ended at '{5}'
457 * with status code '{6}'
462 * APP-C is unable to communicate with A&AI
464 AAI_CONNECTION_FAILED,
467 * APP-C is unable to update COMPONENT_ID {0} to {1} for reason {2}
472 * APP-C is unable to retrieve VF/VFC {0} data for Transaction ID{1}as a result of A&AI communication failure or its
478 * A&AI at identity {0} using VNF_ID {1} failed, reason={2}, retrying in {3} seconds, attempt {4} of {5}
480 AAI_CONNECTION_FAILED_RETRY,
483 * APP-C is unable to delete COMPONENT_ID {0} for reason {1}
488 * APP-C is unable to query AAI for VNF_ID {0}
493 * VNF {0} is configured
498 * VNF {0} is being configured
500 VNF_CONFIGURATION_STARTED,
503 * VNF {0} configuration failed for reason {1}
505 VNF_CONFIGURATION_FAILED,
508 * VNF {0} is being tested
518 * VNF {0} test failed for reason {1}
523 * VNF {0} test failed for reason {1}
528 * VNF {0} Healthcheck operation failed for reason {1}
530 VNF_HEALTHCECK_FAILED,
533 * VM {0} Healthcheck operation failed for reason {1}
535 VM_HEALTHCECK_FAILED,
538 * Server {0} (id {1}) failed to stop during {2} phase, reason {3}
543 * Server {0} (id {1}) failed to terminate during {2} phase, reason {3}
545 TERMINATE_SERVER_FAILED,
548 * {0} IAAS Adapter terminate server requested
553 * Server {0} is being terminated...
558 * Migrate {0} finished with status {1}. Start Time: {2}. End Time: {3}. Request ID: {4}. Reason:{5}...
563 * Restart {0} finished with status {1}. Start Time: {2}. End Time: {3}. Request ID: {4}. Reason:{5}...
568 * Rebuild {0} finished with status {1}. Start Time: {2}. End Time: {3}. Request ID: {4}. Reason:{5}...
573 * Located stack '{0}' on tenant '{1}' and in state '{2}'
578 * {0} IAAS Adapter terminate stack requested
584 * stack {0} is being terminated...
588 * No stack found in provider with self-link URL [{0}]
594 * Exception {0} was caught attempting {1} of stack [{2}] on tenant [{3}]
596 STACK_OPERATION_EXCEPTION,
599 * Stack {0} (id {1}) failed to terminate during {2} phase, reason {3}
602 TERMINATE_STACK_FAILED,
605 * Exception {0} was caught attempting to close provider context for {1}.
608 CLOSE_CONTEXT_FAILED,
611 * {0} IAAS Adapter snapshoting stack
616 * Stack {0} snapshoted, snapshot ID = [{1}].
621 * {0} IAAS Adapter restoring stack
626 * Stack {0} is restored to snapshot {1}.
631 * {0} IAAS Adapter checking server
636 * Parameter {0} is missing in svc request of {1}.
638 MISSING_PARAMETER_IN_REQUEST,
641 * Cannot establish connection to server {0} port {1} with user {2}.
643 CANNOT_ESTABLISH_CONNECTION,
646 * Operation '{0}' for VNF type '{1}' from Source '{2}' with RequestID '{3}' on '{4}' with action '{5}'
647 * ended in {6}ms with result '{7}'
652 * Parsing failied for{0}
654 INPUT_PAYLOAD_PARSING_FAILED,
657 * Error occurred for due to {0}
662 * SSH Data Exception occurred due to {0}
667 * Json processing exception occurred due to {0}
669 JSON_PROCESSING_EXCEPTION,
672 * Operation {0} succeed for {1}
674 SUCCESS_EVENT_MESSAGE,
677 * Dependency model not found for VNF type {0} due to {1}
679 DEPENDENCY_MODEL_NOT_FOUND,
682 * Invalid Dependency model for VNF Type {0} due to {1}
684 INVALID_DEPENDENCY_MODEL,
687 * Failed to retrieve VNFC DG
689 FAILURE_RETRIEVE_VNFC_DG,
692 * Network check for Server {0} failed for Port {1}
695 SERVER_NETWORK_ERROR,
698 * Hypervisor check for Server {0} failed. Status is DOWN or UNKNOWN
701 HYPERVISOR_DOWN_ERROR,
704 * Hypervisor Network check for Server {0} failed. Not reachable by APPC
707 HYPERVISOR_NETWORK_ERROR,
710 * Restart application operation failed on server : {0}, reason {1}
712 APPLICATION_RESTART_FAILED,
715 * Start application operation failed on server : {0}, reason {1}
717 APPLICATION_START_FAILED,
720 * Start application operation failed on server : {0}, reason {1}
722 APPLICATION_STOP_FAILED,
725 * Application on server {0} is being restarted...
730 * Application on server {0} is being started...
735 * Application on server {0} is being started...
740 * APPC LCM operations are disabled
742 LCM_OPERATIONS_DISABLED,
745 * Application {0} received exception {1} while attempting to execute oam operation {2}, exception message = {3}|\
747 OAM_OPERATION_EXCEPTION,
750 * Application {0} is stopping... Waiting for {1} LCM request to complete
752 OAM_OPERATION_STOPPING,
755 * Application {0} is stopped
757 OAM_OPERATION_STOPPED,
761 * Application {0} is started
763 OAM_OPERATION_STARTING,
766 * Application {0} is started
768 OAM_OPERATION_STARTED,
772 * Static initializer to ensure the resource bundles for this class are loaded...
775 EELFResourceManager.loadMessageBundle("org/openecomp/appc/i18n/MessageResources");