autopush.web.healthhandler

Health Check HTTP Handler

class autopush.web.health.HealthHandler(application, request, **kwargs)[source]

HTTP Health Handler

authenticate_peer_cert()[source]

Skip authentication checks

get(*args, **kwargs)[source]

HTTP Get

Returns basic information about the version and how many clients are connected in a JSON object.

_check_table(table)[source]

Checks the tables known about in DynamoDB

_check_success(result, name)[source]

Verifies a name is in the list of tables

_check_error(failure, name)[source]

Returns an error, and why

_finish_response(results)[source]

Returns whether the check succeeded or not

autopush.web.statushandler .. autoclass:: StatusHandler

members:
private-members:
 
member-order:bysource