keystone/keystone/identity
Pavlo Shchelokovskyy 0153ab781d Filter by entity_type in get_domain_mapping_list
with many users and groups in a domain fetching all mappings (for both
users and groups) may become inefficient.

In an environment with approx 125k users and 150 groups in the mapping
table and SAML2+LDAP auth/backend, this patch reduced the time
for first (uncached) 'openstack token issue' command from 12 to 3 seconds.
Similar improvements were seen with time to login to Horizon as well.

Change-Id: Iccbef534ff7e723f8b1461bb1169e2da66cc1dea
Closes-Bug: #1775207
(cherry picked from commit 4abd9926ab)
2020-11-10 17:29:02 -03:00
..
backends Revert "Fix python3 compatibility on LDAP search DN from id" 2019-10-30 08:51:24 -04:00
id_generators Replace six iteration methods with standard ones 2016-09-08 18:56:31 +08:00
mapping_backends Filter by entity_type in get_domain_mapping_list 2020-11-10 17:29:02 -03:00
shadow_backends Delete shadow users when domain is deleted 2019-04-02 15:46:46 +00:00
__init__.py Remove exposure of routers at package level 2015-12-03 15:06:56 -03:00
controllers.py Use keystone.common.provider_api for identity APIs 2017-12-27 18:44:06 +00:00
core.py Filter by entity_type in get_domain_mapping_list 2020-11-10 17:29:02 -03:00
generator.py Remove Dependency Injection 2017-12-13 10:59:39 -08:00
routers.py Remove v2.0 identity APIs 2017-09-29 20:42:12 +00:00
schema.py Remove v2 schema and validation tests 2017-10-19 17:20:47 -05:00