glance/glance/tests/unit
Grégoire Unbekandt 92492cf504 Add ability to import image into multi-stores
The import image api now supports a list of stores to import data into.
This list can be specified through a new "stores" field that has been
added to the request body.
During import stage, Glance iterates overs this list and send the data
to each store one by one.
If an invalid backend is requested by the user, an exception is raised.
If an errors occurs during verify, already pushed data is removed and
image state is unchanged.

Change-Id: Id3ac19488c0a693d7042be4a3c83f3b9f12313d0
Implements: blueprint import-multi-stores
2020-02-10 09:39:01 +01:00
..
api Add periodic job to prefetch images into cache 2019-09-10 15:01:58 +00:00
async_ Add ability to import image into multi-stores 2020-02-10 09:39:01 +01:00
common Add ability to import image into multi-stores 2020-02-10 09:39:01 +01:00
image_cache Handle file delete races in image cache 2017-07-10 11:37:55 -05:00
keymgr Delete secret key on image deletion 2019-09-05 03:16:39 +02:00
v2 Add ability to import image into multi-stores 2020-02-10 09:39:01 +01:00
__init__.py Empty files shouldn't contain copyright nor license 2013-12-24 22:39:05 -06:00
base.py Unit tests fails with new glance_store version 0.29.0 2019-06-07 06:24:36 +00:00
fake_rados.py Fixes rbd _delete_image snapshot with missing image 2013-10-07 23:15:49 +01:00
fixtures.py Fix DeprecationWarnings for RequestContext.tenant/user usage 2019-02-06 09:59:36 -05:00
test_auth.py Introduce ''mock_object'' method to base test class 2018-08-09 12:40:12 -04:00
test_cache_middleware.py Add ability to import image into multi-stores 2020-02-10 09:39:01 +01:00
test_cached_images.py Improved coverage for glance.api.* 2014-06-15 17:44:09 +00:00
test_context.py Use new oslo.context arg names 2017-11-27 10:20:10 -06:00
test_context_middleware.py Fix DeprecationWarnings for RequestContext.tenant/user usage 2019-02-06 09:59:36 -05:00
test_data_migration_framework.py Modify glance manage db sync to use EMC 2018-02-05 17:00:57 +05:30
test_db.py Windows: fix flaky tests 2019-03-25 14:23:21 +02:00
test_db_metadef.py Don't use slashes for long lines - use parentheses instead 2015-08-16 07:21:13 +00:00
test_domain.py Rename async package to async_ 2018-08-07 14:42:14 -04:00
test_domain_proxy.py Fix for Image members not generating notifications 2016-01-25 04:50:58 -08:00
test_glance_manage.py Provide user friendly message for FK failure 2017-04-05 15:56:32 +05:30
test_glance_replicator.py Add fixture to only emit DeprecationWarning once 2017-12-12 15:49:04 +00:00
test_image_cache.py Windows: fix flaky tests 2019-03-25 14:23:21 +02:00
test_manage.py Add migration script to change backend to store 2019-08-06 05:48:50 +00:00
test_misc.py Port v1.test_registry_api to Python 3 2015-10-22 22:53:05 +02:00
test_notifier.py Add ability to import image into multi-stores 2020-02-10 09:39:01 +01:00
test_policy.py Move policy defaults into code 2020-01-06 12:56:30 -05:00
test_quota.py Add ability to import image into multi-stores 2020-02-10 09:39:01 +01:00
test_schema.py Fix assertEqual arguments order 2014-09-19 00:25:18 +08:00
test_scrubber.py Pending-delete rollback ability 2018-04-19 11:03:59 +08:00
test_store_image.py Add ability to import image into multi-stores 2020-02-10 09:39:01 +01:00
test_store_location.py Introduce ''mock_object'' method to base test class 2018-08-09 12:40:12 -04:00
test_versions.py Set API version 2.9 CURRENT 2019-10-01 17:45:26 +00:00
utils.py Fix DeprecationWarnings for RequestContext.tenant/user usage 2019-02-06 09:59:36 -05:00