Statistics
| Branch: | Tag: | Revision:

root / api @ 5abebfaa

Name Size
  fixtures
  templates
__init__.py 0 Bytes
actions.py 4.7 kB
authentication.py 875 Bytes
emitter.py 2.6 kB
errors.py 609 Bytes
faults.py 2.6 kB
flavors.py 2.2 kB
handlers.py 38.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.1 kB
tests.py 20 kB
tests_redux.py 2.9 kB
urls.py 5.8 kB
util.py 3.5 kB

Latest revisions

# Date Author Comment
5abebfaa 03/29/2011 01:53 pm Vassilios Karakoidas

All unit tests are executed in the refactored code

  • All functionality is achieved through the logic layer
c63e332f 03/28/2011 06:41 pm Vassilios Karakoidas

Merge branch 'master' into logic-refactoring

Conflicts:
db/db_controller.py

8d97deff 03/28/2011 03:53 pm Vassilios Karakoidas

Still refactoring, separating the logic and the ORM layer

  • Moved all tests (except one) into the logic app
  • Introduced (again) utils.py, moved miscellaneous functions there
  • models.py has now minimal functionality (ui->logic->db)
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...

183149e6 03/28/2011 02:27 pm Vassilios Karakoidas

Merge branch 'master' into logic-refactoring

Conflicts:
db/models.py

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

View revisions

Also available in: Atom