commit 3cf75a130b77f39c639bca037211b07c2ec995b2
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/99769 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=3cf75a130b7 7f39c639bca0372 11b07c2ec995b2
Committed: https:/
Submitter: Jenkins
Branch: master
commit 3cf75a130b77f39 c639bca037211b0 7c2ec995b2
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.
Change-Id: Id34a4104cedbd3 f1c231bc0b9229a 5cac7bb9402
Partial-Bug: #1317293