Statistics
| Branch: | Tag: | Revision:

root @ 40777cc8

# Date Author Comment
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

6bf213b8 04/19/2011 12:21 pm Giorgos Verigakis

Merge branch 'auth-mechanism' of https://code.grnet.gr/git/synnefo into api-current

cfe9f88c 04/19/2011 12:18 pm Georgios Gousios

Migration, default values for fields in SynnefoUser

175ffa73 04/19/2011 11:49 am Giorgos Verigakis

Merge branch 'auth-mechanism' of https://code.grnet.gr/git/synnefo into api-current

bc5f2964 04/18/2011 04:06 pm Georgios Gousios

Merge branch 'master' into auth-mechanism

ac3c3a4b 04/18/2011 04:02 pm Georgios Gousios

Fix tests, fix side auth cases

All tests now working

63efc637 04/18/2011 02:56 pm Georgios Gousios

Various fixes to make AAI work for real

Refs: #345

60de282a 04/18/2011 11:53 am Georgios Gousios

Avoid redirect loops

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

Raise if vm is deleted or being built

Fixes #351

e093e698 04/15/2011 05:14 pm Giorgos Verigakis

Merge branch 'master' of https://code.grnet.gr/git/synnefo into api-current

8e1dcc32 04/15/2011 04:06 pm Georgios Gousios

Integrate south

610d6c8b 04/15/2011 03:54 pm Georgios Gousios

Merge branch 'master' into south-integration

3d1cb728 04/15/2011 03:48 pm Georgios Gousios

Missing file

73dbfbf5 04/15/2011 03:09 pm Georgios Gousios

Change shibboleth tokens to their real names

12fd6446 04/15/2011 02:24 pm Giorgos Verigakis

Fix debugging hardcoded value

ba3b47d6 04/15/2011 02:16 pm Georgios Gousios

Give Jenkins a Ganeti ID of its own

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
a92072bc 04/15/2011 12:30 pm Georgios Gousios

Remove yet un-merged south application

Pointy hat for breaking the tests (jenkins caught it) goes to: gousiosg

948121ee 04/15/2011 11:52 am Georgios Gousios

README.ci updates on Git mirroring

f6e4dd85 04/15/2011 11:31 am Georgios Gousios

Remove accidentaly commited app entry from settings

ea2bea47 04/15/2011 11:19 am Georgios Gousios

Use vkoukis's TEST variable instead of my custom TESTING

733ab79b 04/15/2011 11:14 am Georgios Gousios

Merge branch 'master' into auth-mechanism

fe3d222b 04/15/2011 11:11 am Georgios Gousios

Merge branch 'master' of https://code.grnet.gr/git/synnefo

63d608f8 04/14/2011 03:41 pm Vangelis Koukis

Merge branch 'api-current'

4096e65b 04/14/2011 03:27 pm Georgios Gousios

Merge branch 'master' of https://code.grnet.gr/git/synnefo

6940515d 04/14/2011 02:57 pm Georgios Gousios

Instructions on how to install a remote 0mq apt repo

794433d1 04/14/2011 02:34 pm Giorgos Gousios

Append the django_hudson plugin to the list of apps

93c39abe 04/14/2011 02:14 pm Giorgos Gousios

Use distribution settings.py.dist for building

2280e9fe 04/14/2011 01:04 pm Vangelis Koukis

Set TEST if running in Hudson's environment

fc30c430 04/14/2011 12:17 pm Vangelis Koukis

Add docstring in get_rsapi_state()

Add improved documentation on how the API state is derived
based on the internal state of the VirtualMachine instance.

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...

b6ad19f8 04/13/2011 09:16 pm Vassilios Karakoidas

Added a missing comma.

7317d130 04/13/2011 07:19 pm Giorgos Verigakis

Fix API calls that depend on specific server ids

Fixes #417

53b1eea6 04/13/2011 07:12 pm Giorgos Verigakis

Improve metadata tests

Refs: 417

55175e78 04/13/2011 03:11 pm Vassilios Karakoidas

Added new section in README.deploy (Initial Migration)

6d5f3dd2 04/13/2011 02:46 pm Vassilios Karakoidas

Started initial section in README.develop

80da6543 04/13/2011 12:37 pm Giorgos Verigakis

Clarify the units of ram and disk

e2664ada 04/13/2011 11:51 am Vassilios Karakoidas

