xenit-eu / alfresco-actuators

Health endpoint(s)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Alfresco actuators

Health endpoint, unauthenticated, to be used as docker and load balancer health check.

The webscript is available at:

    alfresco/s/xenit/actuators/health
    alfresco/s/xenit/actuators/health/details

with both having request parameter disabled with values :

  • SystemInfoService
  • AlfrescoInfoService
  • ContentInfoService
  • LicenseInfoService
  • StatusInfoService

example:

  • alfresco/s/xenit/actuators/health?disabled=SystemInfoService,LicenseInfoService
  • alfresco/s/xenit/actuators/health/details?disabled=SystemInfoService

Usage

Status code is to be used for the health check.

The output of the health check is:


{"status":"UP"}

or


{"status":"DOWN" , "message":"error message"}

Currently the check looks at:

  • system
    • os
    • java
    • cpu
  • alfresco
    • id
    • version
    • edition
    • license
    • warManifest
    • modules
    • status
    • content store

Development

Todo

See TODO.md

How to run integration tests


./gradlew integrationTest

About

Health endpoint(s)

License:GNU Lesser General Public License v3.0


Languages

Language:Java 99.9%Language:FreeMarker 0.1%