The aodh.api.hooks Module

The aodh.api.hooks Module

class aodh.api.hooks.ConfigHook(conf)[source]

Bases: pecan.hooks.PecanHook

Attach the configuration and policy enforcer object to the request.

That allows controllers to get it.

before(state)[source]
class aodh.api.hooks.DBHook(alarm_conn)[source]

Bases: pecan.hooks.PecanHook

before(state)[source]
class aodh.api.hooks.TranslationHook[source]

Bases: pecan.hooks.PecanHook

after(state)[source]
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.