Wallet renamed to credits in fixtures (db)

5495cf1c 04/12/2011 07:10 pm Giorgos Verigakis

Merge branch 'api-current' of https://code.grnet.gr/git/synnefo into api-current

ba6ded2a 04/12/2011 07:08 pm Giorgos Verigakis

Improve metadata tests

1be508e9 04/12/2011 07:06 pm Vangelis Koukis

Support dynamic port allocation for VNC console

Add new version of vapclient.py from commit 48b1400eff
of vncauthproxy (dynamic port pool allocation, JSON control
requests and replies).

Modify api/actions.py to request dynamic port allocation
and handle error conditions gracefully.

602ebb17 04/12/2011 04:41 pm Vassilios Karakoidas

Add initial migration with south

cc2d9e9c 04/12/2011 04:23 pm Vassilios Karakoidas

Clean-up branch from migrations new_south_test_field = models.IntegerField(default=1) new_south_test_field = models.IntegerField(default=1)

968b3e04 04/12/2011 03:12 pm Giorgos Verigakis

Add tests for server metadata API methods

8af3b61f 04/12/2011 02:49 pm Georgios Gousios

Fix the remaing tests

8f377cd6 04/12/2011 02:38 pm Georgios Gousios

Shortcut in the aai module to make tests pass

Introduces a test-time runtime variable which allows REST-based (e.g.
api) tests to pass through the authentication module

0a73c22f 04/12/2011 02:11 pm Giorgos Verigakis

User-defined exceptions should inherit Exception

52ddd0e7 04/12/2011 01:31 pm Georgios Gousios

Merge branch 'master' into auth-mechanism

Conflicts:
api/fixtures/api_test_data.json
api/tests.py

25380811 04/12/2011 01:20 pm Georgios Gousios

Rename auth to aai and put all aai related stuff in it

