Task #2401
Convert celery task repo.importer.set_importer to Pulp 3
0%
Description
Task name in Pulp 2: `pulp.server.managers.repo.importer.set_importer`.
Task implementation in Pulp 2: https://github.com/pulp/pulp/blob/3.0-dev/server/pulp/server/controllers/importer.py#L67
Related issues
History
#1
Updated by ttereshc about 4 years ago
- Related to Task #2380: Create a redmine task for each 2.y celery task to be converted to 3.0 added
#2
Updated by ttereshc about 4 years ago
- Tags Pulp 3 added
#3
Updated by mhrivnak about 4 years ago
Thinking about this now, maybe this one does not need to be a task.
If a repo does not have an importer, it cannot be doing a sync/copy/upload, so there is no need to have the resource lock on the repo before adding the importer.
#4
Updated by bmbouter about 4 years ago
What about the case where the set_importer is replacing an existing importer? Does that ever happen?
#5
Updated by mhrivnak about 4 years ago
I do not think we should support a replace operation. CRUD should be sufficient.
If you try to create a document that already exists, that's an error.
#6
Updated by bmbouter over 3 years ago
Is this task needed or would it be addressed by the implementation of #2402?
#7
Updated by bmbouter over 3 years ago
- Status changed from NEW to CLOSED - DUPLICATE
This work will be entirely handled by #2402.
#8
Updated by bmbouter over 3 years ago
- Is duplicate of Story #2402: As an API user, a call to update an Importer generates a Task added
#9
Updated by daviddavis over 1 year ago
- Sprint/Milestone set to 3.0.0
#10
Updated by bmbouter over 1 year ago
- Tags deleted (
Pulp 3)
Please register to edit this issue