geonature.core.health.routes

Attributes

Functions

check_all_dependencies()

Check all dependencies are available.

health_check()

services_status()

Module Contents

geonature.core.health.routes.routes[source]
geonature.core.health.routes.check_all_dependencies()[source]

Check all dependencies are available.

This function checks that the database and the redis server are available.

Returns

dict

The value for each key is a boolean indicating if the connection is available or not.

geonature.core.health.routes.health_check()[source]
geonature.core.health.routes.services_status()[source]