Skip to content

Commit

Permalink
Merge pull request #17 from WangLiNaruto/bug/enum_values
Browse files Browse the repository at this point in the history
remove unused enum values from ResultType
  • Loading branch information
swaroopar authored Sep 7, 2023
2 parents 93751d5 + 5f81e85 commit ca7e865
Showing 1 changed file with 0 additions and 27 deletions.
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

0 comments on commit ca7e865

Please sign in to comment.