nickbradley / autotest

CPSC 310 GitHub integration service.
1 stars 2 forks source link

Add queue endpoint #7

Closed nickbradley closed 7 years ago

nickbradley commented 7 years ago

Create GET endpoint /queue that returns job counts by state for both queues.

[ { qname: 'autotest-testqueue-std',
    completed: 2,
    failed: 0,
    delayed: 0,
    active: 0,
    waiting: 0,
    paused: 0 },
  { qname: 'autotest-testqueue-exp',
    completed: 0,
    failed: 0,
    delayed: 0,
    active: 0,
    waiting: 0,
    paused: 0 } ]