summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorKevin L. Mitchell <kevin.mitchell@rackspace.com>2012-01-19 16:20:04 -0600
committerKevin L. Mitchell <kevin.mitchell@rackspace.com>2012-01-19 16:20:04 -0600
commited1e6d792c5b37576640acd3e174c8a733c96b61 (patch)
treee79b7b0b317e796ae6c8188c567e1452f59f0a38 /etc
parent4f204a6d75f2d48608aeeafae20ab3bf8cbadf73 (diff)
Remove deprecated extension code.
The recent extensions refactoring (blueprint extension-refactor) deprecated ActionExtension and RequestExtension, replacing them with ControllerExtension. This patch completes the deprecation by removing those classes and all related support infrastructure, including ExtensionMiddleware and LazySerializationMiddleware. (The classes remain, as deprecated do-nothing stubs, for compatibility with existing api-paste.ini files.) Change-Id: I8272ac3cf432813d749db67b2e1ad1a72abbb784
Diffstat (limited to 'etc')
-rw-r--r--etc/nova/api-paste.ini15
1 files changed, 3 insertions, 12 deletions
diff --git a/etc/nova/api-paste.ini b/etc/nova/api-paste.ini
index c2de4b484..199fcf6f9 100644
--- a/etc/nova/api-paste.ini
+++ b/etc/nova/api-paste.ini
@@ -90,12 +90,12 @@ use = call:nova.api.openstack.urlmap:urlmap_factory
/v1: openstack_volume_api_v1
[pipeline:openstack_compute_api_v2]
-pipeline = faultwrap noauth ratelimit serialize compute_extensions osapi_compute_app_v2
+pipeline = faultwrap noauth ratelimit osapi_compute_app_v2
# NOTE(vish): use the following pipeline for deprecated auth
-# pipeline = faultwrap auth ratelimit serialize extensions osapi_compute_app_v2
+# pipeline = faultwrap auth ratelimit osapi_compute_app_v2
[pipeline:openstack_volume_api_v1]
-pipeline = faultwrap noauth ratelimit serialize volume_extensions osapi_volume_app_v1
+pipeline = faultwrap noauth ratelimit osapi_volume_app_v1
[filter:faultwrap]
paste.filter_factory = nova.api.openstack:FaultWrapper.factory
@@ -109,15 +109,6 @@ paste.filter_factory = nova.api.openstack.auth:NoAuthMiddleware.factory
[filter:ratelimit]
paste.filter_factory = nova.api.openstack.compute.limits:RateLimitingMiddleware.factory
-[filter:serialize]
-paste.filter_factory = nova.api.openstack.wsgi:LazySerializationMiddleware.factory
-
-[filter:compute_extensions]
-paste.filter_factory = nova.api.openstack.compute.extensions:ExtensionMiddleware.factory
-
-[filter:volume_extensions]
-paste.filter_factory = nova.api.openstack.volume.extensions:ExtensionMiddleware.factory
-
[app:osapi_compute_app_v2]
paste.app_factory = nova.api.openstack.compute:APIRouter.factory