Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • grouper.properties
  • grouper.hibernate.properties
  • grouper-loader.properties
  • grouper-ui.properties
  • grouper-ws.properties
  • grouper.client.properties
  • subject.properties
  • grouper.cache.properties (2.3.0.patch+)
  • grouper.text.en.us.properties

In the future we can add this feature to other config files as well.

...

This will result in the value (for key: some.config.2): start middle something else

Another example, look in another non-grouper properties file

Code Block
hibernate.connection.url.elConfig = ${ edu.internet2.middleware.grouper.util.GrouperUtil.propertiesFromFile(new("java.io.File","/Users/mchyzer/git/grouper_v2_5/grouper/conf/myfile.properties"), false).getProperty("myurl") }


Environment variables

If you want a config to be pulled from an environment variable, do this:

...