Add/update Workers Filters
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?
#2 Updated by bmbouter over 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
Please register to edit this issue