glance/glance/tests/unit
Flaper Fesp 34135e88d5 Implement Registry's Client V2
The patch implements Registry's v2 Client.

Some notes:
* The implementation uses __getattr__ to map method's calls to remote
  RPC methods.
* The client supports both bulk and single calls.
* Client is based on the base HTTPClient

About Exceptions:
* If raise_exc == True, the client will try to re-raise the remote
  exception. If the server raised an unknown exception, it will be
  re-raised as RPCException in the client side.

Implements blueprint registry-api-v2

Change-Id: I98757c2272c68301373c1a3af96c4d06cb63cc97
2013-05-13 10:42:25 +02:00
..
api Redirects requests from /v# to /v#/ 2013-04-26 19:13:04 +00:00
common Implement Registry's Client V2 2013-05-13 10:42:25 +02:00
v1 Implement Registry's Client V2 2013-05-13 10:42:25 +02:00
v2 Implement Registry's Client V2 2013-05-13 10:42:25 +02: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 Check if creds are present and not None 2013-03-21 18:04:35 +01: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_config.py Replace custom tearDown with fixtures and cleanup. 2013-01-17 16:39:40 -05:00
test_context_middleware.py Clean up pep8 E128 violations 2012-10-09 10:04:19 +08:00
test_context.py Store context in local thread store for logging. 2012-08-01 12:05:49 -04:00
test_db.py Use RBAC policy to determine if context is admin. 2013-05-02 16:40:24 +01:00
test_domain_proxy.py Refactor leaky abstractions 2013-03-05 08:43:41 -08:00
test_domain.py Fix test redifinitions 2013-04-22 04:02:00 +02: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_utils.py Verify SSL certificates at boot time 2013-04-03 07:29:15 -10:00
test_versions.py Publish API version 2.1 2013-03-12 16:23:03 -07:00
test_wsgi.py Call monkey_patch before other modules are loaded 2013-04-11 15:47:07 +02:00
utils.py Merge "Fix v2 data upload to swift" 2013-03-07 18:51:38 +00:00