Move auth and osprofiler to middleware folder

Now we have keystone and osprofiler middleware, and we will add
cors middleware next. So it's better to move them to a common
folder. Then they can be mantained and read easily.

Change-Id: Ic7e365860a29adaf9cbde665c16986262cff5f2b
Implements: blueprint support-cors
This commit is contained in:
wangxiyuan 2017-02-21 15:03:15 -05:00
parent a4844f2540
commit 8124ef0e71
8 changed files with 14 additions and 14 deletions

View File

@ -1,7 +0,0 @@
The :mod:`zaqar.transport.auth` module
=======================================
.. automodule:: zaqar.transport.auth
:members:
:undoc-members:
:show-inheritance:

View File

@ -0,0 +1,7 @@
The :mod:`zaqar.transport.middleware.auth` module
=================================================
.. automodule:: zaqar.transport.middleware.auth
:members:
:undoc-members:
:show-inheritance:

View File

@ -26,11 +26,11 @@ from zaqar.common import configs
from zaqar.common import consts
from zaqar.common import decorators
from zaqar.common import errors
from zaqar import profile
from zaqar.storage import pipeline
from zaqar.storage import pooling
from zaqar.storage import utils as storage_utils
from zaqar.transport import base
from zaqar.transport.middleware import profile
from zaqar.transport import validation
from zaqar.i18n import _LE

View File

View File

@ -25,8 +25,8 @@ except ImportError:
from zaqar.common import decorators
from zaqar.i18n import _
from zaqar.transport import auth
from zaqar.transport import base
from zaqar.transport.middleware import auth
from zaqar.transport.websocket import factory

View File

@ -14,22 +14,22 @@
# limitations under the License.
from distutils import version as d_version
import falcon
import six
import socket
from wsgiref import simple_server
import falcon
from oslo_config import cfg
from oslo_log import log as logging
from oslo_utils import netutils
import six
import socket
from zaqar.common import decorators
from zaqar.common.transport.wsgi import helpers
from zaqar.i18n import _
from zaqar import profile
from zaqar import transport
from zaqar.transport import acl
from zaqar.transport import auth
from zaqar.transport.middleware import auth
from zaqar.transport.middleware import profile
from zaqar.transport import validation
from zaqar.transport.wsgi import v1_0
from zaqar.transport.wsgi import v1_1