python-openstackclient/openstackclient/identity
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
..
v2_0 Merge "Add sort support to project list" 2017-03-16 13:01:56 +00:00
v3 Optimize getting endpoint list 2017-09-26 14:31:07 -07:00
__init__.py Remove copyright from empty files 2014-01-20 17:28:13 +04:00
client.py osc-lib: shell 2016-08-05 13:48:55 -05:00
common.py Optimize getting endpoint list 2017-09-26 14:31:07 -07:00