diff options
author | asteroide <thomas.duval@orange.com> | 2015-07-09 11:05:46 +0200 |
---|---|---|
committer | asteroide <thomas.duval@orange.com> | 2015-07-09 11:05:46 +0200 |
commit | 7431cf0b277b34325dee4002ee18b54c89417963 (patch) | |
tree | 2f99a2d34065a2450a7f00aa04af3bbb1c86e0a2 | |
parent | e1dbe5fb59671069ac69fb44fdfd1e9bef71bcaa (diff) |
Add which exceptions must be raised in get_[item]_category_assignment_dict.
Change-Id: Ia2a7710a686a4dd096ee2f429af9ca18b1db9b6e
-rw-r--r-- | keystone-moon/keystone/contrib/moon/core.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/keystone-moon/keystone/contrib/moon/core.py b/keystone-moon/keystone/contrib/moon/core.py index 28f8c0d1..3bf3a13d 100644 --- a/keystone-moon/keystone/contrib/moon/core.py +++ b/keystone-moon/keystone/contrib/moon/core.py @@ -1951,6 +1951,7 @@ class IntraExtensionDriver(object): :param subject_uuid: subject UUID :type subject_uuid: string :return: a dictionary of assignment for the given subject {"cat1": ["scope_uuid1", "scope_uuid2"]} + :raises: IntraExtensionNotFound, SubjectUnknown, SubjectCategoryAssignmentUnknown, SubjectCategoryAssignmentOutOfScope """ raise exception.NotImplemented() # pragma: no cover @@ -2007,6 +2008,7 @@ class IntraExtensionDriver(object): :param object_uuid: object UUID :type object_uuid: string :return: a dictionary of assignment for the given object {"cat1": ["scope_uuid1", "scope_uuid2"]} + :raises: IntraExtensionNotFound, ObjectUnknown, ObjectCategoryAssignmentUnknown, ObjectCategoryAssignmentOutOfScope """ raise exception.NotImplemented() # pragma: no cover @@ -2063,6 +2065,7 @@ class IntraExtensionDriver(object): :param action_uuid: action UUID :type action_uuid: string :return: a dictionary of assignment for the given action {"cat1": ["scope_uuid1", "scope_uuid2"]} + :raises: IntraExtensionNotFound, ActionUnknown, ActionCategoryAssignmentUnknown, ActionCategoryAssignmentOutOfScope """ raise exception.NotImplemented() # pragma: no cover |