The monasca_events_api.app.controller.healthchecks Module

class monasca_events_api.app.controller.healthchecks.HealthCheckResult(status, details)

Bases: tuple

property details

Alias for field number 1

property status

Alias for field number 0

class monasca_events_api.app.controller.healthchecks.HealthChecks[source]

Bases: object

CACHE_CONTROL = ['must-revalidate', 'no-cache', 'no-store']
HEALTHY_CODE_GET = '200 OK'
HEALTHY_CODE_HEAD = '204 No Content'
NOT_HEALTHY_CODE = '503 Service Unavailable'
on_get(req, res)[source]
on_head(req, res)[source]