Versions Compared

Key

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

...

Only users with role ROLE_actuator can access endpoints. To add a user, follow these steps:

Step 1, Add the user with a ROLE_actuator role

...

to maintenance-users.properties. This will add user with username "blueriq" and password "welcome" and assign the role ROLE_actuator to it.

Code Block
titleexample maintenance-users.properties
blueriq={noop}welcome,ROLE_actuator

Step 2, Add the user.properties file to the configuration blueriq-dcm-maintenance-app.yml

Code Block
languageyml
titleexample blueriq-dcm-maintenance-app.yml
blueriq:
   dcm:
     maintenance:
      app:
         users:
          file: ${spring.config.additional-location}maintenance-users.properties

How to call endpoints

Info

Currently, only the /health endpoint is enabled.

...