From 61e66449a3affdb1c9d3702e9cc5b79e61887a5e Mon Sep 17 00:00:00 2001 From: ayeletcanetti Date: Sun, 4 Feb 2024 10:26:49 +0200 Subject: [PATCH] expand deployment route response (#573) Co-authored-by: ayeletc --- .../elastigroup-deployment-status.yaml | 20 +++++++++++++++++++ ...lastigroup-deployment-status-example2.yaml | 20 +++++++++++++++++++ ...lastigroup-deployment-status-example3.yaml | 20 +++++++++++++++++++ ...lastigroup-deployment-status-example4.yaml | 20 +++++++++++++++++++ .../elastigroup-deployment-status.yaml | 20 +++++++++++++++++++ 5 files changed, 100 insertions(+) diff --git a/api/services/elastigroup/aws/responses/elastigroup-deployment-status.yaml b/api/services/elastigroup/aws/responses/elastigroup-deployment-status.yaml index da8cb5eee..da9b460e3 100644 --- a/api/services/elastigroup/aws/responses/elastigroup-deployment-status.yaml +++ b/api/services/elastigroup/aws/responses/elastigroup-deployment-status.yaml @@ -75,6 +75,11 @@ content: progress: unit: percent value: 0 + currentBatch: 1, + numOfBatches: 4 + gracePeriod: 900 + blueInstances: 4 + greenInstances: 1 createdAt: 2018-03-27T19:50:12.000+0000 updatedAt: 2018-03-27T19:50:16.000+0000 - id: sbgd-3ee19606 @@ -82,6 +87,11 @@ content: progress: unit: percent value: 0 + currentBatch: 1, + numOfBatches: 4 + gracePeriod: 900 + blueInstances: 4 + greenInstances: 1 createdAt: 2018-03-27T19:35:41.000+0000 updatedAt: 2018-03-27T19:39:18.000+0000 - id: sbgd-cc4c44e2 @@ -89,6 +99,11 @@ content: progress: unit: percent value: 100 + currentBatch: 1, + numOfBatches: 4 + gracePeriod: 900 + blueInstances: 4 + greenInstances: 1 createdAt: 2018-03-26T19:22:45.000+0000 updatedAt: 2018-03-26T19:26:17.000+0000 - id: sbgd-3f127ed0 @@ -96,6 +111,11 @@ content: progress: unit: percent value: 0 + currentBatch: 1, + numOfBatches: 4 + gracePeriod: 900 + blueInstances: 4 + greenInstances: 1 createdAt: 2018-03-27T19:46:22.000+0000 updatedAt: 2018-03-27T19:46:35.000+0000 count: diff --git a/api/services/elastigroup/aws/schemas/elastigroup-deployment-status-example2.yaml b/api/services/elastigroup/aws/schemas/elastigroup-deployment-status-example2.yaml index adabe5093..2580db91c 100644 --- a/api/services/elastigroup/aws/schemas/elastigroup-deployment-status-example2.yaml +++ b/api/services/elastigroup/aws/schemas/elastigroup-deployment-status-example2.yaml @@ -20,6 +20,26 @@ properties: type: integer title: Value example: 0 + currentBatch: + type: integer + title: Current Batch + example: 1 + numOfBatches: + type: integer + title: Number of Batches + example: 4 + gracePeriod: + type: integer + title: Grace Period + example: 900 + blueInstances: + type: integer + title: Blue Instances + example: 4 + greenInstances: + type: integer + title: Green Instances + example: 1 createdAt: type: string title: Created At diff --git a/api/services/elastigroup/aws/schemas/elastigroup-deployment-status-example3.yaml b/api/services/elastigroup/aws/schemas/elastigroup-deployment-status-example3.yaml index b62fdb9ba..0789a20c3 100644 --- a/api/services/elastigroup/aws/schemas/elastigroup-deployment-status-example3.yaml +++ b/api/services/elastigroup/aws/schemas/elastigroup-deployment-status-example3.yaml @@ -19,6 +19,26 @@ properties: type: integer title: Value example: 0 + currentBatch: + type: integer + title: Current Batch + example: 1 + numOfBatches: + type: integer + title: Number of Batches + example: 4 + gracePeriod: + type: integer + title: Grace Period + example: 900 + blueInstances: + type: integer + title: Blue Instances + example: 4 + greenInstances: + type: integer + title: Green Instances + example: 1 createdAt: type: string title: Created At diff --git a/api/services/elastigroup/aws/schemas/elastigroup-deployment-status-example4.yaml b/api/services/elastigroup/aws/schemas/elastigroup-deployment-status-example4.yaml index f80055eac..92ed8f756 100644 --- a/api/services/elastigroup/aws/schemas/elastigroup-deployment-status-example4.yaml +++ b/api/services/elastigroup/aws/schemas/elastigroup-deployment-status-example4.yaml @@ -19,6 +19,26 @@ properties: type: integer title: Value example: 100 + currentBatch: + type: integer + title: Current Batch + example: 1 + numOfBatches: + type: integer + title: Number of Batches + example: 4 + gracePeriod: + type: integer + title: Grace Period + example: 900 + blueInstances: + type: integer + title: Blue Instances + example: 4 + greenInstances: + type: integer + title: Green Instances + example: 1 createdAt: type: string title: Created At diff --git a/api/services/elastigroup/aws/schemas/elastigroup-deployment-status.yaml b/api/services/elastigroup/aws/schemas/elastigroup-deployment-status.yaml index a255b0c55..cf77155bb 100644 --- a/api/services/elastigroup/aws/schemas/elastigroup-deployment-status.yaml +++ b/api/services/elastigroup/aws/schemas/elastigroup-deployment-status.yaml @@ -19,6 +19,26 @@ properties: type: integer title: Value example: 0 + currentBatch: + type: integer + title: Current Batch + example: 1 + numOfBatches: + type: integer + title: Number of Batches + example: 4 + gracePeriod: + type: integer + title: Grace Period + example: 900 + blueInstances: + type: integer + title: Blue Instances + example: 4 + greenInstances: + type: integer + title: Green Instances + example: 1 createdAt: type: string title: Created At