- 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):
* CatchErrors * CorrelationId * Debug * RequestId * RequestBodySizeLimiter
To utilise the new middleware, after including oslo.middleware library, projects can declare the new middleware in wsgi pipeline as such:
[filter:<middleware>] paste.filter_factory = oslo.middleware:<ClassName>.factory
Target Milestone for completion: Juno-3
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