Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove unused enum values from ResultType #17

Merged
merged 1 commit into from
Sep 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,36 +14,9 @@
* Result codes for the REST API.
*/
public enum ResultType {
SUCCESS("Success"),
RUNTIME_ERROR("Runtime Error"),
BAD_PARAMETERS("Parameters Invalid"),
TERRAFORM_SCRIPT_INVALID("Terraform Script Invalid"),
UNPROCESSABLE_ENTITY("Unprocessable Entity"),
INVALID_RESPONSE("Response Not Valid"),
BACKEND_FAILURE("Failure while connecting to backend"),
CREDENTIAL_CAPABILITY_NOT_FOUND("Credential Capability Not Found"),
CREDENTIALS_NOT_FOUND("Credentials Not Found"),
CREDENTIALS_VARIABLES_NOT_COMPLETE("Credential Variables Not Complete"),
FLAVOR_NOT_FOUND("Flavor Invalid"),
TERRAFORM_EXECUTION_FAILED("Terraform Execution Failed"),
PLUGIN_NOT_FOUND("Plugin Not Found"),
DEPLOYER_NOT_FOUND("Deployer Not Found"),
TERRAFORM_PROVIDER_NOT_FOUND("Terraform Provider Not Found"),
CREDENTIAL_DEFINITIONS_NOT_AVAILABLE("No Credential Definition Available"),
SERVICE_STATE_INVALID("Invalid Service State"),
RESOURCE_TYPE_INVALID_FOR_MONITORING("Resource Invalid For Monitoring"),
UNHANDLED_EXCEPTION("Unhandled Exception"),
SERVICE_ALREADY_REGISTERED("Service Already Registered"),
ICON_PROCESSING_FAILED("Icon Processing Failed"),
SERVICE_NOT_REGISTERED("Service Not Registered"),
SERVICE_DEPLOYMENT_NOT_FOUND("Service Deployment Not Found"),
RESOURCE_NOT_FOUND("Resource Not Found"),
DEPLOYMENT_VARIABLE_INVALID("Deployment Variable Invalid"),
SERVICE_UPDATE_NOT_ALLOWED("Service Update Not Allowed"),
UNAUTHORIZED("Unauthorized"),
ACCESS_DENIED("Access Denied"),
SENSITIVE_FIELD_ENCRYPTION_DECRYPTION_EXCEPTION("Sensitive "
+ "Field Encryption Or Decryption Failed Exception"),
UNSUPPORTED_ENUM_VALUE("Unsupported Enum Value"),
SERVICE_UNAVAILABLE("Service Unavailable");

Expand Down