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 over 1 year ago. Updated about 1 year 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
Actions #1

Updated by bmbouter over 1 year ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to bmbouter
Actions #2

Updated by ipanova@redhat.com over 1 year ago

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

Updated by rchan over 1 year ago

  • Sprint changed from Sprint 98 to Sprint 99
Actions #4

Updated by ipanova@redhat.com over 1 year ago

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

Updated by pulpbot over 1 year ago

  • Status changed from ASSIGNED to POST

Added by bmbouter over 1 year ago

Revision 746b9d83

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

Actions #6

Updated by bmbouter over 1 year ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #7

Updated by pulpbot about 1 year ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF