Project

Profile

Help

Task #3088

Add/update Workers Filters

Added by amacdona@redhat.com almost 2 years ago. Updated 6 months ago.

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

0%

Platform Release:
Blocks Release:
Backwards Incompatible:
No
Groomed:
No
Sprint Candidate:
No
Tags:
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:

Description

This task should be marked "groomed" when both questions are answered.

1) What are the filtering use cases for this viewset?

2) What filters (field and FilterSet) should this viewset include?

3) Will the default viewset include both online and offline workers?

https://django-filter.readthedocs.io/en/latest/ref/filters.html#filters


Related issues

Duplicates Pulp - Story #3143: As an authenticated user, I can filter workers. MODIFIED Actions
Copied from Pulp - Task #3087: Add/update Users Filters CLOSED - COMPLETE Actions

History

#1 Updated by amacdona@redhat.com almost 2 years ago

  • Copied from Task #3087: Add/update Users Filters added

#2 Updated by bmbouter almost 2 years ago

  • Description updated (diff)

I think this viewset should show all workers both online and offline. The status API only includes online workers because its intent is to help the user reason about the current state of their Pulp installation.

Here are the possible use cases I can think of:

As a user, I can filter by the value of the 'online' (boolean)

As a user, I can filter with lt, gt, eq on the 'heartbeat' timestamp

As a user, I can filter by 'name' with explicit matching so that I can monitor a single worker by name.
As a user, I can filter by 'name' with substring matching so that I can monitor a group of workers on a single machine, or data center

#3 Updated by daviddavis almost 2 years ago

  • Status changed from NEW to CLOSED - DUPLICATE

#3143 has the groomed user stories and fields. Closing in favor of #3143.

#4 Updated by daviddavis almost 2 years ago

  • Duplicates Story #3143: As an authenticated user, I can filter workers. added

#5 Updated by daviddavis 6 months ago

  • Sprint/Milestone set to 3.0

#6 Updated by bmbouter 6 months ago

  • Tags deleted (Pulp 3)

Please register to edit this issue

Also available in: Atom PDF