Hi Isomorphic,
for our SaaS application we are generating a war-file per customer, that differs in very few settings. Building and deploying these wars is a tedious and most likely unnecessary task, if we could serve the application as one war under different subdomains. I don't see a problem with DB credentials here as SQLDataSource can generate correct WHEREs as needed. All other things that differ are application details that can be solved in code or by moving stuff to the database.
I might have a problem with email-sending, though. Per the docs, the mail server settings come from the server.properties file. This means only one mail server per war-file / application.
This does not make it possible to use customer-specific mail accounts.
Can you make the mail.system.mail.smtp settings host / port / user / auth / password / starttls Velocity variables like from / to / cc /... in the docs?
Thank you & Best regards
Blama
for our SaaS application we are generating a war-file per customer, that differs in very few settings. Building and deploying these wars is a tedious and most likely unnecessary task, if we could serve the application as one war under different subdomains. I don't see a problem with DB credentials here as SQLDataSource can generate correct WHEREs as needed. All other things that differ are application details that can be solved in code or by moving stuff to the database.
I might have a problem with email-sending, though. Per the docs, the mail server settings come from the server.properties file. This means only one mail server per war-file / application.
This does not make it possible to use customer-specific mail accounts.
Can you make the mail.system.mail.smtp settings host / port / user / auth / password / starttls Velocity variables like from / to / cc /... in the docs?
Thank you & Best regards
Blama
Comment