Versions Compared

Key

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

...

The property files will either come from the file-system or use GIT.

 

  1. bootstrap.properties
Code Block
encrypt:
  failOnError: false
  key: "IGotTheKey"
  key-store:
    secret: "IGotTheSecret"
spring:
  cloud:
    config:
      server:
        bootstrap: true (*)


* Indicates that the server should read it’s own application.properties from the remote config server (GIT or filesystem)

 

 

 

 

...

1.1. bootstrap.properties extended for using the file-system

Code Block
spring:
  profiles:
    active: native
  cloud:
    config:
      server:
        native:
          searchLocations: file:D:/local-properties

 

1.2. bootstrap.properties extended for using GIT

Code Block
spring:
  cloud:
    config:
      server:
        git:
          uri: https://git.blueriq.com/config-repo.git
          basedir: target/config
          username: testuser
          password: martijnlustwhisky

 

 

File system

// TODO

Git repository

...