diff --git a/templates/api-paste.ini.j2 b/templates/api-paste.ini.j2 index b899d46..41e840d 100644 --- a/templates/api-paste.ini.j2 +++ b/templates/api-paste.ini.j2 @@ -1,7 +1,6 @@ [composite:osapi_dns] use = egg:Paste#urlmap /: osapi_dns_versions -/v1: osapi_dns_v1 /v2: osapi_dns_v2 /admin: osapi_dns_admin @@ -13,14 +12,6 @@ keystone = http_proxy_to_wsgi cors maintenance faultwrapper osapi_dns_app_versio [app:osapi_dns_app_versions] paste.app_factory = designate.api.versions:factory -[composite:osapi_dns_v1] -use = call:designate.api.middleware:auth_pipeline_factory -noauth = http_proxy_to_wsgi cors request_id noauthcontext maintenance validation_API_v1 faultwrapper_v1 normalizeuri osapi_dns_app_v1 -keystone = http_proxy_to_wsgi cors request_id authtoken keystonecontext maintenance validation_API_v1 faultwrapper_v1 normalizeuri osapi_dns_app_v1 - - -[app:osapi_dns_app_v1] -paste.app_factory = designate.api.v1:factory [composite:osapi_dns_v2] use = call:designate.api.middleware:auth_pipeline_factory @@ -66,11 +57,5 @@ paste.filter_factory = designate.api.middleware:NormalizeURIMiddleware.factory [filter:faultwrapper] paste.filter_factory = designate.api.middleware:FaultWrapperMiddleware.factory -[filter:faultwrapper_v1] -paste.filter_factory = designate.api.middleware:FaultWrapperMiddlewareV1.factory - -[filter:validation_API_v1] -paste.filter_factory = designate.api.middleware:APIv1ValidationErrorMiddleware.factory - [filter:validation_API_v2] paste.filter_factory = designate.api.middleware:APIv2ValidationErrorMiddleware.factory