openequella / openEQUELLA

Core openEQUELLA sources
https://openequella.github.io/
Apache License 2.0
41 stars 44 forks source link

Server Healthcheck Endpoint #743

Open edalex-ian opened 5 years ago

edalex-ian commented 5 years ago

Is your feature request related to a problem? Please describe.

With the New UI enabled, our Hosting Team has highlighted that their old health check for the server no longer works. This is mainly due to the dynamic loading of pages via React.

But in some ways, that highlighted a missing feature.

Describe the solution you'd like

AS A system administrator I WANT a URL which allows me to programmatically check the status of the server and its institutions SO THAT I can integrate with health monitoring tools.

The URL would consist probably of the server admin URL and then a path like /health or /status. It could return a JSON payload including some key stats like:

Additional context

This is now a somewhat common paradigm in distributed and micro-service architectures. And there are some more full fledged framework examples with things like Spring Boot Actuator.

The above though is just the minimum that we need to fill this gap.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.