Project

Profile

Help

Task #4876

Convert all tasks to pass primary keys instead of objects

Added by bmbouter over 2 years ago. Updated almost 2 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Sprint:
Sprint 53
Quarter:

Description

This task involves looking at all the viewsets and task signatures and having them be switched to primary keys. The objects should be re-fetched in the task and used as they were originally.

Associated revisions

Revision ae305b31 View on GitHub
Added by bmbouter over 2 years ago

Switch tasks to use pks

The copy and upload tasks were passing large objects instead of passing pks. This switches those (and their corresponding dispatch code) to use pks instead, and the objects are re-queried in the task. Some of the tasks didn't need an update because they already used that form. All tasks were checked.

https://pulp.plan.io/issues/4876 closes #4876

History

#1 Updated by ttereshc over 2 years ago

  • Groomed changed from No to Yes
  • Sprint Candidate changed from No to Yes
  • Sprint set to Sprint 53

#2 Updated by bmbouter over 2 years ago

  • Status changed from ASSIGNED to POST

#3 Updated by bmbouter over 2 years ago

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

#4 Updated by ttereshc almost 2 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF