Project

Profile

Help

Story #8876

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

Added by bmbouter 4 months ago. Updated 3 months 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

Associated revisions

Revision 746b9d83 View on GitHub
Added by bmbouter 3 months ago

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

History

#1 Updated by bmbouter 4 months ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to bmbouter

#2 Updated by ipanova@redhat.com 4 months ago

  • Sprint/Milestone set to Content/disk space management
  • Groomed changed from No to Yes
  • Sprint set to Sprint 98

#3 Updated by rchan 3 months ago

  • Sprint changed from Sprint 98 to Sprint 99

#4 Updated by ipanova@redhat.com 3 months ago

  • Sprint/Milestone changed from Content/disk space management to 3.14.0

#5 Updated by pulpbot 3 months ago

  • Status changed from ASSIGNED to POST

#6 Updated by bmbouter 3 months ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#7 Updated by pulpbot 3 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF