Expose an health check status

Description

It was suggested that in the context of microservices managed by Kubernetes / Openshift, Hibernate could expose an "health check" status.

Alternatively, people could simply use the status from the connection pool directly, but having a well defined API for this would make it simpler to use and we could register it among other standard management operations.

Introducing a standard API would also allow Hibernate OGM to implement the same higher level API without people needing to get into specifics of how each NoSQL database deals with it. Wondering if even the RDBMS world could benefit from ORM's Dialects as I guess status checks might be nonstandard among traditional databases as well.

Environment

None

Assignee

Unassigned

Reporter

Sanne Grinovero

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Major
Configure