illinois / queue

A microservice queue for holding open office hours
University of Illinois/NCSA Open Source License
82 stars 36 forks source link

Allow programmatic admission control policies #226

Closed nwalters512 closed 5 years ago

nwalters512 commented 5 years ago

I'm spinning this off from #225 because I think this has a lot of applications outside of just CBTF scheduler integration.

Basically, what this would allow is for a queue to define an external API endpoint that would be queried everytime a new question is added to a queue. This request would include the full question information: asker, topic, etc. The API would then respond with an indication of if the question should be allowed and, if it's not allowed, a reason as to why. This would enable things like an external ML model that can classify good/bad topics, rate-limiting, or blacklisting.

Some things to think about:

nwalters512 commented 5 years ago

Resolved by #228