Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-6061

Support setting mail configuration in runtime or system properties

    XMLWordPrintable

Details

    • Low

    Description

      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.

      dkayiwa / ibacher / burke / mogoodrich 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.

      Gliffy Diagrams

        Attachments

          Activity

            People

              mseaton Mike Seaton
              mseaton Mike Seaton
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: