Versions Compared

Key

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

...

Code Block
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

* See To make a connection to cloud config server, see #gitbasicauth

application.properties will not contain any property meant for the config client

...

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

 

bootstrap.properties - extended for using the file-system

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

 

bootstrap.properties - extended for using GIT - basic authentication 

Anchor
gitbasicauth
gitbasicauth

...

Code Block
server:
  port: 8888
security:
  user:
    name: <username> (*)
    password: <password> (*)
management:
  context-path: /admin
  • a

File system

// TODO

Git repository

...

 * Username and password that will be used for the client to connect to this server.

 

Repository structure

TODO - ongoing discussion

Branch per environment?

Branch per version?