manage.py had trouble running tests from auth (confirmed with
[verigak]), and is also a good idea to have all aai stuff in
one reusable place ([vkoukis]'s idea)

e735d748 04/12/2011 11:24 am Giorgos Verigakis

Merge branch 'master' of https://code.grnet.gr/git/synnefo into api-current

25cb7d42 04/12/2011 09:52 am Vassilios Karakoidas

Merge branch 'master' of https://code.grnet.gr/git/synnefo into south-integration

d79d8208 04/12/2011 09:50 am Vassilios Karakoidas

Work on migration HoWTo in README.develop

6fc64f55 04/12/2011 09:39 am Georgios Gousios

Few corrections to the data migration instructions

75aae73a 04/11/2011 06:59 pm Georgios Gousios

Corrections when installing CI on new Debian

2e19b161 04/11/2011 05:07 pm Vassilios Karakoidas

Finished first version of south migration mini-HowTo.

664a3878 04/11/2011 04:54 pm Vassilios Karakoidas

Added example that renames a field in SynnefoUser model

9ad94f0a 04/11/2011 03:50 pm Vassilios Karakoidas

Writing some introductory south examples based on synnefo models.

  • Update README.develop to contain a small guide regarding database
    migration policy
5bde09a4 04/11/2011 03:22 pm Georgios Gousios

Instructions on how to setup Jenkins for CI

d115929c 04/11/2011 02:53 pm Giorgos Verigakis

Only return the updated metadata

1ad2fdbc 04/11/2011 02:33 pm Georgios Gousios

Forgot to import os

a7d2ae87 04/11/2011 02:28 pm Georgios Gousios

Include .. in PYTHON path in manage.py

We have to do this in order to fix namespace inconsistencies (files in
synnefo use imports starting with synnefo)
refs: #393

5d87bed0 04/11/2011 12:18 pm Georgios Gousios

Don't reference application that doesn't exist

b216cb77 04/11/2011 12:04 pm Georgios Gousios

Add the django-hudson module to the CI environment

6110651e 04/11/2011 11:49 am Georgios Gousios

Configurations for various databases

a25243b5 04/11/2011 11:34 am Vassilios Karakoidas

Integration with south

  • Loading south app in settings.py
  • Performed initial migration ./manage.py schemamigration db
9a6eacb9 04/11/2011 03:01 am Vangelis Koukis

Handle errors in API action for VNC console

Handle errors in the get_console() server action and return
appropriate cloudFaults.

Remove the vncauthproxy/ directory, since vncauthproxy
has its own repository under https://code.grnet.gr.

Add new version of util/vapclient.py from commit 035424b630...

fb2d85f8 04/08/2011 12:37 pm Vangelis Koukis

Merge branch 'api-tests'

ba15eb15 04/08/2011 12:32 pm Vangelis Koukis

Fix one API test failing with PostgreSQL backend

One API test (test_servers_details) was too restrictive and failed
with the PostgreSQL backend. It assumed consistent, by-id ordering
between DB and API server list replies, and failed although there was
1-1 correspondence between the two replies....

b85c772e 04/08/2011 11:16 am Vangelis Koukis

Merge branch 'api-tests'

44e6ec18 04/07/2011 09:45 pm Vangelis Koukis

Fix broken db_test_data.json wrt to Image model

Removing the description field from the Image model
and moving it to ImageMetadata broke the fixtures in
db_test_data.json and the associated tests of the db app.

Tests for api, db, logic run properly.

57e59589 04/07/2011 03:09 pm Georgios Gousios

All Shibboleth-based tests pass

Now, we need to test it against a real installation

fe2a6886 04/07/2011 01:50 pm Giorgos Verigakis

Query for greater since or equal

faa26af8 04/07/2011 01:36 pm Georgios Gousios

Make most tests pass

7f63ff66 04/07/2011 01:32 pm Giorgos Verigakis

Add a check for the return code

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.

009d3bf2 04/07/2011 12:29 pm Giorgos Verigakis

Check for values inside servers

860412e0 04/07/2011 11:57 am Giorgos Verigakis

Merge branch 'api-current' into api-tests

8c796300 04/07/2011 11:54 am Giorgos Verigakis

Add empty models.py

Django requires it.

71a2be7d 04/06/2011 08:03 pm Georgios Gousios

New test

df50f56f 04/06/2011 06:12 pm Georgios Gousios

Merge branch 'master' into auth-mechanism

Conflicts:
settings.py.dist

1896d262 04/06/2011 06:08 pm Georgios Gousios

Fixes to pass some shibboleth related tests

77f6bb0e 04/06/2011 12:41 pm Giorgos Verigakis

We import getfqdn, not socket

4f598167 04/06/2011 11:36 am Giorgos Verigakis

Use more specific exceptions

f7df1cef 04/06/2011 11:11 am Giorgos Verigakis

Merge branch 'api-current' of https://code.grnet.gr/git/synnefo into api-tests

aea3e7c6 04/06/2011 10:42 am Vangelis Koukis

Use server's FQDN in API reply for VNC console

bbbe2cfa 04/05/2011 10:42 pm Vangelis Koukis

Fix breakage in get_console() action

1c03e74e 04/05/2011 09:11 pm Vangelis Koukis

Really delete the VM if CreateInstance() fails

76ba77c1 04/05/2011 08:54 pm Vangelis Koukis

Fix bugs in api/server.py:create_server()

Fix bugs in server creation, in api/server.py:create_server().
More specifically: * Make sure to save() the vm object before calling vm.backend_id * Delete the vm instance if the RAPI call fails for any reason * Use different variable names for the server name at the API level...

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.

498728a8 04/05/2011 08:02 pm Vangelis Koukis

Fix Image fixtures, remove size attribute

Fix the fixtures for the Image model, removing references
to the size attribute, which no longer exists in the Image model
since commit 838c404d4.

Also fix unloadable fixtures, by removing stray comma chars
in JSON.

dc3ad42e 04/05/2011 06:39 pm Giorgos Verigakis

Add missing fixture file

4fd67656 04/05/2011 06:38 pm Giorgos Verigakis

Merge branch 'api-current' into api-tests

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

Immediately convert dates to naive format

Please verify that it fixes #377

Refs: #377

883de713 04/05/2011 06:16 pm Giorgos Verigakis

Port tests to the new API

manage.py test api should work now

0e3c1947 04/05/2011 05:59 pm Vangelis Koukis

Add more comments to settings.py.dist

7584d408 04/05/2011 05:52 pm Giorgos Verigakis

description has been removed from image

bc855ce7 04/05/2011 05:39 pm Giorgos Verigakis

Allow create_server to set initial metadata

838c404d 04/05/2011 05:39 pm Giorgos Verigakis

size has been removed from Image

b36421a6 04/05/2011 05:26 pm Vangelis Koukis

Add comments for variables in settings.py.dist