python-openstackclient/openstackclient/identity/v3
Anton Frolov f6f5ce03c5 Optimize getting endpoint list
Currently ListEndpoint.take_action method unconditionally iterates
over all endpoints and issue GET /v3/services/<ep.service_id>
request for each endpoint. In case of HTTPS keystone endpoint this
can take significant amout of time, and it only getting worse in
case of multiple regions.

This commit change this logic to making just two GET requests: first
it gets endpoint list, then it gets service list, searching service
in the list instead of issuing GET /v3/services/<id> request.

Change-Id: I22b61c0b45b0205a2f5a4608c2473cb7814fe3cf
Closes-Bug: 1719413
2017-09-26 14:31:07 -07:00
..
__init__.py Remove copyright from empty files 2014-01-20 17:28:13 +04:00
catalog.py translate all command help strings 2016-11-17 02:33:42 +00:00
consumer.py Handle log message interpolation by the logger in identity/ 2017-02-13 17:38:30 +01:00
credential.py Add optional parameter "user_id" and "type" to list credentials 2017-07-25 09:56:50 -05:00
domain.py Handle log message interpolation by the logger in identity/ 2017-02-13 17:38:30 +01:00
ec2creds.py Handle log message interpolation by the logger in identity/ 2017-02-13 17:38:30 +01:00
endpoint.py Optimize getting endpoint list 2017-09-26 14:31:07 -07:00
federation_protocol.py Handle log message interpolation by the logger in identity/ 2017-02-13 17:38:30 +01:00
group.py Support to add/remove multi users for "group add/remove user" 2017-03-21 10:39:42 +08:00
identity_provider.py Add domain parameter to Identity Provider 2017-07-21 11:28:57 -04:00
implied_role.py Implied Roles 2017-08-22 17:08:30 +00:00
mapping.py Handle log message interpolation by the logger in identity/ 2017-02-13 17:38:30 +01:00
policy.py Handle log message interpolation by the logger in identity/ 2017-02-13 17:38:30 +01:00
project.py Merge "Use *_as_ids instead *_as_list" 2017-07-26 03:58:57 +00:00
region.py Handle log message interpolation by the logger in identity/ 2017-02-13 17:38:30 +01:00
role_assignment.py Use _get_token_resource in role assignment list 2017-05-23 17:16:41 +02:00
role.py Modify error handling for role and group commands 2017-02-09 19:49:55 +08:00
service_provider.py Handle log message interpolation by the logger in identity/ 2017-02-13 17:38:30 +01:00
service.py Handle log message interpolation by the logger in identity/ 2017-02-13 17:38:30 +01:00
token.py TrivialFix in helpMessage for readability 2016-11-23 02:58:26 +08:00
trust.py When creating a trust, send role_ids instead or role_names 2017-06-22 17:08:01 +00:00
unscoped_saml.py Remove auth_with_unscoped_saml decorator 2016-12-04 18:59:09 +00:00
user.py Fix 'domain' filter not work well in some commands 2017-07-18 23:01:22 +00:00