9.1.2.1. GeoHealthCheck.app

9.1.2.1.1. Module Contents

9.1.2.1.1.1. Functions

db_commit()

before_request()

public_route(decorated_function)

shutdown_session([exception])

get_locale()

load_user(identifier)

unauthorized_callback()

load_user_from_request(request)

cssize_reliability(value[, css_type])

returns CSS button class snippet based on score

cssize_reliability2(value)

returns CSS panel class snippet based on score

round2(value)

rounds a number to 2 decimal places except for values of 0 or 100

context_processors()

global context processors for templates

home()

homepage

export()

export resource list as JSON

opensearch()

generate OpenSearch description document

export_resource(identifier)

export resource as JSON or CSV

export_resource_history(identifier)

export resource history as JSON or CSV

settings()

settings

resources()

lists resources with optional filter

get_resource_by_id(identifier)

show resource

register()

register a new user

add()

add resource

update(resource_identifier)

update a resource

test(resource_identifier)

test a resource

edit_resource(resource_identifier)

edit a resource

delete(resource_identifier)

delete a resource

get_probe_edit_form(probe_class[, resource_identifier])

get the form to edit a Probe

get_check_edit_form(check_class)

get the form to edit a Check

login()

login

logout()

logout

reset_req()

Reset password request handling.

reset([token])

Reset password submit form handling.

api_summary([content_type])

Get health summary for all Resources within this instance.

api_probes_avail([resource_type, resource_id])

Get available (configured) Probes for this

api_runs(resource_id[, run_id, content_type])

Get Runs (History of results) for Resource.

9.1.2.1.1.2. Attributes

LOGGER

APP

CONFIG

DB

BABEL

MIGRATE

LOGIN_MANAGER

LANGUAGES

HOST

GeoHealthCheck.app.LOGGER
GeoHealthCheck.app.APP
GeoHealthCheck.app.CONFIG
GeoHealthCheck.app.DB
GeoHealthCheck.app.BABEL
GeoHealthCheck.app.MIGRATE
GeoHealthCheck.app.LOGIN_MANAGER
GeoHealthCheck.app.LANGUAGES = (('en', 'English'), ('fr', 'Français'), ('de', 'German'), ('nl_NL', 'Nederlands (Nederland)'),...
GeoHealthCheck.app.db_commit()
GeoHealthCheck.app.before_request()
GeoHealthCheck.app.public_route(decorated_function)
GeoHealthCheck.app.shutdown_session(exception=None)
GeoHealthCheck.app.get_locale()
GeoHealthCheck.app.load_user(identifier)
GeoHealthCheck.app.unauthorized_callback()
GeoHealthCheck.app.load_user_from_request(request)
GeoHealthCheck.app.cssize_reliability(value, css_type=None)

returns CSS button class snippet based on score

GeoHealthCheck.app.cssize_reliability2(value)

returns CSS panel class snippet based on score

GeoHealthCheck.app.round2(value)

rounds a number to 2 decimal places except for values of 0 or 100

GeoHealthCheck.app.context_processors()

global context processors for templates

GeoHealthCheck.app.home()

homepage

GeoHealthCheck.app.export()

export resource list as JSON

GeoHealthCheck.app.opensearch()

generate OpenSearch description document

GeoHealthCheck.app.export_resource(identifier)

export resource as JSON or CSV

GeoHealthCheck.app.export_resource_history(identifier)

export resource history as JSON or CSV

GeoHealthCheck.app.settings()

settings

GeoHealthCheck.app.resources()

lists resources with optional filter

GeoHealthCheck.app.get_resource_by_id(identifier)

show resource

GeoHealthCheck.app.register()

register a new user

GeoHealthCheck.app.add()

add resource

GeoHealthCheck.app.update(resource_identifier)

update a resource

GeoHealthCheck.app.test(resource_identifier)

test a resource

GeoHealthCheck.app.edit_resource(resource_identifier)

edit a resource

GeoHealthCheck.app.delete(resource_identifier)

delete a resource

GeoHealthCheck.app.get_probe_edit_form(probe_class, resource_identifier=None)

get the form to edit a Probe

GeoHealthCheck.app.get_check_edit_form(check_class)

get the form to edit a Check

GeoHealthCheck.app.login()

login

GeoHealthCheck.app.logout()

logout

GeoHealthCheck.app.reset_req()

Reset password request handling.

GeoHealthCheck.app.reset(token=None)

Reset password submit form handling.

GeoHealthCheck.app.api_summary(content_type='json')

Get health summary for all Resources within this instance.

GeoHealthCheck.app.api_probes_avail(resource_type=None, resource_id=None)

Get available (configured) Probes for this installation, optional for resource type

GeoHealthCheck.app.api_runs(resource_id, run_id=None, content_type='json')

Get Runs (History of results) for Resource.

GeoHealthCheck.app.HOST = '0.0.0.0'