diff options
| author | Adam Gandelman <adamg@canonical.com> | 2012-03-13 16:23:45 -0700 |
|---|---|---|
| committer | Adam Gandelman <adamg@canonical.com> | 2012-03-14 11:30:02 -0700 |
| commit | 9363d5fea676e1e083c5afe5287ef30c806046bf (patch) | |
| tree | 9be554108ab100c0f645a92d770b661ed2cdb261 /doc/source | |
| parent | acc9f892b36aa7315ac84d1e7f6506a6fea9fbad (diff) | |
Properly return 501 for unsupported Catalog calls
Similar to the other APIs, this creates a Driver class that describes
expected functionality of the catalog driver and raises NotImplemented
accordingly. NotImplementedError()'s are caught and returned as proper
501s instead of AttributeErrors.
Also fixes some inconsistent paramters names in the sql backend.
Fixes bug 954087
Update: Convert usage of NotImplementedError() to new
keystone.exception.NotImplemented() for all
unimplemented driver actions.
Change-Id: I69d8e21a6f651e69b724ec5ed5784645bad80c00
Diffstat (limited to 'doc/source')
| -rw-r--r-- | doc/source/architecture.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/architecture.rst b/doc/source/architecture.rst index 97a68f4c..cbd2f40a 100644 --- a/doc/source/architecture.rst +++ b/doc/source/architecture.rst @@ -207,7 +207,7 @@ variety of CRUD operations are provided for the sake of development and testing. CRUD is treated as an extension or additional feature to the core feature set in that it is not required that a backend support it. It is expected that backends for services that don't support the CRUD operations will raise a -:mod:`NotImplementedError`. +:mod:`keystone.exception.NotImplemented`. ---------------------------------- |
