History | View | Annotate | Download (4.3 kB)
Add unit tests for process_op_status()
Add unit tests for all supported code paths inlogic/backend.py:process_op_status(), for the various notificationsof type 'ganeti-op-status'.
Also catch the exception raised when a ganeti-op-status notificationcontains an opcode not handled by Synnefo.
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
Add expires field for auth token
Refs: #483
Merge branch 'master' into auth-mechanism
Conflicts: api/fixtures/api_test_data.json api/tests.py
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.
Make most tests pass
Fix order of test data to ensure proper insertion
This fixes an issue with DBs with proper referential integrity (e.g.MySQL) where a VM cannot be inserted prior to an Image that isreferenced from it.
Some code and fixture data for authentication
All VirtualMachine fields are now pubic
Still refactoring, separating the logic and the ORM layer
Implement unit tests for all charge() related methods
Make owner a not null ForeignKey in VirtualMachine
Make owner a required, not null foreign key in VirtualMachine.Also fix fixtures and the implementation of POST /servers to includea proper owner value (everything gets to be owned by the single SynnefoUser...
Remove user field from SynnefoUser, minor fixes
Remove the "user" ForeignKey() field from the SynnefoUser model, sincewe do not use Django's auth mechanism.More specifically: * remove user ForeignKey() field * update fixtures for initial data, DB and API tests...
Implemented Charger Functionality
The code needs still lots of testing
complete the rename of AccountingLog to Debid - fix breakage
The changes in d174b105e0fb3038bcf69623f3624f99f437ea3f broke theapp and the tests. The AccountingLog class had been renamed butseveral references were left using the old name.
Also removed the violation attribute from fixtures since it was...
Update fixtures, introduce created/updated fields.
Introduce auto-generated created/updated fields in all models,use two different fixtures, one for db initialization, one for testing. * All models have created/updated fields. * VirtualMachine model has an owner field....
renamed fixtures file so it can be called automatically