The heat.api.openstack.v1.util Module

heat.api.openstack.v1.util.identified_resource(handler)[source]

Decorator for a handler method that passes a resource identifier in place of the various path components.

heat.api.openstack.v1.util.identified_stack(handler)[source]

Decorator for a handler method that passes a stack identifier in place of the various path components.

Return a link structure for the supplied identity dictionary.

heat.api.openstack.v1.util.make_url(req, identity)[source]

Return the URL for the supplied identity dictionary.

heat.api.openstack.v1.util.remote_error(ex)[source]

Map rpc_common.RemoteError exceptions returned by the engine to webob exceptions which can be used to return properly formatted error responses.

heat.api.openstack.v1.util.tenant_local(handler)[source]

Decorator for a handler method that sets the correct tenant_id in the request context.

This Page