You are viewing the documentation for Blueriq 17. Documentation for other versions is available in our documentation directory.
Older documentation: Spring Cloud config [editor]
For an explanation about spring cloud config see http://cloud.spring.io/spring-cloud-config/spring-cloud-config.html
Client
Spring config client is integrated in the blueriq-web. .
Client config options
bootstrap.properties
spring: cloud: config: uri: http://localhost:8888 username: <cloud-server-username> password: <cloud-server-password> failFast: true retry: max-attempts: 10 initial-interval: 5000 max-interval: 10000
application.properties will not contain any property meant for the config client
pom.xml needs the following dependencies
<dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-config</artifactId> </dependency> <dependency> <groupId>org.springframework.retry</groupId> <artifactId>spring-retry</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-aop</artifactId> </dependency>
Server
Spring config server will run separately and handle the property files. The client will communicate with the server to get the property files.
The property files will either come from the file-system or use GIT.
File system
// TODO
Git repository
Repository structure
Overview
Content Tools