Skip to content
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
3 changes: 3 additions & 0 deletions api/services/ocean/aws/paths/clusters-roll.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ post:
- $ref: "../schemas/roll/roll-comment.yaml"
- $ref: "../schemas/roll/roll-respectPdb.yaml"
- $ref: "../schemas/roll/roll-batchMinHealthyPercentage.yaml"
- $ref: "../schemas/roll/roll-reportPartialCompletion.yaml"
- type: object
title: 'Roll with instance ids'
properties:
Expand All @@ -36,6 +37,7 @@ post:
- $ref: "../schemas/roll/roll-respectPdb.yaml"
- $ref: "../schemas/roll/roll-batchMinHealthyPercentage.yaml"
- $ref: "../schemas/roll/roll-instanceIds.yaml"
- $ref: "../schemas/roll/roll-reportPartialCompletion.yaml"
- type: object
title: 'Roll with Virtual Node Group ids'
properties:
Expand All @@ -47,6 +49,7 @@ post:
- $ref: "../schemas/roll/roll-batchMinHealthyPercentage.yaml"
- $ref: "../schemas/roll/roll-launchSpecIds.yaml"
- $ref: "../schemas/roll/roll-disableLaunchSpecAutoScaling.yaml"
- $ref: "../schemas/roll/roll-reportPartialCompletion.yaml"
responses:
200:
$ref: "../responses/initiate-clusterRoll.yaml"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ content:
example: Cluster
status:
type: string
enum: [IN_PROGRESS, COMPLETED, FAILED, STOPPED]
enum: [IN_PROGRESS, COMPLETED, PARTIALLY_COMPLETED, FAILED, STOPPED]
example: IN_PROGRESS
currentBatch:
type: integer
Expand Down Expand Up @@ -94,6 +94,9 @@ content:
batchMinHealthyPercentage:
type: integer
example: 100
reportPartialCompletion:
type: boolean
example: true
createdAt:
type: string
example: 2019-03-24T15:46:09.000Z
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ content:
example: Cluster
status:
type: string
enum: [IN_PROGRESS, COMPLETED, FAILED, STOPPED]
enum: [IN_PROGRESS, COMPLETED, PARTIALLY_COMPLETED, FAILED, STOPPED]
example: IN_PROGRESS
currentBatch:
type: integer
Expand Down Expand Up @@ -77,6 +77,9 @@ content:
batchMinHealthyPercentage:
type: integer
example: 100
reportPartialCompletion:
type: boolean
example: true
createdAt:
type: string
example: 2019-03-24T15:46:09.000Z
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
type: object
properties:
reportPartialCompletion:
type: boolean
description: >
When set to true, a roll that ends with a mixed result of successfully and unsuccessfully replaced instances is reported as PARTIALLY_COMPLETED. When set to false, a mixed result is reported as FAILED.
example: true
default: false
Loading