History | View | Annotate | Download (39.3 kB)
Merge branch 'api-current'
Bugfix
Update handling of 'ganeti-create-progress' notifs
Update handling of 'ganeti-create-progress' notification messages: * update format of 'ganeti-create-progress' notifications * update relevant unit test accordingly * numerous PEP8 fixes in logic and api test code
Make server deletion complete asynchronously
Make server deletion complete asynchronously, by only settingthe deleted flag for an instance of the VirtualMachine model whenan OP_INSTANCE_REMOVE operation completes successfully at the backend.
This means that DELETE /servers/id returns HTTP 204, the server...
Add exclude for API calls in AAI middlware
Fixes 3 failed tests
Limit the number of VMs a user can create
Controlled by the MAX_VMS_PER_USER setting.
Fixes #703
Do not randomize the owners used for the tests
Merge branch 'master' of https://code.grnet.gr/git/synnefo into api-current
Conflicts: api/images.py api/networks.py contrib/ganeti-hooks/kvm-vif-bridge db/fixtures/images.json db/models.py logic/backend.py logic/tests.py settings.py.dist tools/cloud
Add proper license headers
Merge branches api-current and ui-0.4, minor fixes
Merge branches api-current and ui-0.4: * Fix merge conflicts * Fix minor bug in reconciliation mgmt command * Add comments in settings.py.dist * minor PEP8 fixes
Make Network and NetworkLink relation explicit
DB migration needed.
Network improvements
Connect networks API with the Ganeti
A database migration is needed....
Refactor networks
Add expires field for auth token
Refs: #483
Ignore updated field
API was changed to include an updated field in networks.
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
Simple test for requests with out X-Auth-Tokens
Move and fix test cases to the appropriate locations
Change networks to use numeric ids
Fixes #457
Add tests for networks and some bug fixes
Fixes #409
Improved image tests
Add support for users
Fixes #423
Code clean up
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
Add tests for server metadata API methods
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....
Add a check for the return code
Add a Date header in responses
Make use of it in tests.
Check for values inside servers
Port tests to the new API
manage.py test api should work now
Restructure authentication mechanism.
Move authentication mechanism to the correct place, implement a dummydecorator, some test data etc
Merge branch 'master' into logic-refactoring
Conflicts: api/handlers.py api/tests.py
pep8 compliance
Fixed some issues in api/tests.py
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...
add testServerPolling test
check if the polling works as expected
remove description fields for VM, Image
Ref #185
Initial commit for API 1.1 REDUX.
- Implemented servers section of the API- Some new tests
Work in progress.
Refs #301
changes related to Openstack naming
add virtual machine group tests
added 4 tests regarding VirtualMachineGroups: * testVMgroupList, that tests if the expected list of groups is returned by the API * testVMgroupDetails, that tests if the expected virtual machine group is returned by the API...
changes on update name (and metadata, in future)
minor test optimization
improve exception handling on api/handlers
add missing try except blocks on FlavorHandler, ImageHandler, ServerHandler
update tests
use variables on api tests.py
use variables instead of strings, for server/image/flavor ids
add more unit tests
For example:
improve API compliance of the create instance handler
add unit tests regarding the RS API
added 6 working tests and stubs for 12 more. Two examples:
initial create server tests, still some way to go
add api test fixtures and test if the API returns the expected number of servers
initial api tests