Page History
For an explanation on Spring Cloud Config see http://cloud.spring.io/spring-cloud-config/spring-cloud-config.html
The Blueriq Runtime uses Spring Cloud Config to be able to load properties from a remote configuration server.
...
Code Block |
---|
spring.profiles.active=native spring.cloud.config.server.native.searchLocations=${spring.config.location} spring.cloud.config.server.bootstrap=true |
By specifying specifying the
Include Page | ||||
---|---|---|---|---|
|
Include Page | ||||
---|---|---|---|---|
|
Warning | |||||||||
---|---|---|---|---|---|---|---|---|---|
Properties supplied to the runtime through the config server take precedence over all other property sources. This may be changed changed by setting the one of the following properties:
For any of these properties to have effect, they must be specified in one of the a property files file hosted by the config server. For example in | _ConfigLocation | _ConfigLocation | spring.cloud.config.server.native.searchLocations property or in the configured git repository if applicable.
...
The property files will either come from the file-system or use GIT.
Code Block | ||
---|---|---|
| ||
encrypt.failOnError=false encrypt.key=IGotTheKey encrypt.key-store.secret=IGotTheSecret spring.cloud.config.server.bootstrap=true (*) |
...
Code Block | ||
---|---|---|
| ||
spring.profiles.active=native spring.cloud.config.server.native.searchLocations |
Code Block | ||
---|---|---|
| ||
spring.cloud.config.server.git.uri=https://git.blueriq.com/config-repo.git spring.cloud.config.server.git.basedir=target/config spring.cloud.config.server.git.username=<git_username> spring.cloud.config.server.git.password=<git_password> |
...
* Username and password that will be used for the client to connect to this server.
Info | ||
---|---|---|
UI Text Box | ||
| ||
Currently static resources are not managed by the spring cloud config server (for example frontend sources and exports). This may change in a future release. |
Further reading
Reading properties from file system
...