Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(specs): Add failureThreshold to Task and TaskUpdate types #2144

Merged
merged 3 commits into from
Oct 17, 2023
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
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