ump.main#

Attributes#

Functions#

cleanup()

Cleans up jobs and Geoserver layers of anonymous users

handle_ogc_exception(error)

check_jwt()

Decodes the JWT token and runs pending scheduled jobs

set_headers(response)

handle_invalid_usage(error)

handle_http_exception(error)

Return JSON instead of HTML for HTTP errors.

shutdown_pool_on_exit()

Close the connection pool when the application shuts down.

Module Contents#

ump.main.cleanup()#

Cleans up jobs and Geoserver layers of anonymous users

ump.main.app#
ump.main.db#
ump.main.migrate#
ump.main.api#
ump.main.keycloak_openid#
ump.main.handle_ogc_exception(error: ump.errors.OGCProcessException)#
ump.main.check_jwt()#

Decodes the JWT token and runs pending scheduled jobs

ump.main.set_headers(response)#
ump.main.handle_invalid_usage(error)#
ump.main.handle_http_exception(error)#

Return JSON instead of HTML for HTTP errors.

ump.main.shutdown_pool_on_exit()#

Close the connection pool when the application shuts down.