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 cannot perform requested service, VM url '{1}' is invalid
259 INVALID_SELF_LINK_URL,
262 * Located server '{0}' on tenant '{1}' and in state '{2}'
267 * No server found in provider with self-link URL [{0}]
272 * Exception {0} was caught attempting {1} of server [{2}] on tenant [{3}]
274 SERVER_OPERATION_EXCEPTION,
277 * One or more properties for [{0}] are missing, null, or empty. They are:
279 MISSING_REQUIRED_PROPERTIES,
282 * The server [{0}] (id={1}) in tenant {2} is in error state, {3} is not allowed
287 * The image {0} could not be located for {1}
292 * Time out waiting for {0} with name {1} (and id {2}) to reach one of {3} states, current state is {4}
294 STATE_CHANGE_TIMEOUT,
297 * Exception {0} waiting for {1} with name {2} (and id {3}) to reach one of {4} states, current state is {5}
300 STATE_CHANGE_EXCEPTION,
303 * Server {0} is being stopped...
308 * Server {0} is being started...
313 * Server {0} is being resumed...
318 * Server {0} is being unpaused...
323 * Connection to provider {0} at identity {1} using tenant name {2} (id {3}) failed, reason={4}, retrying in {5}
324 * seconds, attempt {6} of {7}.
326 CONNECTION_FAILED_RETRY,
329 * Connection to provider {0} at service {1} failed after all retry attempts.
334 * {0} IAAS Adapter stop server requested
339 * Server {0} (id {1}) failed to rebuild, reason {2}
341 REBUILD_SERVER_FAILED,
344 * Application {0} graph {1} response did not set the {2} parameter. This parameter is required for synchronization
345 * with the controller. Absence of this parameter is assumed to be a failure. Please correct the DG.
347 PARAMETER_IS_MISSING,
350 * Application {0} graph {1} did not set parameter {2} to a valid numeric value ({3}). Please correct the DG.
352 PARAMETER_NOT_NUMERIC,
355 * Application {0} graph {1} completed with failure: error code = {2}, message = {3}
360 * Application {0} received exception {1} attempting to call graph {2}, exception message = {3}
362 EXCEPTION_CALLING_DG,
365 * Application {0} was unable to locate graph {1}
370 * Application {0} graph {1} responded with {3} properties
372 DEBUG_GRAPH_RESPONSE_HEADER,
375 * {0}:{1} - {2} = {3}
377 DEBUG_GRAPH_RESPONSE_DETAIL,
380 * Application {0} request {1} was supplied a property '{2}' with the value '{3}' that does not meet the required
383 INVALID_REQUIRED_PROPERTY,
386 * Server {0} (id {1}) failed to migrate during {2} phase, reason {3}
388 MIGRATE_SERVER_FAILED,
391 * Server {0} (id {1}) failed to evacuate, reason {2}
393 EVACUATE_SERVER_FAILED,
396 * APP-C instance is too busy
401 * Concurrent access to server "{0}"
406 * Server "{0}" does not support command "{1}" in the current state "{2}"
411 * Server "{0}" cannot handle command "{1}" because of its doubtful state
416 * No resource found with ID "{0}" in A&AI system
418 APPC_NO_RESOURCE_FOUND,
421 * The request "{0}" for server "{1}" has exceeded its TTL limit of "{3}" seconds
423 APPC_EXPIRED_REQUEST,
426 * Workflow for vnfType = "{0}" and command = "{1}" not found.
428 APPC_WORKFLOW_NOT_FOUND,
431 * Null vnfId and command provided
436 * Operation '{0}' for VNF type '{1}' from Source '{2}' with RequestID '{3}' was started at '{4}' and ended at '{5}'
437 * with status code '{6}'
442 * APP-C is unable to communicate with A&AI
444 AAI_CONNECTION_FAILED,
447 * APP-C is unable to update COMPONENT_ID {0} to {1} for reason {2}
452 * APP-C is unable to retrieve VF/VFC {0} data for Transaction ID{1}as a result of A&AI communication failure or its
458 * A&AI at identity {0} using VNF_ID {1} failed, reason={2}, retrying in {3} seconds, attempt {4} of {5}
460 AAI_CONNECTION_FAILED_RETRY,
463 * APP-C is unable to delete COMPONENT_ID {0} for reason {1}
468 * VNF {0} is configured
473 * VNF {0} is being configured
475 VNF_CONFIGURATION_STARTED,
478 * VNF {0} configuration failed for reason {1}
480 VNF_CONFIGURATION_FAILED,
483 * VNF {0} is being tested
493 * VNF {0} test failed for reason {1}
498 * Server {0} (id {1}) failed to stop during {2} phase, reason {3}
503 * Server {0} (id {1}) failed to terminate during {2} phase, reason {3}
505 TERMINATE_SERVER_FAILED,
508 * {0} IAAS Adapter terminate server requested
513 * Server {0} is being terminated...
518 * Migrate {0} finished with status {1}. Start Time: {2}. End Time: {3}. Request ID: {4}. Reason:{5}...
523 * Restart {0} finished with status {1}. Start Time: {2}. End Time: {3}. Request ID: {4}. Reason:{5}...
528 * Rebuild {0} finished with status {1}. Start Time: {2}. End Time: {3}. Request ID: {4}. Reason:{5}...
533 * Located stack '{0}' on tenant '{1}' and in state '{2}'
538 * {0} IAAS Adapter terminate stack requested
544 * stack {0} is being terminated...
548 * No stack found in provider with self-link URL [{0}]
554 * Exception {0} was caught attempting {1} of stack [{2}] on tenant [{3}]
556 STACK_OPERATION_EXCEPTION,
559 * Stack {0} (id {1}) failed to terminate during {2} phase, reason {3}
562 TERMINATE_STACK_FAILED,
565 * Exception {0} was caught attempting to close provider context for {1}.
568 CLOSE_CONTEXT_FAILED,
571 * Stack {0} is being snapshoted...
576 * Stack {0} snapshoted, snapshot ID = [{1}].
581 * Stack {0} is being restored to snapshot {1}...
586 * Stack {0} is restored to snapshot {1}.
591 * Parameter {0} is missing in svc request of {1}.
593 MISSING_PARAMETER_IN_REQUEST,
596 * Cannot establish connection to server {0} port {1} with user {2}.
598 CANNOT_ESTABLISH_CONNECTION,
601 * Operation '{0}' for VNF type '{1}' from Source '{2}' with RequestID '{3}' on '{4}' with action '{5}'
602 * ended in {6}ms with result '{7}'
607 * Static initializer to ensure the resource bundles for this class are loaded...
610 EELFResourceManager.loadMessageBundle("org/openecomp/appc/i18n/MessageResources");