Fix redundant whitespace at end of lines
Remove all unecessary whitespace at end of lines.Seehttp://stackoverflow.com/questions/5257553/coloring-white-space-in-git-diffs-output
for a way to have git highlight redundant whitespace automatically.
Merge branch 'api-current' into ui-0.3
Conflicts: api/tests.py
Fix test token duration, minor bug in API
Modify db/fixtures/initial_data.json and settings.py.dist tofix the duration of the test token.
Fix minor bug in api/util.py when no valid SynnefoUsercould be found or the provided X-Auth-Token was invalid.
Simple test for requests with out X-Auth-Tokens
Move and fix test cases to the appropriate locations
Split aai middleware into two instances
One instance guards the API (and returns 401 if the user is unauthorized), one protects the other content and redirects to Sibboleth
Change networks to use numeric ids
Fixes #457
Add tests for networks and some bug fixes
Fixes #409
Rename server argument to serverRef
Improved image tests
Previous commit was incomplete
Add initial networks support
Refs #409
Add support for users
Fixes #423
Merge branch 'auth-mechanism' of https://code.grnet.gr/git/synnefo into api-current
Raise if vm is deleted or being built
Fixes #351
Code clean up
Merge branch 'master' into auth-mechanism
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...
Fix API calls that depend on specific server ids
Fixes #417
Improve metadata tests
Refs: 417
Clarify the units of ram and disk
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 tests for server metadata API methods
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)
Only return the updated metadata
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...
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....
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.
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
description has been removed from image
Allow create_server to set initial metadata
size has been removed from Image
Authentication routine, with comments
Add missing import
Add describedby links in version details
description field has been removed from Image
Make tests fail gracefully with assertions.
Also correct spelling of the word shibboleth
Add metadata support in Images
Removed description and size from Image model.
Merge branch 'master' of https://code.grnet.gr/git/synnefo into auth-mechanism
Simplistic implementation of Sibbolleth header parsing
api 1.1 compatibility improvements - Refs #311
User deletion test
Fix atom metadata, make GUI use API_URL everywhere
Merge branch 'master' into api-redux
Conflicts: api/actions.py api/errors.py api/handlers.py api/helpers.py api/servers.py
Return correct content-type on faults
Some code and fixture data for authentication
Move to OpenStack API v1.1
Fixes #183 - Implement /serversFixes #185 - Implement /imagesFixes #245 - Details in exception handlersFixes #249 - Metadata handlingFixes #253 - Transition to OpenStack API v1.1...
Extend api/v1.1redux to support VNC OOB consoles
Add support in api/v1.1redux for OOB consoles using VNC, refs #349.More specifically: * Implement a new action ("console") for POST to /servers/id/action. * Extend api/servers.py to pass the Django request object to actions....
detailed error handling & iso8601 compatibility - Refs #213 #363
Some coding before enlighting discussion w/ faidon
Custom middleware to support authentication
Restructure authentication mechanism.
Move authentication mechanism to the correct place, implement a dummydecorator, some test data etc
fix flavors to use api 1.1redux
implement server actions on gui for api/v1.1redux
Merge branch 'master' into logic-refactoring
Conflicts: api/handlers.py api/tests.py
pep8 compliance
All VirtualMachine fields are now pubic
Conflicts: README
Remove unused imports
Fixed some issues in api/tests.py
All unit tests are executed in the refactored code
Conflicts: db/db_controller.py
Still refactoring, separating the logic and the ORM layer
Be consistent about the use of simplejson
simplejson was merged into Python 2.6's stdlib as json. To help withthat and avoid external dependencies, Django provides a utils.simplejsonmodule that either imports Python's json module or imports an embedded...
Conflicts: db/models.py
return DELETED in _get_rsapi_state - Fixes #293
fix server and image polling
add variable POLL_LIMIT (initially 1h) on settings.py thatis the maximum time allowed to ask if there have been changes, usingthe changes-since GET variables. Return badRequest if this limit is exceededon a query
Use the json module bundled by Django
add testServerPolling test
check if the polling works as expected
fix server polling support
Ref #291
remove description fields for VM, Image
Ref #185
More flexible Accept header handling
Fixes #313
Use imageRef/flavorRef
Instead of imageId/flavorId.