deb-keystone/keystone
Juan Antonio Osorio 820e4f153a Refactor create_trust for readability
I refactored the create_trust function in the keystone.trust.controllers
module in order to make it more readable. In addition, the function will
now check for all the required attributes in the request and return an
appropriate error message if any of them is missing or is empty.

Change-Id: I6f988a34e17e821b4a8544bec516845665ba2674
2014-05-06 12:56:40 +03:00
..
assignment Some methods in ldap were moved to superclass 2014-04-28 09:55:35 +04:00
auth Adding one more check on project_id 2014-04-15 18:38:33 +00:00
catalog Merge "Allow 'description' in V3 Regions to be optional" 2014-05-02 03:50:33 +00:00
common Refactor create_trust for readability 2014-05-06 12:56:40 +03:00
contrib More random values for oAuth1 verifier 2014-04-30 17:10:53 +02:00
credential Fixed some typos throughout the codebase 2014-05-01 07:16:02 -07:00
hacking Fixed some typos throughout the codebase 2014-05-01 07:16:02 -07:00
identity Some methods in ldap were moved to superclass 2014-04-28 09:55:35 +04:00
locale Imported Translations from Transifex 2014-04-24 06:01:09 +00:00
middleware Fixed the size limit tests in Python 3 2014-05-05 11:27:42 +00:00
openstack Merge "Refactor service readiness notification" 2014-05-02 20:07:38 +00:00
policy Removes unused db_sync methods 2014-04-02 20:15:40 +00:00
tests Refactor create_trust for readability 2014-05-06 12:56:40 +03:00
token Ensure token is a string 2014-05-01 14:56:16 -04:00
trust Refactor create_trust for readability 2014-05-06 12:56:40 +03:00
__init__.py Revert "Disable eventlet monkey-patching of DNS" 2013-05-10 10:24:48 -04:00
backends.py Isolate backend loading 2014-04-16 15:13:20 +10:00
clean.py Uses explicit imports for _ 2014-03-18 01:23:21 -07:00
cli.py Token Revocation Extension 2014-03-04 13:42:28 -05:00
config.py Merge "Remove vim header" 2014-02-13 03:43:19 +00:00
controllers.py Merge "Add a space after the hash for block comments" 2014-03-27 02:16:20 +00:00
exception.py List all forbidden attributes in the request body. 2014-04-07 16:56:27 +02:00
notifications.py Refactor notifications 2014-04-24 23:08:30 -07:00
routers.py Remove vim header 2014-02-08 23:54:04 +08:00
service.py Isolate backend loading 2014-04-16 15:13:20 +10:00