Project

Profile

Help

Story #2757

closed

As an API user, a call to delete a Repository generates a Task

Added by amacdona@redhat.com almost 7 years ago. Updated almost 5 years ago.

Status:
CLOSED - WORKSFORME
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
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

Copied from Pulp - Story #2756: As an API user, a call to update a Repository generates a TaskCLOSED - CURRENTRELEASEbizhang

Actions
Actions #1

Updated by amacdona@redhat.com almost 7 years ago

  • Copied from Story #2756: As an API user, a call to update a Repository generates a Task added
Actions #2

Updated by bmbouter almost 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.

Actions #3

Updated by bmbouter almost 7 years ago

  • Groomed changed from No to Yes

grooming per IRC convo w/ @asmacdo.

Actions #5

Updated by bmbouter almost 7 years ago

  • Status changed from NEW to CLOSED - WORKSFORME

This is already done so I'm marking as WORKSFORME.

Actions #6

Updated by daviddavis almost 5 years ago

  • Sprint/Milestone set to 3.0.0
Actions #7

Updated by bmbouter almost 5 years ago

  • Tags deleted (Pulp 3)

Also available in: Atom PDF