Add ability to filter jobs by some meta-data

Registered by Dan

Currently, a subscriber to a jobboard will receive every job posted to that board. For some use-cases, it will be desirable for a jobboard subscriber to only receive some subset of those jobs, based on some filtering mechanism. This would allow jobboard consumers (conductors) to have a bit more flexibility.

We could implement this by adding some meta-data property to a job (such as "topic"), and give JobBoard.iterjobs a kwarg (such as "topic='something'") to filter for this meta-data property.

Blueprint information

Status:
Started
Approver:
Joshua Harlow
Priority:
High
Drafter:
Dan
Direction:
Approved
Assignee:
Dan
Definition:
Approved
Series goal:
None
Implementation:
Slow progress
Milestone target:
None
Started by
Joshua Harlow

Related branches

Sprints

Whiteboard

Suggestion: use fnmatch to allow globbing support when filtering by topic.

Gerrit topic: https://review.openstack.org/#q,topic:bp/job-filtering,n,z

Addressed by: https://review.openstack.org/85062
    Adds job filtering support to jobboards

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.