james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tellier Benoit (JIRA)" <server-...@james.apache.org>
Subject [jira] [Closed] (JAMES-2576) Aggregation healthcheck should have a body
Date Fri, 02 Nov 2018 07:27:00 GMT

     [ https://issues.apache.org/jira/browse/JAMES-2576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tellier Benoit closed JAMES-2576.
---------------------------------

> Aggregation healthcheck should have a body
> ------------------------------------------
>
>                 Key: JAMES-2576
>                 URL: https://issues.apache.org/jira/browse/JAMES-2576
>             Project: James Server
>          Issue Type: New Feature
>          Components: webadmin
>    Affects Versions: master
>            Reporter: Tellier Benoit
>            Priority: Major
>              Labels: feature
>             Fix For: 3.3.0
>
>
> Currently, JAMES-2563 proposes additional healthchecks. The current aggregation healthcheck
only exposes a status code.
> Thus we will need, it to return a useful body, to help diagnose what is hapening.
> Here is the corresponding user story:
> {code:java}
> As an admin,
> Using the webadmin protocol
> When calling the aggregation health check (current `/healthcheck`)
> I can read a detailed report in the answer payload
> (allow to diagnose the answer)
> {code}
> Here is the route we proposes to add to the current endpoints:
> {code:java}
> GET /healthcheck
> {code}
> Will return 
> {code:java}
> {
>   "status": "Healthy",
>   "checks": [
>     {
>       "componentName": "Cassandra Backend",
>       "escapedComponentName": "Cassandra%40Backend",
>       "status": "Healthy",
>       "cause": null
>     },
>     ...
>   ]
> }
> {code}
> Here is a few implementation details. In webadmin-core maven project:
>  - Create a HeathCheckAggregationExecutionResultDTO including above fields
>  - Modify the HealthCheckRoutes::validateHealthchecks method
>  - Document in with swagger annotations and in src/site/markdown/server/manage-webadmin.md
> If you do have any questions, reach us on gitter: https://gitter.im/apache/james-project



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message