- Primary Maintainer:
- Other Contributors:
The new oslo.middleware library will provide a common library for wsgi middleware currently contained in oslo-incubator.
oslo.middleware library provides access to the following middleware (‘middleware’ suffix will be dropped from original naming):
To utilise the new middleware, after including oslo.middleware library, projects can declare the new middleware in wsgi pipeline as such:
paste.filter_factory = oslo.middleware:<ClassName>.factory
Target Milestone for completion: Juno-3
add deprecated decorator to current incubator classes
drop middleware suffix from class names
import middleware classes into middleware/__init__.py
audit middleware will not be included. it will be included in keystonemiddleware as part of keystone’s adoption of audit
notifier middleware will not be included. it will be included in oslo.messaging to minimise dependencies in oslo.middleware.
General use of middleware remains the same. The only change in usage would be to reference middlware in oslo.middleware library rather than openstack/common.
A deprecated decorator will be added to existing incubator classes so when the incubator version is used, log will notify of current oslo.middleware version.
This work is licensed under a Creative Commons Attribution 3.0 Unported License. http://creativecommons.org/licenses/by/3.0/legalcode