Project

Profile

Help

Story #8876

closed

As a user, the `DELETE /pulp/api/v3/orphans/` is deprecated in favor of `POST /pulp/api/v3/orphans/cleanup/`

Added by bmbouter almost 3 years ago. Updated almost 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
No
Tags:
Sprint:
Sprint 99
Quarter:

Description

Several parameters are being introduced to control how orphaned content is cleaned up. The openAPI tooling Pulp uses won't allow parameters to be expressed with DELETE parameters. Rather than fixing that, we will use POST /pulp/api/v3/orphans/cleanup/ which based on feedback is feeling more natural anyway.

As use, we need this ticket to:

  1. deprecate (but do not remove) DELETE /pulp/api/v3/orphans/
  2. Allow POST /pulp/api/v3/orphans/cleanup/ to do what DELETE /pulp/api/v3/orphans/ did
  3. Add at least one test testing the deprecated endpoint
  4. Port all existing orphan cleanup tests to use the new POST endpoint

Also available in: Atom PDF