From 7bd6dc1df6399016f2b6f13773b4638daf40359f Mon Sep 17 00:00:00 2001 From: orsh1 <114858621+orsh1@users.noreply.github.com> Date: Sun, 8 Dec 2024 15:33:33 +0200 Subject: [PATCH] AWSEG-29608 - Remove "spectrum" option from elastigroup scaling (#684) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * remove "spectrum" option from elastigroup scaling * revert gcp change --------- Co-authored-by: orsh1 <“oshilian@netapp.com”> --- .../elastigroup/aws/schemas/elastigroupScaleDown.yaml | 4 ++-- api/services/elastigroup/aws/schemas/elastigroupScaleUp.yaml | 4 ++-- .../elastigroup/aws/schemas/elastigroupTargetScale.yaml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/api/services/elastigroup/aws/schemas/elastigroupScaleDown.yaml b/api/services/elastigroup/aws/schemas/elastigroupScaleDown.yaml index 4d05cb61a..e7fc59f60 100644 --- a/api/services/elastigroup/aws/schemas/elastigroupScaleDown.yaml +++ b/api/services/elastigroup/aws/schemas/elastigroupScaleDown.yaml @@ -15,8 +15,8 @@ properties: type: string description: | The metric source. - enum: [ spectrum, cloudWatch ] - example: "spectrum" + enum: [ cloudWatch ] + example: "cloudWatch" metricName: type: string description: | diff --git a/api/services/elastigroup/aws/schemas/elastigroupScaleUp.yaml b/api/services/elastigroup/aws/schemas/elastigroupScaleUp.yaml index 5087cebab..4dceb0ef8 100644 --- a/api/services/elastigroup/aws/schemas/elastigroupScaleUp.yaml +++ b/api/services/elastigroup/aws/schemas/elastigroupScaleUp.yaml @@ -18,8 +18,8 @@ properties: type: string description: | The metric source. - enum: [ spectrum, cloudWatch ] - example: "spectrum" + enum: [ cloudWatch ] + example: "cloudWatch" metricName: type: string description: | diff --git a/api/services/elastigroup/aws/schemas/elastigroupTargetScale.yaml b/api/services/elastigroup/aws/schemas/elastigroupTargetScale.yaml index 38cb8c205..2ac5c294c 100644 --- a/api/services/elastigroup/aws/schemas/elastigroupTargetScale.yaml +++ b/api/services/elastigroup/aws/schemas/elastigroupTargetScale.yaml @@ -10,9 +10,9 @@ properties: title: Source description: | The source of the metric. - enum: [ cloudWatch, spectrum ] + enum: [ cloudWatch ] type: string - example: "spectrum" + example: "cloudWatch" policyName: type: string description: |