You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the email templates used for emails to users are stored in the database during a push to https://{{ middleware_vhost_name }}/management/configuration. Since these change only rarely, we are moving them to disk.
Rationale:
We've added the option to push the middleware config from manage (Add Openconext-Stepup config OpenConext-manage#627). We do not want the manage the email templates from there because they rarely change.
This reduces the size of the push (in the event stream).
The SRAA config is stored in parameters.yaml
The email twig templates are stored in /config/openconext/email_templates/, one file for each template.
The new versions of middleware uses the templates from disk, the values in the database are ignored. I.e. email templates are still allowed in the push and the database, but are ignored. This is required to make online red/green migration possible. Database schema change we will do later.
Empty or missing templates in the database or config-push do not trigger error messages or warnings
The new middleware version compiles the twig templates during cash warmup. Missing templates on disk or templates from disk that do not compile generate an error.
Currently, the email templates used for emails to users are stored in the database during a push to
https://{{ middleware_vhost_name }}/management/configuration. Since these change only rarely, we are moving them to disk.Rationale: