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

Include Page
_PropertiesFileJavaR10
_PropertiesFileJavaR10
 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-webruntime.

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

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

...

* Indicates that the server should read it’s own application.properties from

Include Page
_PropertiesFileJavaR10
_PropertiesFileJavaR10
 from the remote config server (GIT or filesystem)

...