Versions Compared

Key

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

Introduction

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.

How to add a user

Only users with role ROLE_ACTUATOR  ACTUATOR can access endpoints.

By default the user 'blueriq' with password 'welcome' has been configured. 

To add a user, follow these steps:

  1. Add the following configuration properties to applicationblueriq-dcm-maintenance-app.yml. This will add user with username "blueriq" and password "welcome" and assign the role ROLE_ ACTUATOR to it.

    code


    spring:


      security:

    user: name: blueriq password:


        user:
          name: blueriq
          password: '{noop}welcome'

    roles: -


          roles:
           - ACTUATOR

How to call endpoints

...

Currently, only the /health endpoint is enabled.


The actuator endpoint can be called using HTTP protocol:

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

...

GET

...

http://{url}/dcm-maintenance/actuator/health

...


Authorization:

...

Basic

...

blueriq

...

welcome