-
Notifications
You must be signed in to change notification settings - Fork 0
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
Clean up email templates logistics #181
Comments
Current migration and loading of a DukeDSEndpoint is handled in a run script: Lines 12 to 22 in 0d3c200
This script is baked into the Docker image: Line 28 in 0d3c200
|
I tested in a clean environment and was able to load the example |
The issue I had is of fragile foreign keys vs natural keys again (Duke-GCB/bespin-api#110). Lines 10 to 18 in 6fd5d55
Here we load email templates and assume that the user with id=1 should be the owner. While that's likely to be a superuser in a clean database environment, it's not generally a safe assumption. So 3 thoughts I have:
|
Talked with @dleehr about this in a meeting today. Additionally we will remove the example emailtemplates.json since it isn't particularly useful and has the limitations outlined above. |
We have a few issues related to email templates (#91, #180, and #87). Additionally, recent changes (#171) added a required cancel template to
emailtemplates.json
, but we don't have documentation on what's required or how to load them. For deployment time, we should load data automatically (as we do in bespin).Currently, the fixture doesn't load in my dev environment. We're not using the
owner
field, but may need it for #87.The text was updated successfully, but these errors were encountered: