Add support for users
Fixes #423
Merge branch 'auth-mechanism' of https://code.grnet.gr/git/synnefo into api-current
Migration, default values for fields in SynnefoUser
Merge branch 'master' into auth-mechanism
Fix tests, fix side auth cases
All tests now working
Various fixes to make AAI work for real
Refs: #345
Avoid redirect loops
Raise if vm is deleted or being built
Fixes #351
Merge branch 'master' of https://code.grnet.gr/git/synnefo into api-current
Integrate south
Merge branch 'master' into south-integration
Missing file
Change shibboleth tokens to their real names
Fix debugging hardcoded value
Give Jenkins a Ganeti ID of its own
Code clean up
Remove yet un-merged south application
Pointy hat for breaking the tests (jenkins caught it) goes to: gousiosg
README.ci updates on Git mirroring
Remove accidentaly commited app entry from settings
Use vkoukis's TEST variable instead of my custom TESTING
Merge branch 'master' of https://code.grnet.gr/git/synnefo
Merge branch 'api-current'
Instructions on how to install a remote 0mq apt repo
Append the django_hudson plugin to the list of apps
Use distribution settings.py.dist for building
Set TEST if running in Hudson's environment
Add docstring in get_rsapi_state()
Add improved documentation on how the API state is derivedbased on the internal state of the VirtualMachine instance.
Change console req/response format, add unit tests
Change the format of JSON requests and replies for gettinga server console over VNC. Fix the cloud command-line tool tounderstand 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...
Added a missing comma.
Fix API calls that depend on specific server ids
Fixes #417
Improve metadata tests
Refs: 417
Added new section in README.deploy (Initial Migration)
Started initial section in README.develop
Clarify the units of ram and disk
Wallet renamed to credits in fixtures (db)
Merge branch 'api-current' of https://code.grnet.gr/git/synnefo into api-current
Support dynamic port allocation for VNC console
Add new version of vapclient.py from commit 48b1400effof vncauthproxy (dynamic port pool allocation, JSON controlrequests and replies).
Modify api/actions.py to request dynamic port allocationand handle error conditions gracefully.
Add initial migration with south
Clean-up branch from migrations new_south_test_field = models.IntegerField(default=1) new_south_test_field = models.IntegerField(default=1)
Add tests for server metadata API methods
Fix the remaing tests
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
User-defined exceptions should inherit Exception
Conflicts: api/fixtures/api_test_data.json api/tests.py
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 inone reusable place ([vkoukis]'s idea)
Merge branch 'master' of https://code.grnet.gr/git/synnefo into south-integration
Work on migration HoWTo in README.develop
Few corrections to the data migration instructions
Corrections when installing CI on new Debian
Finished first version of south migration mini-HowTo.
Added example that renames a field in SynnefoUser model
Writing some introductory south examples based on synnefo models.
Instructions on how to setup Jenkins for CI
Only return the updated metadata
Forgot to import os
Include .. in PYTHON path in manage.py
We have to do this in order to fix namespace inconsistencies (files insynnefo use imports starting with synnefo)refs: #393
Don't reference application that doesn't exist
Add the django-hudson module to the CI environment
Configurations for various databases
Integration with south
Handle errors in API action for VNC console
Handle errors in the get_console() server action and returnappropriate cloudFaults.
Remove the vncauthproxy/ directory, since vncauthproxyhas its own repository under https://code.grnet.gr.
Add new version of util/vapclient.py from commit 035424b630...
Merge branch 'api-tests'
Fix one API test failing with PostgreSQL backend
One API test (test_servers_details) was too restrictive and failedwith the PostgreSQL backend. It assumed consistent, by-id orderingbetween DB and API server list replies, and failed although there was1-1 correspondence between the two replies....
Fix broken db_test_data.json wrt to Image model
Removing the description field from the Image modeland moving it to ImageMetadata broke the fixtures indb_test_data.json and the associated tests of the db app.
Tests for api, db, logic run properly.
All Shibboleth-based tests pass
Now, we need to test it against a real installation
Query for greater since or equal
Make most tests pass
Add a check for the return code
Date header is only required for the test-server
Add a Date header in responses
Make use of it in tests.
Check for values inside servers
Merge branch 'api-current' into api-tests
Add empty models.py
Django requires it.
New test
Conflicts: settings.py.dist
Fixes to pass some shibboleth related tests
We import getfqdn, not socket
Use more specific exceptions
Merge branch 'api-current' of https://code.grnet.gr/git/synnefo into api-tests
Use server's FQDN in API reply for VNC console
Fix breakage in get_console() action
Really delete the VM if CreateInstance() fails
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...
Have isoparse return naive datetimes, fixes #377
Have api/util.py:isoparse() return naive datetime objects, in UTC.Fixes #377.
Fix Image fixtures, remove size attribute
Fix the fixtures for the Image model, removing referencesto the size attribute, which no longer exists in the Image modelsince commit 838c404d4.
Also fix unloadable fixtures, by removing stray comma charsin JSON.
Add missing fixture file
Immediately convert dates to naive format
Please verify that it fixes #377
Refs: #377
Port tests to the new API
manage.py test api should work now
Add more comments to settings.py.dist
description has been removed from image
Allow create_server to set initial metadata
size has been removed from Image
Add comments for variables in settings.py.dist