Fixed
Details
Assignee
Mike SeatonMike SeatonReporter
Mike SeatonMike SeatonComplexity
LowFix versions
Priority
Should
Details
Details
Assignee
Mike Seaton
Mike SeatonReporter
Mike Seaton
Mike SeatonComplexity
Low
Fix versions
Priority
Created February 15, 2022 at 3:55 PM
Updated April 19, 2022 at 5:42 PM
Resolved April 19, 2022 at 5:42 PM
Currently the only way to configure the email settings used by the OpenMRS Message Service is to set these via global properties. However, this includes settings like the mail user and mail password that are better secured and managed as runtime properties.
For backwards compatibility, we should continue to support these global properties. However, one should be able to also set / override these values through runtime properties (or even system properties). This would also be a valuable utility to offer up in the API in general - to be able to get a configuration value that could be defined in any of system / runtime / global properties, where system > runtime > global in terms of precedence.
/ / / interested in thoughts.
Burke, I know you have a lot of opinions about configuration in general. I'm not trying to solve our entire configuration issue, just provide the ability to secure / override certain existing global properties better if desired.