keystone/keystone
Morgan Fainberg 6f1079586e Do not call `to_dict` outside of a session context
Do not call `to_dict` outside of a session context as if to_dict
interacts with lazy-loaded relationships it can cause errors. For
the most part these are edge-cases and unlikely to happen.

A couple FIXMEs were added to restructure the calls to allow for
`to_dict` to be moved into a method that will act within a session
context.

Change-Id: I769c2cdea1b08a780093d27cdc70bce9f004017b
2017-01-25 06:12:20 +00:00
..
assignment Refactors _get_names_from_role_assignments 2016-12-13 20:32:57 +00:00
auth Merge "Implement federated auto-provisioning" 2017-01-19 20:44:35 +00:00
catalog Do not call `to_dict` outside of a session context 2017-01-25 06:12:20 +00:00
cmd Fix keystone-manage mapping_engine tester 2017-01-12 05:50:43 +00:00
common Merge "Drop type in filters" 2017-01-17 06:41:50 +00:00
conf Remove LDAP write support 2017-01-21 21:32:07 -05:00
contrib Remove metadata from token provider 2016-11-20 12:44:45 +00:00
credential log.error use _ of i18n 2016-10-25 10:35:43 +08:00
endpoint_policy Merge "Create unit tests for endpoint policy drivers" 2016-11-10 13:45:23 +00:00
federation Implement federated auto-provisioning 2017-01-19 16:58:08 +00:00
identity Do not call `to_dict` outside of a session context 2017-01-25 06:12:20 +00:00
locale Imported Translations from Zanata 2016-10-15 06:59:46 +00:00
middleware Merge "Add is_admin_project to policy dict" 2016-10-14 15:59:07 +00:00
models Fix cloud_admin rule and ensure only project tokens can be cloud admin 2016-12-23 09:31:08 +00:00
oauth1 Do not call `to_dict` outside of a session context 2017-01-25 06:12:20 +00:00
policy Merge "Pass initiator to Manager as a kwarg" 2016-10-09 02:57:43 +00:00
resource Remove LDAP write support 2017-01-21 21:32:07 -05:00
revoke Do not call `to_dict` outside of a session context 2017-01-25 06:12:20 +00:00
server Implement encryption of credentials at rest 2016-09-02 04:25:49 +00:00
tests Do not call `to_dict` outside of a session context 2017-01-25 06:12:20 +00:00
token Do not call `to_dict` outside of a session context 2017-01-25 06:12:20 +00:00
trust Remove eventlet-related call to sleep 2016-11-24 12:43:18 +00:00
v2_crud Move V2TokenDataHelper to the v2.0 controller 2016-12-08 22:57:45 +00:00
version Bump API version and date 2017-01-09 16:51:33 -08:00
__init__.py Revert "Disable eventlet monkey-patching of DNS" 2013-05-10 10:24:48 -04:00
exception.py Merge "Implement federated auto-provisioning" 2017-01-19 20:44:35 +00:00
i18n.py Change oslo.i18n to oslo_i18n 2015-02-09 18:10:07 -06:00
notifications.py Remove unused exceptions from CADF notifications 2017-01-04 18:11:30 +00:00