Skip to content

Commit

Permalink
feat(specs): Add failureThreshold to Task and TaskUpdate types (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
damcou committed Oct 17, 2023
1 parent 27ca3f1 commit dcd1201
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion specs/ingestion/common/schemas/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Run:
type: integer
outcome:
$ref: '#/RunOutcome'
failureThrehsold:
failureThreshold:
$ref: './task.yml#/failureThreshold'
reason:
type: string
Expand Down
4 changes: 4 additions & 0 deletions specs/ingestion/common/schemas/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ Task:
type: boolean
default: true
description: Whether the task is enabled or not.
failureThreshold:
$ref: '#/failureThreshold'
action:
$ref: '#/ActionType'
# lastCursorValue:
Expand Down Expand Up @@ -102,6 +104,8 @@ TaskUpdate:
enabled:
type: boolean
description: Whether the task is enabled or not.
failureThreshold:
$ref: '#/failureThreshold'

TaskUpdateResponse:
type: object
Expand Down

0 comments on commit dcd1201

Please sign in to comment.