-
Notifications
You must be signed in to change notification settings - Fork 1
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add job manager conventions #68
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -16,7 +16,7 @@ | |||||
"jobId": { | ||||||
"propertyName": "mapcolonies.infra.job_management.job_id", | ||||||
"deprecated": false, | ||||||
"description": "Type of task as stored on db (uuid)" | ||||||
"description": "Type of job as stored on db (uuid)" | ||||||
}, | ||||||
"taskId": { | ||||||
"propertyName": "mapcolonies.infra.job_management.task_id", | ||||||
|
@@ -37,6 +37,16 @@ | |||||
"propertyName": "mapcolonies.infra.job_management.service_url", | ||||||
"deprecated": false, | ||||||
"description": "API url of job management service" | ||||||
}, | ||||||
"taskIds": { | ||||||
"propertyName": "mapcolonies.infra.job_management.task_ids", | ||||||
"deprecated": false, | ||||||
"description": "Array of tasks (uuid array)" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
}, | ||||||
"status": { | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. do you think jobStatus is better? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hmmmm, I believe it might be better to be just "status" since it appears as "status" in DB, and can be used for tasks and jobs. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. even if its like this in the DB, it might be confusing with other statuses across mapcolonies |
||||||
"propertyName": "mapcolonies.infra.job_management.status", | ||||||
"deprecated": false, | ||||||
"description": "Status of job/task as stored on db (COMPLETED/ IN-PROGRESS/ PENDING, etc.)" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
} | ||||||
} | ||||||
} | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not a type but an ID. Please change description accordingly.
This comment is relevant for
taskId
,jobType
, andtaskType
's desriptions as well.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
descriptions*