summaryrefslogtreecommitdiffstats
path: root/keystone/contrib/admin_crud/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'keystone/contrib/admin_crud/core.py')
-rw-r--r--keystone/contrib/admin_crud/core.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/keystone/contrib/admin_crud/core.py b/keystone/contrib/admin_crud/core.py
index c06afcf7..f98397ae 100644
--- a/keystone/contrib/admin_crud/core.py
+++ b/keystone/contrib/admin_crud/core.py
@@ -14,10 +14,31 @@
# License for the specific language governing permissions and limitations
# under the License.
from keystone import catalog
+from keystone.common import extension
from keystone.common import wsgi
from keystone import identity
+extension.register_admin_extension(
+ 'OS-KSADM', {
+ 'name': 'OpenStack Keystone Admin',
+ 'namespace': 'http://docs.openstack.org/identity/api/ext/'
+ 'OS-KSADM/v1.0',
+ 'alias': 'OS-KSADM',
+ 'updated': '2013-07-11T17:14:00-00:00',
+ 'description': 'OpenStack extensions to Keystone v2.0 API '
+ 'enabling Administrative Operations.',
+ 'links': [
+ {
+ 'rel': 'describedby',
+ # TODO(dolph): link needs to be revised after
+ # bug 928059 merges
+ 'type': 'text/html',
+ 'href': 'https://github.com/openstack/identity-api',
+ }
+ ]})
+
+
class CrudExtension(wsgi.ExtensionRouter):
"""Previously known as the OS-KSADM extension.