-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
backend: Store configurable values inside a course_settings table #156
Comments
The Canvas Test Student ID resets every time someone hits "reset student." I think the way Paul added that gets it new every time we need it is probably sufficient. Canvas API Key is currently passed in as a environmental variable, do we need one per course? |
I don't know about per course, but iff #164 happens then I think it would be super useful to have this in the database instead |
Another class of properties that should be included:
|
I added this with #323, but I'm not going to close this ticket because it can probably improved on |
Description
Some kinds of parameters we want to be configure dynamically. This can we well accomplished with a
course_settings
table that has a column for each of the settings we want to configure. Then, the app will read out the appropriate settings and behave differently just by updating the values but without rebuilding the app.In the code, we'll want to access these through a
CourseSettingsService
(or similarly named) by the name of the property. This would allow us to potentially configure different sets of values that we could switch between. For example, one row of settings could contain the PRODUCTION settings, and another row could contain DEV settings which have have slightly different end points or behaviors for some properties. We could also build in a file of defaults so that we aren't required to define all of them in the database if we want.Properties
Please comment any other properties that would be good to include in the
course_settings
table.The text was updated successfully, but these errors were encountered: