Task #2401
closedConvert 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
Updated by ttereshc about 8 years ago
- Related to Task #2380: Create a redmine task for each 2.y celery task to be converted to 3.0 added
Updated by mhrivnak about 8 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.
Updated by bmbouter about 8 years ago
What about the case where the set_importer is replacing an existing importer? Does that ever happen?
Updated by mhrivnak almost 8 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.
Updated by bmbouter over 7 years ago
Is this task needed or would it be addressed by the implementation of #2402?
Updated by bmbouter over 7 years ago
- Status changed from NEW to CLOSED - DUPLICATE
This work will be entirely handled by #2402.
Updated by bmbouter over 7 years ago
- Is duplicate of Story #2402: As an API user, a call to update an Importer generates a Task added