lp:~jaypipes/glance/api-version
- Get this branch:
- bzr branch lp:~jaypipes/glance/api-version
Branch merges
- Dan Prince (community): Approve
- Brian Waldon (community): Approve
- Christopher MacGown (community): Approve
- Rick Harris: Pending requested
- Vish Ishaya: Pending requested
-
Diff: 2011 lines (+957/-328)24 files modifiedbin/glance-control (+1/-1)
doc/source/configuring.rst (+46/-22)
doc/source/controllingservers.rst (+25/-27)
etc/glance-api.conf (+67/-0)
etc/glance-registry.conf (+33/-0)
etc/glance.conf.sample (+0/-82)
glance/api/__init__.py (+16/-0)
glance/api/middleware/__init__.py (+16/-0)
glance/api/middleware/version_negotiation.py (+134/-0)
glance/api/v1/__init__.py (+48/-0)
glance/api/v1/images.py (+7/-41)
glance/api/versions.py (+69/-0)
glance/client.py (+12/-2)
glance/common/config.py (+8/-8)
glance/common/utils.py (+0/-17)
tests/functional/__init__.py (+153/-74)
tests/functional/test_bin_glance.py (+16/-4)
tests/functional/test_curl_api.py (+234/-30)
tests/functional/test_logging.py (+12/-13)
tests/functional/test_misc.py (+7/-4)
tests/stubs.py (+1/-1)
tests/unit/test_api.py (+1/-1)
tests/unit/test_clients.py (+1/-1)
tests/unit/test_versions.py (+50/-0)
Related bugs
Related blueprints
Recent revisions
- 136. By Jay Pipes
-
Add more tests for version URIs and accept headers and fix up some of Brian's review comments
- 134. By Jay Pipes
-
Changes versioned URIs to be /v1/ instead of /v1.0/
Adds middleware that detects versioned URIs and also
detects media types in the Accept: header and attempts
to determine the API controller to return for the
client request.Adds a bunch of functional test cases for variations
of calling the versioned and unversioned URIs with and
without Accept: headers. - 131. By Jay Pipes
-
Fix up find_config_file() to accept an app_name arg. Update all documentation referencing config files.
- 130. By Jay Pipes
-
Adds versioning to Glance's API.
Important notes:
* Split API and Registry configuration files out into 2 files
Therefore, we need to update the packaging/upstart scripts
and documentation
* The paste.deploy stuff is now ready to go for pipeline-style
middleware that is coming with authentication
* /images -> /v1.0/images
* /versions endpoint added
* Split out the starting/stopping of servers into a Server class
in tests.functional.FunctionalTes tCase. This was really useful
to get different configuration files working well. - 129. By Jay Pipes
-
Changes glance index to return all public images
in any status other than 'killed'. This should allow
tools like euca-describe-images to show images while
they are in a saving/untarring/ decrypting state. One line fix. 110 line test case. :)
- 128. By Brian Waldon
-
Adding prefilled Authors, mailmap files
Adding test to validate Authors file is properly set up
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