illinois / queue

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

Multi-institution support: less hardcoding, more config #99

Open nwalters512 opened 6 years ago

nwalters512 commented 6 years ago

There seems to be interest in deploying the queue at UBC - thanks Cinda! We should do some things to make it easier to deploy this across multiple institutions.

First, any hard-coded references to Illinois should be removed in favor of university-specific configurable things. Thankfully, this only amounts to a few things:

The first is easy to handle, the second one less so, since that's a static file. This probably requires a build phase that'll use a config file. Alternatively, we can treat it as a non-static file and template it as appropriate whenever it's requested. That's probably the easier way.

Since UBC also uses Shib, we won't have to change the auth system. However, to possibly expand to other institutions that don't use Shib, we should make the auth system pluggable. Alternatively, we can ditch Shib entirely and move towards something based on OAuth or the like, which is likely to be more widely supported.