Versions Compared

Key

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

...

Blueriq uses spring cloud config (besides the all the other functionality that spring cloud config uses) for changing/reloading settings via the development pluginproperties.

In the configured folder one can place a application.properties and/or application-debug.properties (and yaml variants) because the default name is application (can be configured via spring.application.name=application) These are the files that can be edited by the development plugin

Notes:

to be able to edit settings via the development plugin the profile native must also be passed.To refresh, inject the RefreshScope, dont call the urls

1. Client

...

Spring config client is integrated in the blueriq-web.

...

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

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

...

bootstrap.properties - extended for using GIT - basic authentication  Anchorgitbasicauthgitbasicauth

Code Block
spring:
  cloud:
    config:
      server:
        git:
          uri: https://git.blueriq.com/config-repo.git
          basedir: target/config
          username: <git_username>
          password: <git_password>

 

 

application.propertiesproperties 

Anchor
scsauth
scsauth

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

...