Project

Profile

Help

Story #8658

closed

As a user I want to purge individual orphan or list of orphans

Added by ipanova@redhat.com about 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:
Yes
Tags:
GalaxyNG
Sprint:
Quarter:

Description

http POST :24817/pulp/api/v3/orphans/ content_hrefs:= []

Enable a POST call to the orphans endpoint that would accept a list of content_hrefs to purge.

  1. A task will be triggered and will call into orphan_cleanup(). Instead of looking for all of the orphaned content across pulp , it would just instead work with the list if hrefs provided( in case the list of content_hrefs was provided).
  2. The timestamp_of_interest on the content will be honored and if there was specified a Content unit that is not an orphan - it will be ignored.
  3. Only content that has version_memberships__isnull=True will be purged.

Also available in: Atom PDF