Versions Compared

Key

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

...

Actuator endpoints provide real-time insights and management capabilities. These endpoints expose information about your application's health, metrics, and various operational aspects. This documentation will guide you on how to add a user and how to call these endpoints and optionally change the credentials.

How to

...

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

call endpoints

Info

Currently, only the /health endpoint is enabled.


The actuator endpoint can be called using HTTP protocol:

Make sure to replace "{url}" with application domain.

Code Block
GET http://{url}/actuator/health
Authorization: Basic blueriq welcome


Change the credentials

By default, the credentials are used as outlined above. When you want to change this, add the following configuration to the blueriq-dcm-lists.yml  configuration file. Note that only users with role ACTUATOR can access endpoints.

 

Add the following configuration properties to application.yml. This will add user with username "blueriq" and password "welcome" and assign the role ROLE_ACTUATOR to it.

Code Block
spring:
  security:
    user:
      name: 

...

<username>
      password: '{noop}

...

<password>'
      roles:
       - ACTUATOR

...

How to call endpoints

Info

Currently, only the /health endpoint is enabled.

The actuator endpoint can be called using HTTP protocol:

Make sure to replace "{url}" with application domain.

Code Block
GET http://{url}/actuator/health
Authorization: Basic blueriq welcome