Actions
Story #1204
closedAs a developer I can dispatch a task which dispatches with a group_id
Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
2.8.0
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:
Description
The deliverables for this story include the following:
- Add logic to Task object to inspect kwargs for group_id and add it to the TaskStatus for that task
- Add group_id field to TaskStatus model
- Add new index on group_id for task_status collection
- Update existing tasks API endpoints to exclude TaskStatus documents with
group_id != None
Actions
Adds group_id to TaskStatus model
TaskStatus has a group_id field. The group_id is used to group a set of tasks together. The TaskStatus view selects only TaskStatus documents that don't have a group_id set. The task_id field should only be set when performing parallelized work.
https://pulp.plan.io/issues/1204 closes #1204