Statistics
| Branch: | Tag: | Revision:

root / api @ b9809f7c

Name Size
__init__.py 0 Bytes
authentication.py 825 Bytes
emitter.py 3.9 kB
faults.py 2.5 kB
handlers.py 7.1 kB
helpers.py 1.8 kB
openstack-api.txt 780 Bytes
urls.py 1.9 kB

Latest revisions

# Date Author Comment
b9809f7c 11/26/2010 11:33 pm Faidon Liambotis

Add our own XML emitter

OpenStack's API XML isn't merely an XML representation of the data
structures and therefore Piston's XML Emitter can't be used as-is.

The XML generation code from OpenStack's Nova is guranteed(?) to be
compatible, so re-use their code and adapt it into an Emitter subclass....

0be1a55e 11/26/2010 10:54 pm Faidon Liambotis

Add a custom 404 catch-all in api/

909f415b 11/26/2010 10:45 pm Faidon Liambotis

Add error handling on /servers read()

14a6a08f 11/26/2010 10:44 pm Faidon Liambotis

Provide an empty "details" field in faults

To deal with broken clients that expect it to be there.

2c089b77 11/26/2010 10:34 pm Faidon Liambotis

Add a paginator decorator for limit/offset syntax

This addresses the “Paginated Collections” section of the specification
in a transparent and get-out-of-my-way way.

The functionality is absolutely needed to signal the stop of the list in
the CloudServers Python bindings (at least at the moment).

253f0c82 11/26/2010 10:05 pm Faidon Liambotis

Add an initial implementation of API's /servers read()

547ae349 11/26/2010 10:02 pm Faidon Liambotis

Fix authentication handler challenge() for servers API

04accb0f 11/26/2010 09:22 pm Faidon Liambotis

Fix URL path for API version handler

81357279 11/26/2010 08:13 pm Faidon Liambotis

Fix some trailing-slash breakage, OS-API is explicit about that

635cfd6e 11/26/2010 06:52 pm Faidon Liambotis

Convert faults to return an Exception subclass

Piston's rc from which fault is modeled doesn't do that; however, we
prefer doing things the Django (rather than the Piston) way and make
faults be an Exception subclass.

Piston may not do that but it actually gives us all the tools to do it,...

View revisions

Also available in: Atom