summaryrefslogtreecommitdiffstats
path: root/keystone/routers.py
diff options
context:
space:
mode:
authorDolph Mathews <dolph.mathews@gmail.com>2012-12-19 10:04:21 -0600
committerDolph Mathews <dolph.mathews@gmail.com>2012-12-21 11:57:44 -0600
commit03eb2801a3ad38a39e9cf127c05ab710bf38ee1d (patch)
treec91ae80657c574cabcecf5abfa78f3940392c517 /keystone/routers.py
parentac2d92ca2eea1070f765be320acb62fd5bef6dd3 (diff)
downloadkeystone-03eb2801a3ad38a39e9cf127c05ab710bf38ee1d.tar.gz
keystone-03eb2801a3ad38a39e9cf127c05ab710bf38ee1d.tar.xz
keystone-03eb2801a3ad38a39e9cf127c05ab710bf38ee1d.zip
Driver registry
Uses automatic dependency injection to provide controllers with driver interfaces (identity_api, token_api, etc). See tests/test_injection.py for a self-contained example. Change-Id: I255087de534292fbf57a45b19f97488f831f607c
Diffstat (limited to 'keystone/routers.py')
-rw-r--r--keystone/routers.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/keystone/routers.py b/keystone/routers.py
index fa980c2c..83f277dd 100644
--- a/keystone/routers.py
+++ b/keystone/routers.py
@@ -14,17 +14,18 @@
# License for the specific language governing permissions and limitations
# under the License.
"""
-The only types of routers in this file should be ComposingRouters.
-The routers for the submodules should be in the module specific router files
-for example, the Composable Router for identity belongs in
-keystone/identity/routers.py
+The only types of routers in this file should be ``ComposingRouters``.
+
+The routers for the backends should be in the backend-specific router modules.
+For example, the ``ComposableRouter`` for ``identity`` belongs in::
+
+ keystone.identity.routers
+
"""
from keystone.common import wsgi
-from keystone import catalog
from keystone import controllers
-from keystone import exception
class Extension(wsgi.ComposableRouter):