Actions
Story #8876
closedAs a user, the `DELETE /pulp/api/v3/orphans/` is deprecated in favor of `POST /pulp/api/v3/orphans/cleanup/`
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:
- deprecate (but do not remove)
DELETE /pulp/api/v3/orphans/
- Allow
POST /pulp/api/v3/orphans/cleanup/
to do whatDELETE /pulp/api/v3/orphans/
did - Add at least one test testing the deprecated endpoint
- Port all existing orphan cleanup tests to use the new POST endpoint
Actions
Deprecated
DELETE /pulp/api/v3/orphans/
When calling this endpoint now, a deprecation warning is logged recommending users instead use the
POST /pulp/api/v3/orphans/cleanup/
call.closes #8876