Project

Profile

Help

Story #1204

As a developer I can dispatch a task which dispatches with a group_id

Added by dkliban@redhat.com over 6 years ago. Updated almost 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
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

Associated revisions

Revision fccda011 View on GitHub
Added by dkliban@redhat.com over 6 years ago

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

Revision fccda011 View on GitHub
Added by dkliban@redhat.com over 6 years ago

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

History

#1 Updated by dkliban@redhat.com over 6 years ago

  • Blocks Story #1205: As a developer I can dispatch a task that can dispatch a group of tasks added

#2 Updated by dkliban@redhat.com over 6 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to dkliban@redhat.com

#3 Updated by dkliban@redhat.com over 6 years ago

  • Description updated (diff)

#4 Updated by dkliban@redhat.com over 6 years ago

  • Status changed from ASSIGNED to POST

#5 Updated by dkliban@redhat.com over 6 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#6 Updated by dkliban@redhat.com about 6 years ago

  • Blocks deleted (Story #1205: As a developer I can dispatch a task that can dispatch a group of tasks)

#7 Updated by dkliban@redhat.com almost 6 years ago

  • Status changed from MODIFIED to 5

#8 Updated by dkliban@redhat.com almost 6 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE

#9 Updated by bmbouter almost 3 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF