tripleo-common/tripleo_common/utils
Alex Schultz 1070bd4c63 Improve bearer auth handling
We can share tokens across threads for scope so if we are fetching
multiple layers of the same container, let's reuse the token rather than
duplicating the token request. Additionally we can verify if a token
needs to be refreshed based on the expiration time.

Note: python2 code was added to build the token variable.

Change-Id: I4a3149b08013f493e13b592f064e3ff2ed4074f7
(cherry picked from commit f52b1e1a46)
2020-10-07 15:45:27 -04:00
..
locks Improve bearer auth handling 2020-10-07 15:45:27 -04:00
__init__.py Initial workflow implementation of tripleo-common 2015-12-07 12:38:42 -05:00
common.py Image Uploader - get_undercloud_registry IPv6 2019-07-10 15:02:31 +02:00
config.py Properly collect tasks with or conditional in step file. 2020-08-03 22:07:40 +00:00
glance.py create_or_find_kernel_and_ramdisk docstring fixes 2019-09-04 14:19:41 -04:00
image.py Make upload workers faster on processing layers 2019-11-19 10:04:55 +00:00
keystone.py nova-less-deploy: deploy_instances and undeploy_instances workflows 2019-01-16 12:41:42 +01:00
nodes.py Catch exception if servers are in error state with no bm_node attached 2020-07-07 11:20:15 +00:00
overcloudrc.py Prevent duplicated hosts in overcloudrc no_proxy 2020-04-20 10:48:51 +09:00
parameters.py Add convert_docker_params function 2019-04-10 10:02:53 -04:00
passwords.py Do not rotate CephX secrets 2020-06-09 11:36:05 +00:00
plan.py Handle secret strings correctly 2019-03-01 22:46:05 +00:00
process.py Fix bashate and flake8 errors 2019-06-14 19:23:53 +01:00
roles.py linters refresh w/ afferent bugfixes 2020-05-13 01:57:00 +00:00
safe_import.py Make gitpython and eventlet work with eventlet 0.25.1 2019-10-03 10:03:45 +00:00
swift.py utils/swift/download_container: python3 adjustment 2019-03-08 10:56:40 -07:00
tarball.py Open tarball in binary mode 2018-08-21 16:16:57 -06:00
time_functions.py Add GUI logging workflows 2017-08-08 08:55:55 +02:00
validations.py Processing available Ansible variables as 'parameters' not as 'metadata' 2019-07-08 13:02:31 +02:00