You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/04/10 20:26:07 UTC
[GitHub] mrutkows commented on issue #865: Documentation - Produce a
comprehensive list of errors and warnings
mrutkows commented on issue #865: Documentation - Produce a comprehensive list of errors and warnings
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/issues/865#issuecomment-380235246
with the goal of perhaps reviewing these messages that represent other errors and warnings that may need to be elevated to a "named" error or warning from wskdeploy (i18n_ids.go):
```
// Errors
ID_ERR_DEPENDENCY_UNKNOWN_TYPE = "msg_err_dependency_unknown_type"
ID_ERR_ENTITY_CREATE_X_key_X_err_X_code_X = "msg_err_entity_create"
ID_ERR_ENTITY_DELETE_X_key_X_err_X_code_X = "msg_err_entity_delete"
ID_ERR_FEED_INVOKE_X_err_X_code_X = "msg_err_feed_invoke"
ID_ERR_KEY_MISSING_X_key_X = "msg_err_key_missing_mandatory"
ID_ERR_MANIFEST_FILE_NOT_FOUND_X_path_X = "msg_err_manifest_not_found"
ID_ERR_NAME_MISMATCH_X_key_X_dname_X_dpath_X_mname_X_moath_X = "msg_err_name_mismatch"
ID_ERR_RUNTIME_INVALID_X_runtime_X_action_X = "msg_err_runtime_invalid"
ID_ERR_RUNTIME_MISMATCH_X_runtime_X_ext_X_action_X = "msg_err_runtime_mismatch"
ID_ERR_RUNTIMES_GET_X_err_X = "msg_err_runtimes_get"
ID_ERR_RUNTIME_ACTION_SOURCE_NOT_SUPPORTED_X_ext_X_action_X = "msg_err_runtime_action_source_not_supported"
ID_ERR_URL_INVALID_X_urltype_X_url_X_filetype_X = "msg_err_url_invalid"
ID_ERR_URL_MALFORMED_X_urltype_X_url_X = "msg_err_url_malformed"
ID_ERR_API_MISSING_ACTION_OR_SEQUENCE_X_action_or_sequence_X_api_X = "msg_err_api_missing_action_or_sequence"
ID_ERR_ACTION_INVALID_X_action_X = "msg_err_action_invalid"
ID_ERR_ACTION_MISSING_RUNTIME_WITH_CODE_X_action_X = "msg_err_action_missing_runtime_with_code"
ID_ERR_ACTION_FUNCTION_REMOTE_DIR_NOT_SUPPORTED_X_action_X_url_X = "msg_err_action_function_remote_dir_not_supported"
ID_ERR_CANT_SAVE_DOCKER_RUNTIME = "msg_err_cant_save_docker"
ID_ERR_FILE_ALREADY_EXISTS = "msg_err_file_already_exists"
// Server-side Errors (wskdeploy as an Action)
ID_ERR_JSON_MISSING_KEY_CMD = "msg_err_json_missing_cmd_key"
// warnings
ID_WARN_COMMAND_RETRY = "msg_warn_command_retry"
ID_WARN_CONFIG_INVALID_X_path_X = "msg_warn_config_invalid"
ID_WARN_KEY_DEPRECATED_X_oldkey_X_filetype_X_newkey_X = "msg_warn_key_deprecated_replaced"
ID_WARN_KEY_MISSING_X_key_X_value_X = "msg_warn_key_missing"
ID_WARN_KEYVALUE_INVALID = "msg_warn_key_value_invalid"
ID_WARN_KEYVALUE_NOT_SAVED_X_key_X = "msg_warn_key_value_not_saved"
ID_WARN_LIMIT_IGNORED_X_limit_X = "msg_warn_limit_ignored"
ID_WARN_LIMIT_UNCHANGEABLE_X_name_X = "msg_warn_limit_changeable"
ID_WARN_LIMITS_LOG_SIZE = "msg_warn_limits_log_size" // TODO() remove for value range
ID_WARN_LIMITS_MEMORY_SIZE = "msg_warn_limits_memory_size" // TODO() remove for value range
ID_WARN_LIMITS_TIMEOUT = "msg_warn_limits_timeout" // TODO() remove for value range
ID_WARN_RUNTIME_CHANGED_X_runtime_X_action_X = "msg_warn_runtime_changed"
ID_WARN_VALUE_RANGE_X_name_X_key_X_filetype_X_min_X_max_X = "msg_warn_value_range" // TODO() not used, but should be used for limit ranges
ID_WARN_WHISK_PROPS_DEPRECATED = "msg_warn_whisk_properties"
ID_WARN_ENTITY_NAME_EXISTS_X_key_X_name_X = "msg_warn_entity_name_exists"
ID_WARN_PACKAGES_NOT_FOUND_X_path_X = "msg_warn_packages_not_found"
ID_WARN_DEPLOYMENT_NAME_NOT_FOUND_X_key_X_name_X = "msg_warn_deployment_name_not_found"
ID_WARN_PROJECT_NAME_OVERRIDDEN = "msg_warn_project_name_overridden"
ID_WARN_PACKAGE_IS_PUBLIC_X_package_X = "msg_warn_package_is_public"
ID_WARN_ACTION_WEB_X_action_X = "msg_warn_action_web_export_ignored"
ID_WARN_API_MISSING_WEB_ACTION_X_action_X_api_X = "msg_warn_api_missing_web_action"
ID_WARN_API_MISSING_WEB_SEQUENCE_X_sequence_X_api_X = "msg_warn_api_missing_web_sequence"
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services