commit 535dd4e77e2c439a8611f27e5e9fa821cc8d7589
Author: Steven Hardy <email address hidden>
Date: Tue Jun 3 15:30:15 2014 +0100
Use auth_token_info to initialize heat_keystoneclient sessions
Now we have the token info available in the request context, we can
avoid always re-requesting another token every time a client is
created.
This should be better for performance as it avoids one extra request to
keystone, and it also enables trust-scoped tokens to be more easily
used, since these cannot be used to request another token, thus
authentication will fail with the current scheme.
Reviewed: https:/ /review. openstack. org/97569 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=535dd4e77e2 c439a8611f27e5e 9fa821cc8d7589
Committed: https:/
Submitter: Jenkins
Branch: master
commit 535dd4e77e2c439 a8611f27e5e9fa8 21cc8d7589
Author: Steven Hardy <email address hidden>
Date: Tue Jun 3 15:30:15 2014 +0100
Use auth_token_info to initialize heat_keystoneclient sessions
Now we have the token info available in the request context, we can
avoid always re-requesting another token every time a client is
created.
This should be better for performance as it avoids one extra request to
keystone, and it also enables trust-scoped tokens to be more easily
used, since these cannot be used to request another token, thus
authentication will fail with the current scheme.
Partial-Bug: #1317293 ff3fdd47176a2a5 4c931277121
Change-Id: I18955d79c4c760