Versions Compared

Key

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

...

Jira Legacy
serverSystem Jira
columnIdsissuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId4733707d-2057-3a0f-ae5e-4fd8aff50176
keyCPS-1857

Out-of-scope

  • ...Any other health check response other than Spring Boots(microservice) actuators is out of scope in this development.


Assumptions

#

Issue

Notes

Decisions

1The service(name) of the DMI-plugin is being considered as if the name of microservice in the cluster.The service(name) is being used during(within body part of) DMI registration process.
2The health check URL is the default Spring Boot actuator health check URL.The format of the health check URL complies with Spring Boot actuator URL.
3

The URL extension to service(name) is

'/manage/health'

In the existing commit(development) '/manage/health' extension is being appended to service(name).
4

The response body for that health check request is the generic response produced by Spring Boot health check actuator end-point.

The development relies on the default response created by Spring Boot health check actuator end-point.


Issues & Decisions

#

Issue

Notes

Decisions

1




2


Overview

The DMI Plugin Watchdog monitors the aliveness of DMI plugins. The job periodically (a configurable period of time) checks the health and status of each DMI plugin to ensure that
they are functioning properly. If a DMI-plugin is found to be unresponsive or in an unhealthy state, the Trust Level Cache will be updated with the latest status.

During the DMI-plugin registration process, DMI-plugin's service(name) will be added to Trust Level Cache with a value of COMPLETE. When the job runs, it will check aliveness of the all DMI-plugins
existing in the Trust Level Cache, by returning an UP or DOWN state for each service(name)  in the response.



Code Block
languagetext
titleThe fixed delay parameter name
ncmp.timers.trust-evel.dmi-availability-watchdog-ms


Please note that the service(name) will be appended with a URL extension which is '/manage/health'.

Code Block
languagetext
titleA sample health check URL
service(name)/manage/health


A sample health check response generated by Spring Boot actuator health check end-point:
The 'status': 'UP' node is being considered in the development.

Elite soft json viewer
modeTree
{
    "status": "UP",
    "components": {
        "diskSpace": {
            "status": "UP",
            "details": {
                "total": 269490393088,
                "free": 228454936576,
                "threshold": 10485760,
                "exists": true
            }
        },
        "livenessState": {
            "status": "UP"
        },
        "ping": {
            "status": "UP"
        },
        "readinessState": {
            "status": "UP"
        }
    },
    "groups": [
        "liveness",
        "readiness"
    ]
}