From 826f80a288a79f47446670808b2c2f591e971586 Mon Sep 17 00:00:00 2001 From: duoertai Date: Mon, 21 Nov 2022 00:45:46 -0800 Subject: [PATCH] add retry policy --- iwf.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/iwf.yaml b/iwf.yaml index 95481f8..84faf27 100644 --- a/iwf.yaml +++ b/iwf.yaml @@ -278,6 +278,23 @@ components: enum: - KEYWORD - INT + RetryPolicy: + type: object + required: + - initialInterval + properties: + initialInterval: + type: number + backoffCoefficient: + type: number + maximumInterval: + type: number + maximumAttempts: + type: integer + nonRetryableErrorTypes: + type: array + items: + type: string WorkflowStateOptions: type: object properties: @@ -299,6 +316,8 @@ components: - TERMINATE_IF_RUNNING cronSchedule: type: string + retryPolicy: + $ref: '#/components/schemas/RetryPolicy' AttributesLoadingPolicy: type: object properties: