Versions Compared

Key

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

...

The runtime uses spring cloud config (besides the all the other functionality that spring cloud config uses) for changing/reloading properties. In the configured folder one can place an application.properties and/or application-debug.properties (and yaml variants) as the default name is application (can be configured via spring.application.name=application).

1. Client

Spring config client is integrated in the blueriq-web.

Client config options

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

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

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

2. Server

Spring config server will run separately and handle the property files. The client will communicate with the server to get the property files.

...

UI Text Box
typenote

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

...