Actions
Story #2402
closedAs an API user, a call to update an Importer generates a Task
Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Sprint:
Sprint 21
Quarter:
Description
We need to create an update task which can live in pulp.app.tasks.importer.
Task name in Pulp 2: `pulp.server.managers.repo.importer.update_importer_config`.
Task implementation in Pulp 2: https://github.com/pulp/pulp/blob/3.0-dev/server/pulp/server/controllers/importer.py#L240
Related issues
Actions
Problem: importer updates are performed syncronously
Solution: override the update method in the Importer viewset
The update method now dispatches a task to update the importer.
closes #2402 https://pulp.plan.io/issues/2402