diff options
| author | Dan Prince <dan.prince@rackspace.com> | 2012-01-26 10:49:06 -0500 |
|---|---|---|
| committer | Dan Prince <dan.prince@rackspace.com> | 2012-01-26 12:23:43 -0500 |
| commit | 65b480c3ca9708baea0779f3f91d533499d7463d (patch) | |
| tree | 1e34ca1cb5fd3572e639d1df037a71af66a9cdbb /nova/api | |
| parent | 6142230ccf2555650dbb902a5c342a342e9b2582 (diff) | |
| download | nova-65b480c3ca9708baea0779f3f91d533499d7463d.tar.gz nova-65b480c3ca9708baea0779f3f91d533499d7463d.tar.xz nova-65b480c3ca9708baea0779f3f91d533499d7463d.zip | |
Remove LazySerializationMiddleware.
Removes LazySerializationMiddleware and ExtensionMiddleware. They
are no longer in use.
Fixes LP Bug# 922152.
Change-Id: Icd0b54d474d807125f522965de0d89741b14cf2f
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/openstack/compute/extensions.py | 11 | ||||
| -rw-r--r-- | nova/api/openstack/extensions.py | 12 | ||||
| -rw-r--r-- | nova/api/openstack/volume/extensions.py | 11 | ||||
| -rw-r--r-- | nova/api/openstack/wsgi.py | 12 |
4 files changed, 0 insertions, 46 deletions
diff --git a/nova/api/openstack/compute/extensions.py b/nova/api/openstack/compute/extensions.py index f5ebdfee9..4789890c7 100644 --- a/nova/api/openstack/compute/extensions.py +++ b/nova/api/openstack/compute/extensions.py @@ -31,14 +31,3 @@ class ExtensionManager(base_extensions.ExtensionManager): self.cls_list = FLAGS.osapi_compute_extension self.extensions = {} self._load_extensions() - - -class ExtensionMiddleware(base_extensions.ExtensionMiddleware): - """Extensions middleware for WSGI. - - Provided only for backwards compatibility with existing - api-paste.ini files. This middleware will be removed in future - versions of nova. - """ - - pass diff --git a/nova/api/openstack/extensions.py b/nova/api/openstack/extensions.py index b40920f40..417979f90 100644 --- a/nova/api/openstack/extensions.py +++ b/nova/api/openstack/extensions.py @@ -174,18 +174,6 @@ class ExtensionsResource(wsgi.Resource): raise webob.exc.HTTPNotFound() -@utils.deprecated("The extension middleware is no longer necessary.") -class ExtensionMiddleware(base_wsgi.Middleware): - """Extensions middleware for WSGI. - - Provided only for backwards compatibility with existing - api-paste.ini files. This middleware will be removed in future - versions of nova. - """ - - pass - - class ExtensionManager(object): """Load extensions from the configured extension path. diff --git a/nova/api/openstack/volume/extensions.py b/nova/api/openstack/volume/extensions.py index eccac660e..f07420182 100644 --- a/nova/api/openstack/volume/extensions.py +++ b/nova/api/openstack/volume/extensions.py @@ -31,14 +31,3 @@ class ExtensionManager(base_extensions.ExtensionManager): self.cls_list = FLAGS.osapi_volume_extension self.extensions = {} self._load_extensions() - - -class ExtensionMiddleware(base_extensions.ExtensionMiddleware): - """Extensions middleware for WSGI. - - Provided only for backwards compatibility with existing - api-paste.ini files. This middleware will be removed in future - versions of nova. - """ - - pass diff --git a/nova/api/openstack/wsgi.py b/nova/api/openstack/wsgi.py index 26f6cc97f..50f693f49 100644 --- a/nova/api/openstack/wsgi.py +++ b/nova/api/openstack/wsgi.py @@ -337,18 +337,6 @@ class XMLDictSerializer(DictSerializer): return etree.tostring(root, encoding='UTF-8', xml_declaration=True) -@utils.deprecated("The lazy serialization middleware is no longer necessary.") -class LazySerializationMiddleware(wsgi.Middleware): - """Lazy serialization middleware. - - Provided only for backwards compatibility with existing - api-paste.ini files. This middleware will be removed in future - versions of nova. - """ - - pass - - def serializers(**serializers): """Attaches serializers to a method. |
