Versions Compared

Key

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

Blueriq properties Properties should be configured in the application.properties file.

Include Page
_PropertiesFileJava
_PropertiesFileJava
 file. You can also refer to an explicit location using the spring.config.location environment
Include Page
_ConfigLocation
_ConfigLocation
 environment property.

This is possible via JVM arguments:

Code Block
languagepowershell
$ -Dspring.config.additional-location=file:///your/config/dir/

Or by using system environment variables:

Code Block
languagepowershell
$ set spring.config.additional-location=file:///your/config/dir/

(warning) Make sure you start the path with "file:" and end the path with a slash!

The spring.config.location is optional. But when you use

Include Page
_ConfigLocation
_ConfigLocation
 is optional, but it is required for the development plugin it is advised to specify a spring.config.location because this is the place where Blueriq tries to write properties that has been specified in the developer plugin.

Further Reading

Spring Cloud Config [editor]

to store any changes you make through the development plugin.

Instead of reading from file system, you can also read properties from GIT.External application configuration with Spring Profiles [editor]