Statistics
| Branch: | Tag: | Revision:

root / api / util.py @ bc923fb7

History | View | Annotate | Download (10.3 kB)

# Date Author Comment
bc923fb7 06/30/2011 06:11 pm Giorgos Verigakis

Bugfix

Always initialize `u`

b9b28a61 06/30/2011 04:57 pm Giorgos Gousios

Log request URL and user for all API calls

c738c935 06/29/2011 01:15 pm Giorgos Verigakis

Add a Get Server Stats API method

75768d0e 06/20/2011 02:54 pm Giorgos Verigakis

Add a public attribute to Images

list_images now returns images that either match the owner, or
that are marked as public.

Fixes #555

Database migration needed.

adee02b8 06/17/2011 12:48 am Giorgos Verigakis

Add proper license headers

b36f78fa 05/31/2011 05:33 pm Giorgos Verigakis

Style fixes to be more PEP8 compliant

207b70d5 05/31/2011 05:06 pm Giorgos Verigakis

Network improvements

  • Make backend functions transactional.
  • Only one network can be public and it has the id 'public'.
  • The public network can not be deleted or modified.
  • firewallProfile is optional
d44c236b 05/25/2011 06:23 pm Giorgos Verigakis

Refactor networks

  • VirtualMachines can have a number of nics that are attached to networks.
  • Networks can also be public
  • VirtualMachines can be attached to public networks that they don't own.
  • There is a special public network (id 1) that can't be deleted....
aa197ee4 05/10/2011 01:35 pm Vangelis Koukis

Fix redundant whitespace at end of lines

Remove all unecessary whitespace at end of lines.
See
http://stackoverflow.com/questions/5257553/coloring-white-space-in-git-diffs-output

for a way to have git highlight redundant whitespace automatically.

865fd434 05/10/2011 01:25 pm Vangelis Koukis

Merge branch 'api-current' into ui-0.3

Conflicts:
api/tests.py

97e56881 05/10/2011 01:17 pm Vangelis Koukis

Fix test token duration, minor bug in API

Modify db/fixtures/initial_data.json and settings.py.dist to
fix the duration of the test token.

Fix minor bug in api/util.py when no valid SynnefoUser
could be found or the provided X-Auth-Token was invalid.

b19653d1 05/06/2011 04:13 pm Giorgos Verigakis

Change networks to use numeric ids

Fixes #457

13b954b0 05/05/2011 01:49 pm Giorgos Verigakis

Add tests for networks and some bug fixes

Fixes #409

e2ee7808 05/03/2011 01:59 pm Giorgos Verigakis

Previous commit was incomplete

40777cc8 04/19/2011 03:56 pm Giorgos Verigakis

Add support for users

  • Tests use a hardcoded token
  • cloud tool uses a hardcoded token
  • Bugfixes

Fixes #423

5231a38a 04/15/2011 07:08 pm Giorgos Verigakis

Raise if vm is deleted or being built

Fixes #351

529178b1 04/15/2011 02:13 pm Giorgos Verigakis

Code clean up

  • Moved rapi related stuff in logic
  • Added messages to all raised Faults
  • Updated console format
  • Removed unused fixture
  • Better imports
  • Docstring bugfixes
4cf8adf8 04/13/2011 11:22 pm Vangelis Koukis

Change console req/response format, add unit tests

Change the format of JSON requests and replies for getting
a server console over VNC. Fix the cloud command-line tool to
understand the new format.

Add unit tests for api/actions.py:get_console().

Add a quick-n-dirty method of detecting if we're running unit...

cdb65551 04/07/2011 01:31 pm Giorgos Verigakis

Date header is only required for the test-server

8b01f7f3 04/07/2011 01:09 pm Giorgos Verigakis

Add a Date header in responses

Make use of it in tests.

0140e54b 04/05/2011 08:16 pm Vangelis Koukis

Have isoparse return naive datetimes, fixes #377

Have api/util.py:isoparse() return naive datetime objects, in UTC.
Fixes #377.

e87d30f3 04/05/2011 06:37 pm Giorgos Verigakis

Immediately convert dates to naive format

Please verify that it fixes #377

Refs: #377

432fc8c3 04/05/2011 01:21 pm Giorgos Verigakis

Add metadata support in Images

Removed description and size from Image model.

7e45ddef 04/04/2011 03:58 pm Dimitris Moraitis

api 1.1 compatibility improvements - Refs #311

f0656db1 04/04/2011 02:00 pm Giorgos Verigakis

Return correct content-type on faults

d8e50a39 04/04/2011 12:21 am Giorgos Verigakis

Move to OpenStack API v1.1

  • Removes piston dependency.
  • Adds dateutil dependency.

Fixes #183 - Implement /servers
Fixes #185 - Implement /images
Fixes #245 - Details in exception handlers
Fixes #249 - Metadata handling
Fixes #253 - Transition to OpenStack API v1.1...

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

Use the json module bundled by Django

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

More flexible Accept header handling

Fixes #313

8b800b6f 03/23/2011 04:04 pm Giorgos Verigakis

Add support for multiple accept args.

Fixes #313

a62a4d20 03/22/2011 06:19 pm Giorgos Verigakis

Add metadata support for Images in Redux API

c36934a7 03/21/2011 06:09 pm Giorgos Verigakis

Add image and flavor support to REDUX API

Refs #301

7e2f9d4b 03/18/2011 08:04 pm Giorgos Verigakis

Initial commit for API 1.1 REDUX.

- Implemented servers section of the API
- Some new tests

Work in progress.

Refs #301