lp:~rconradharris/glance/refactoring_additions

Created by Rick Harris and last modified
Get this branch:
bzr branch lp:~rconradharris/glance/refactoring_additions
Only Rick Harris can upload to this branch. If you are Rick Harris please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Rick Harris
Project:
Glance
Status:
Development

Recent revisions

36. By Rick Harris

Quick-and-Dirty addition of Swift PUT

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

33. By Jay Pipes

Fix testing/debug left in

32. By Jay Pipes

Fixes from review

31. By Jay Pipes

Documentation updates and GlanceClient -> Client

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

29. By Jay Pipes

Cleanup around x-image-meta and x-image-meta-property HTTP headers in GET/HEAD

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
This branch contains Public information 
Everyone can see this information.

Subscribers