lp:~rconradharris/glance/refactoring_additions
- Get this branch:
- bzr branch lp:~rconradharris/glance/refactoring_additions
Branch merges
Branch information
Recent revisions
- 35. By Rick Harris
-
More work to get this working functionally; unit tests pass, functional tests pass
- 34. By Rick Harris
-
Making glance-api and glance-registry binaries work, making Client api more like other socket-like apis
- 30. By Jay Pipes
-
Refactor a bunch of stuff around the image files collection
* Removes ImageFile table
* Places restriction on clients and server requests to ensure
that the image metadata location is set, or the body of the request
is image data
* Refactors the FilesystemBackend to be a bit more robust and throw
NotFound properly and return a real object instead _file_iter.
* Move some repetitive code around injecting and building x-image-meta
HTTP headers into /glance/util.py - 28. By Jay Pipes
-
Update /glance/client.py to have GlanceClient do all operations
that RegistryClient does.Update glance.
server. Controller. create( ) to return image metadata
in x-image-meta- headers instead of the response body.Move RegistryClient to /glance/
registry/ client. py Next steps:
* Change GlanceClient.
add_image( ) calls to insert metadata
into HTTP headers and optionally send image data in the
request body. - 27. By Jay Pipes
-
Merges Glance API with the registry API:
* Makes HEAD /images/<ID> return metadata in headers
* Make GET /images/<ID> return image data with metadata
in headers
Updates docs some (more needed)Next steps:
* Update main GlanceClient class to encapsulate entire Glance API
and hide RegistryClient from normal usage
* Refactor registry database API and schema
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~hudson-openstack/glance/trunk