Statistics
| Branch: | Tag: | Revision:

root / api @ e646ebe5

Name Size
  fixtures
  templates
__init__.py 0 Bytes
actions.py 4.7 kB
authentication.py 874 Bytes
emitter.py 2.6 kB
errors.py 610 Bytes
faults.py 2.6 kB
flavors.py 2.2 kB
handlers.py 39.5 kB
helpers.py 1.8 kB
images.py 5.1 kB
models.py 0 Bytes
openstack-api.txt 780 Bytes
resource.py 1.3 kB
servers.py 10 kB
tests.py 21.1 kB
tests_redux.py 2.9 kB
urls.py 5.8 kB
util.py 3.5 kB

Latest revisions

# Date Author Comment
e646ebe5 03/30/2011 11:38 pm Dimitris Moraitis

pep8 compliance

1d4fb95b 03/30/2011 01:18 pm Georgios Gousios

Remove unused imports

a237869d 03/28/2011 03:23 pm Faidon Liambotis

Be consistent about the use of simplejson

simplejson was merged into Python 2.6's stdlib as json. To help with
that and avoid external dependencies, Django provides a utils.simplejson
module that either imports Python's json module or imports an embedded...

d8b7ab6d 03/24/2011 09:12 pm Dimitris Moraitis

return DELETED in _get_rsapi_state - Fixes #293

54f8cd6d 03/24/2011 05:26 pm Markos Gogoulos

fix server and image polling

add variable POLL_LIMIT (initially 1h) on settings.py that
is the maximum time allowed to ask if there have been changes, using
the changes-since GET variables. Return badRequest if this limit is exceeded
on a query

29a59bc1 03/24/2011 04:08 pm Giorgos Verigakis

Use the json module bundled by Django

34244492 03/23/2011 09:44 pm Markos Gogoulos

add testServerPolling test

check if the polling works as expected

  • get the list of servers
  • get the list using changes_since. Expect no changes
  • create a server
  • get the list using changes_since. Expect the server to be there
c5a032c4 03/23/2011 08:26 pm Markos Gogoulos

fix server polling support

  • add function ISODateString that gets the jqXHR.getResponseHeader('Date') and returns changes_since GET variable on ISO 8601 format
  • add changes_since mechanism on GET images too

Ref #291

4e6f9904 03/23/2011 06:25 pm Markos Gogoulos

remove description fields for VM, Image

  • remove description from VirtualMachine model, handlers and tests
  • return images metadata (as on servers). for now return image.description as image.metadata.meta.key.description

Ref #185

b0bc0d35 03/23/2011 05:37 pm Giorgos Verigakis

More flexible Accept header handling

Fixes #313

View revisions

Also available in: Atom