Project

Profile

Help

Story #4331

closed

As a task writer, I can lock on an arbitrary string

Added by daviddavis over 5 years ago. Updated over 4 years ago.

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

100%

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

Description

Currently, the tasking system only lets you lock on individual resources or a list of resources[0] which it then converts to urls[1]. However, it needs to be able to also accept a string or list of strings.

An example use case is where we need to lock on all distributions (present and future), in which case we would lock on "/pulp/api/v3/distributions/" or something similar.

[0] https://github.com/pulp/pulp/blob/331e58741fdb94d28582ae8b3f4c5a13a6bd6d55/pulpcore/tasking/tasks.py#L147
[1] https://github.com/pulp/pulp/blob/331e58741fdb94d28582ae8b3f4c5a13a6bd6d55/pulpcore/tasking/tasks.py#L180


Related issues

Blocks Pulp - Story #3044: Distribution create/update operations should be asynchronousCLOSED - CURRENTRELEASECodeHeeler

Actions

Also available in: Atom PDF