From e575f75484f786cd3bd5f91e7723b10074daab9e Mon Sep 17 00:00:00 2001 From: pggb25 Date: Thu, 7 Sep 2023 14:02:30 +0200 Subject: [PATCH] feat: add deployment status in cluster response (#439) --- src/schemas/ClusterResponse.yaml | 2 ++ src/schemas/_index.yaml | 2 ++ src/schemas/enums/ClusterDeploymentStatus.yaml | 5 +++++ 3 files changed, 9 insertions(+) create mode 100644 src/schemas/enums/ClusterDeploymentStatus.yaml diff --git a/src/schemas/ClusterResponse.yaml b/src/schemas/ClusterResponse.yaml index 6d7eca61..bbbff8db 100644 --- a/src/schemas/ClusterResponse.yaml +++ b/src/schemas/ClusterResponse.yaml @@ -64,3 +64,5 @@ allOf: type: array items: $ref: './ClusterFeatureResponse.yaml' + deployment_status: + $ref: './enums/ClusterDeploymentStatus.yaml' diff --git a/src/schemas/_index.yaml b/src/schemas/_index.yaml index 8729baf1..f9c1c82d 100644 --- a/src/schemas/_index.yaml +++ b/src/schemas/_index.yaml @@ -668,3 +668,5 @@ VariableAlias: $ref: ./variable/VariableAlias.yaml VariableOverride: $ref: ./variable/VariableOverride.yaml +ClusterDeploymentStatusEnum: + $ref: ./enums/ClusterDeploymentStatus.yaml diff --git a/src/schemas/enums/ClusterDeploymentStatus.yaml b/src/schemas/enums/ClusterDeploymentStatus.yaml new file mode 100644 index 00000000..ee96c456 --- /dev/null +++ b/src/schemas/enums/ClusterDeploymentStatus.yaml @@ -0,0 +1,5 @@ +type: string +enum: + - NEVER_DEPLOYED + - OUT_OF_DATE + - UP_TO_DATE \ No newline at end of file