API

API Middleware

class designate.api.middleware.APIv1ValidationErrorMiddleware(application)[source]

Bases: designate.api.middleware.ValidationErrorMiddleware

class designate.api.middleware.APIv2ValidationErrorMiddleware(application)[source]

Bases: designate.api.middleware.ValidationErrorMiddleware

class designate.api.middleware.ContextMiddleware(application, conf=None)[source]

Bases: oslo_middleware.base.Middleware

make_context(request, *args, **kwargs)[source]
class designate.api.middleware.FaultWrapperMiddleware(application)[source]

Bases: oslo_middleware.base.Middleware

class designate.api.middleware.FaultWrapperMiddlewareV1(application)[source]

Bases: designate.api.middleware.FaultWrapperMiddleware

class designate.api.middleware.KeystoneContextMiddleware(application)[source]

Bases: designate.api.middleware.ContextMiddleware

process_request(request)[source]
class designate.api.middleware.MaintenanceMiddleware(application)[source]

Bases: oslo_middleware.base.Middleware

process_request(request)[source]
class designate.api.middleware.NoAuthContextMiddleware(application)[source]

Bases: designate.api.middleware.ContextMiddleware

process_request(request)[source]
class designate.api.middleware.NormalizeURIMiddleware(application, conf=None)[source]

Bases: oslo_middleware.base.Middleware

class designate.api.middleware.SSLMiddleware(application)[source]

Bases: oslo_middleware.base.Middleware

A middleware that replaces the request wsgi.url_scheme environment variable with the value of HTTP header configured in secure_proxy_ssl_header if exists in the incoming request. This is useful if the server is behind a SSL termination proxy.

Code nabbed from Heat.

process_request(request)[source]
class designate.api.middleware.TestContextMiddleware(application, tenant_id=None, user_id=None)[source]

Bases: designate.api.middleware.ContextMiddleware

process_request(request)[source]
class designate.api.middleware.ValidationErrorMiddleware(application)[source]

Bases: oslo_middleware.base.Middleware

designate.api.middleware.auth_pipeline_factory(loader, global_conf, **local_conf)[source]

A paste pipeline replica that keys off of auth_strategy.

Code nabbed from cinder.

API Service

class designate.api.service.Service(threads=None)[source]

Bases: designate.service.WSGIService, designate.service.Service

service_name[source]
start()[source]

Table Of Contents

Previous topic

Source code documentation

Next topic

Backend

Project Source

This Page