Page History
...
bootstrap.properties
- for using the file system
Code Block |
---|
spring: profiles: active: native cloud: config: server: native: searchLocations: .profiles.active=native spring.cloud.config.server.native.searchLocations=file:D:/local-properties |
bootstrap.properties
- for using GIT - basic authentication
Code Block |
---|
spring: cloud: config: server: git: uri: .cloud.config.server.git.uri=https://git.blueriq.com/config-repo.git basedir: target/config username: <git_username> password: spring.cloud.config.server.git.basedir=target/config spring.cloud.config.server.git.username=<git_username> spring.cloud.config.server.git.password=<git_password> |
UI Text Box | ||
---|---|---|
| ||
Please note that when using GIT the development plugin has limited functionality. As properties can only be read from GIT and not written, the development plugin can only read values and not write them. Any changes made with the development toolbar work during your session, but starting a new session or reloading the application will read the original values from GIT again. This is only an issue for development or test environments, as the development plugin is not present on production environments. |
Overview
Content Tools