glance/glance/tests/unit
Alex Meade be34808c7b Make passing user token to registry configurable
This patch adds CONF.use_user_token as a config option. When true, glance will
continue to use the user token when communicating with glance registry. When
false, glance will read admin credentials from the config and use those to
communicate with glance registry. Using admin credentials allow for
reauthentication when tokens expire and prevents requests from silently failing.

DocImpact
Fixes bug 1182536

Change-Id: Ia6b563677eb67d4069571c82b9dad3f025b6e9fb
2013-05-24 12:27:07 -04:00
..
api Redirects requests from /v# to /v#/ with correct Location header 2013-05-08 21:16:29 +00:00
common Improve unit tests for glance.common package 2013-05-20 17:31:22 +03:00
v1 Make passing user token to registry configurable 2013-05-24 12:27:07 -04:00
v2 Make passing user token to registry configurable 2013-05-24 12:27:07 -04:00
__init__.py Move tests under the glance namespace. 2011-08-03 00:10:52 +02:00
base.py Implement Registry's Client V2 2013-05-13 10:42:25 +02:00
test_auth.py Improve unit tests for glance.common.auth module 2013-04-30 00:10:00 -07:00
test_cache_middleware.py Use RBAC policy to determine if context is admin. 2013-05-02 16:40:24 +01:00
test_cached_images.py Add unit tests for glance.api.cached_images module 2013-03-15 10:48:31 +02:00
test_context.py Store context in local thread store for logging. 2012-08-01 12:05:49 -04:00
test_context_middleware.py Clean up pep8 E128 violations 2012-10-09 10:04:19 +08:00
test_db.py Use RBAC policy to determine if context is admin. 2013-05-02 16:40:24 +01:00
test_domain.py Fix test redifinitions 2013-04-22 04:02:00 +02:00
test_domain_proxy.py Refactor leaky abstractions 2013-03-05 08:43:41 -08:00
test_filesystem_store.py Clean dangling image fragments in filesystem store 2013-02-12 10:28:11 +00:00
test_glance_replicator.py Convert scripts to entry points 2013-04-29 14:08:29 -10:00
test_http_store.py Create package for registry's client 2013-05-01 22:34:17 +02:00
test_image_cache.py Remove unused imports 2013-02-28 14:49:05 -08:00
test_migrations.conf Refactor data migration tests 2013-02-25 21:14:09 +00:00
test_migrations.py Standardize on newer except syntax 2013-03-26 12:14:55 +00:00
test_misc.py Remove unused imports 2012-08-17 01:29:34 +00:00
test_notifier.py Use RBAC policy to determine if context is admin. 2013-05-02 16:40:24 +01:00
test_policy.py Use RBAC policy to determine if context is admin. 2013-05-02 16:40:24 +01:00
test_s3_store.py Replace custom tearDown with fixtures and cleanup. 2013-01-17 16:39:40 -05:00
test_schema.py Updates OpenStack LLC with OpenStack Foundation 2013-02-17 19:19:43 -08:00
test_store_image.py Update acls in the domain model 2013-03-05 08:47:07 -08:00
test_store_location.py Fix import order nits 2012-12-31 22:12:53 +08:00
test_swift_store.py Don't raise HTTPForbidden on a multitenant environment 2013-04-27 12:42:33 +02:00
test_versions.py Publish API version 2.1 2013-03-12 16:23:03 -07:00
utils.py Merge "Fix v2 data upload to swift" 2013-03-07 18:51:38 +00:00