Skip to main content

Web Service Method: Check whether Graphwise Container Should be Restarted

22/04/2026

Description

Helps to determine if the Kubernetes container hosting the Graphwise application should be restarted. The call returns a status value of either "UP" or "DOWN". This method works for all applications.

URL: /health/liveness

Request

Supported Methods

GET

Response

JSON formatted response message

Request pattern

http://<server-url>/health/liveness
Examples

Example Request

http://example.org/GraphSearch/health/readiness

Example Response

{
    "status": "DOWN",
    "components": {
        "db": {
            "status": "UP",
            "details": {
                "database": "SQLite",
                "validationQuery": "isValid()"
            }
        },
        "extractorReadiness": {
            "status": "UP",
            "details": {
                "Extractor": "ready",
                "url": "http://localhost:8081/extractor/health/readiness"
            }
        },
        "graphSearchReadiness": {
            "status": "DOWN",
            "details": {
                "GraphSearch": "not ready",
                "url": "http://localhost:8081/GraphSearch/health/readiness",
                "error": "503 Service Unavailable: \"{\"status\":\"DOWN\"}\""
            }
        },
        "poolPartyReadiness": {
            "status": "UP",
            "details": {
                "PoolParty": "ready",
                "url": "http://localhost:8081/PoolParty/health/readiness"
            }
        },
        "readinessState": {
            "status": "UP"
        }
    }
} {"status":"UP"}