From 5f81e85a64078fd7f65f10e07d2e1e7c01c89665 Mon Sep 17 00:00:00 2001 From: WangLiNaruto Date: Thu, 7 Sep 2023 11:31:23 +0800 Subject: [PATCH] remove unused enum values from ResultType --- .../boot/models/response/ResultType.java | 27 ------------------- 1 file changed, 27 deletions(-) diff --git a/src/main/java/org/eclipse/xpanse/terraform/boot/models/response/ResultType.java b/src/main/java/org/eclipse/xpanse/terraform/boot/models/response/ResultType.java index 480488a..fa91e08 100644 --- a/src/main/java/org/eclipse/xpanse/terraform/boot/models/response/ResultType.java +++ b/src/main/java/org/eclipse/xpanse/terraform/boot/models/response/ResultType.java @@ -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");