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

feat(COR-715) add INVALID_CREDENTIALS in cluster state #452

Merged
merged 1 commit into from
Oct 2, 2023
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion src/schemas/ClusterResponse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ allOf:
type: integer
description: This is an estimation of the cost this cluster will represent on your cloud proider bill, based on your current configuration
status:
$ref: './enums/State.yaml'
$ref: './enums/ClusterState.yaml'
has_access:
type: boolean
version:
Expand Down
2 changes: 1 addition & 1 deletion src/schemas/ClusterStatusGetResponse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ properties:
type: string
format: uuid
status:
$ref: './enums/State.yaml'
$ref: './enums/ClusterState.yaml'
is_deployed:
type: boolean
last_execution_id:
Expand Down
2 changes: 1 addition & 1 deletion src/schemas/ClusterStatusResponse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ properties:
type: string
format: uuid
status:
$ref: './enums/State.yaml'
$ref: './enums/ClusterState.yaml'
is_deployed:
type: boolean
2 changes: 2 additions & 0 deletions src/schemas/_index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,8 @@ SignUpRequest:
$ref: ./SignUpRequest.yaml
StateEnum:
$ref: ./enums/State.yaml
ClusterStateEnum:
$ref: ./enums/ClusterState.yaml
Status:
$ref: ./Status.yaml
Stage:
Expand Down
25 changes: 25 additions & 0 deletions src/schemas/enums/ClusterState.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
type: string
enum:
- BUILDING
- BUILD_ERROR
- CANCELED
- CANCELING
- DELETED
- DELETE_ERROR
- DELETE_QUEUED
- DELETING
- DEPLOYED
- DEPLOYING
- DEPLOYMENT_ERROR
- DEPLOYMENT_QUEUED
- QUEUED
- READY
- STOPPED
- STOPPING
- STOP_ERROR
- STOP_QUEUED
- RESTART_QUEUED
- RESTARTING
- RESTARTED
- RESTART_ERROR
- INVALID_CREDENTIALS
Loading