Actions
Story #2757
closedAs an API user, a call to delete a Repository generates a Task
Start date:
Due date:
% Done:
0%
Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Sprint:
Quarter:
Description
After a discussion on the pulp-dev list [0], we decided that all updates and deletes for Publishers, Importers, and Repositories should be done asynchronously.
[0]: https://www.redhat.com/archives/pulp-dev/2017-May/msg00014.html
Related issues
Updated by amacdona@redhat.com over 7 years ago
- Copied from Story #2756: As an API user, a call to update a Repository generates a Task added
Updated by bmbouter over 7 years ago
- Sprint Candidate changed from No to Yes
We already have the Celery task pulp.app.tasks.repository.delete so all we need is for the Viewset to call apply_async_with_reservation for that task and return the 202 to the user.
Updated by bmbouter over 7 years ago
- Groomed changed from No to Yes
grooming per IRC convo w/ @asmacdo.
Updated by bmbouter over 7 years ago
Silly question, but is this already done? https://github.com/pulp/pulp/blob/8c58c89a47bd0a64695db9e59c2a1ffc16eb5bd8/platform/pulp/app/viewsets/repository.py#L56
Updated by bmbouter over 7 years ago
- Status changed from NEW to CLOSED - WORKSFORME
This is already done so I'm marking as WORKSFORME.
Actions