Add a health check view.

Review Request #13252 — Created Aug. 30, 2023 and submitted — Latest diff uploaded

Information

Djblets
release-4.x

Reviewers

This change adds a view implementation that can be used to set up a
health check. It simply checks that the database and cache server are
available, and returns 200 if so and 500 if not (while logging the
error).

Manually set things up to have either the database or cache server fail
and saw that this view returned the correct results.

Commits

Files