The abstraction we have for learner-app (core.db.App) currently stores name, current_task, score, healthy, created, last_updated. The base URL though is generated each time during runtime from configuration of the treadmill app.
I think the URL should be stored in the db (and be part of the same abstraction as other learner-app related attributes).
The treadmill app should only use the configuration provided for creation of new learner-apps. If there is any change in how learner-apps are hosted, the database should be updated.
The abstraction we have for learner-app (
core.db.App
) currently stores name, current_task, score, healthy, created, last_updated. The base URL though is generated each time during runtime from configuration of the treadmill app. I think the URL should be stored in the db (and be part of the same abstraction as other learner-app related attributes).The treadmill app should only use the configuration provided for creation of new learner-apps. If there is any change in how learner-apps are hosted, the database should be updated.