glance/glance/tests/functional
Dan Smith 16a5431c66 Make glance-api able to do async tasks in WSGI mode
This teaches glance-api how to do async threading things when it is
running in pure-WSGI mode. In order to do that, a refactoring of things
that currently depend on eventlet is required.

It adds a [wsgi]/task_pool_threads configuration knob, which is used
in the case of pure-WSGI and native threads to constrain the number
of threads in that pool (and thus the task parallelism). This will
allow tuning by the operator, but also lets us default that to just
a single thread in the backport of these fixes so that we can avoid
introducing a new larger footprint in the backport unexpectedly.

Partial-Bug: #1888713
Depends-On: https://review.opendev.org/#/c/742047/
Change-Id: Ie15028b75fb8518ec2b0c0c0386d21782166f759
2020-07-24 11:13:45 -07:00
..
db Add image_set_property_atomic() helper 2020-07-16 13:15:55 +01:00
serial Deprecation cleanout Registry and related 2020-06-30 20:41:30 +01:00
v2 Add a policy knob for allowing non-owned image copying 2020-07-15 12:59:13 -07:00
__init__.py Make glance-api able to do async tasks in WSGI mode 2020-07-24 11:13:45 -07:00
ft_utils.py Copy existing image in multiple stores 2020-02-12 05:32:46 +00:00
store_utils.py Stop to use the __future__ module. 2020-06-02 20:14:31 +02:00
test_api.py Removal of 'enable_v2_api' 2020-07-03 19:01:39 +00:00
test_cache_middleware.py Allow glance tests to run on Windows 2019-03-13 16:41:11 +02:00
test_client_exceptions.py Fix broken glance-cache-manage utility 2020-07-23 07:04:52 +00:00
test_client_redirects.py Fix broken glance-cache-manage utility 2020-07-23 07:04:52 +00:00
test_cors_middleware.py Remove Images API v1 entry points 2018-07-13 10:21:49 +01:00
test_glance_manage.py Convert to string before using assertIn 2018-06-04 16:34:29 -04:00
test_gzip_middleware.py Fix assertEqual arguments order 2014-09-19 00:25:18 +08:00
test_healthcheck_middleware.py Python3: fix logs/glance.tests.functional.test_healthcheck_middleware 2016-12-01 17:43:22 +01:00
test_logging.py Remove registry related functional and unit tests 2019-12-18 09:23:37 +00:00
test_reload.py Remove usages of SSL related config options in utils 2020-03-17 22:38:09 -07:00
test_sqlite.py Allow glance tests to run on Windows 2019-03-13 16:41:11 +02:00
test_wsgi.py Fix broken glance-cache-manage utility 2020-07-23 07:04:52 +00:00