Story #2402
closedAs an API user, a call to update an Importer generates a Task
100%
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
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
- Groomed changed from No to Yes
- Sprint Candidate changed from No to Yes
Updated by mhrivnak almost 8 years ago
This comment also applies here: https://pulp.plan.io/issues/2409#note-4
Updated by bmbouter over 7 years ago
- Tracker changed from Task to Story
- Subject changed from Convert celery task repo.importer.update_importer_config to Pulp 3 to As an API user, a call to update an importer generates a Task
- Description updated (diff)
Rewriting based on similarity to issue 2756 and discussion on the mailing list: https://www.redhat.com/archives/pulp-dev/2017-May/msg00014.html
Updated by bmbouter over 7 years ago
- Subject changed from As an API user, a call to update an importer generates a Task to As an API user, a call to update an Importer generates a Task
Updated by bmbouter over 7 years ago
- Has duplicate Task #2401: Convert celery task repo.importer.set_importer to Pulp 3 added
Updated by dkliban@redhat.com over 7 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to dkliban@redhat.com
Updated by dkliban@redhat.com over 7 years ago
- Status changed from ASSIGNED to POST
Added by dkliban@redhat.com over 7 years ago
Added by dkliban@redhat.com over 7 years ago
Revision f92a4255 | View on GitHub
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.
Updated by dkliban@redhat.com over 7 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulp|f92a4255a750f0787f35dcf7b9bc441968f089b4.
Updated by bmbouter almost 5 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
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