Use oslo.middleware

Remove outdated code and replace its usages by usages of oslo.middleware
library

Sync latest request_id middleware from oslo-incubator(only to allow
grenade jobs pass)

4ffc4c8 Add middleware.request_id shim for Kilo
4504e4f Remove middleware

Co-Authored-By: Abhishek Chanda <abhishek@cloudscaling.com>
Co-Authored-By: Davanum Srinivas <dims@linux.vnet.ibm.com>

Change-Id: I89ef3df1b8d3b2c6e391d04e89e35f2ee974a3cc
This commit is contained in:
Eugeniya Kudryashova
2014-10-24 15:21:11 +03:00
committed by Davanum Srinivas
parent 47468651bd
commit 4e63a3b34d
7 changed files with 10 additions and 82 deletions

View File

@@ -17,6 +17,7 @@ Common Auth Middleware.
"""
from oslo.config import cfg
from oslo.middleware import request_id
from oslo.serialization import jsonutils
import webob.dec
import webob.exc
@@ -25,7 +26,6 @@ from nova import context
from nova.i18n import _
from nova.i18n import _LW
from nova.openstack.common import log as logging
from nova.openstack.common.middleware import request_id
from nova import wsgi