keystone/keystone/tests
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
..
common Add application credential auth plugin 2018-01-27 12:00:19 +01:00
functional Fix a few spelling mistakes 2016-06-24 02:53:48 +00:00
hacking Remove duplicated hacking rule 2017-06-28 07:48:03 +00:00
unit Filter by entity_type in get_domain_mapping_list 2020-11-10 17:29:02 -03:00
__init__.py Move existing tests to unit 2015-02-13 15:54:29 -06:00