Statistics
| Branch: | Tag: | Revision:

root / db / fixtures @ 52194743

# Date Author Comment
52194743 02/22/2011 01:57 pm Vangelis Koukis

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

29833195 02/22/2011 01:09 pm Christos Psaltis

moved fixtures to proper folder db/fixtures

6a94c3c4 02/22/2011 01:05 pm Christos Psaltis

renamed fixtures file so it can be called automatically

62c6d260 02/21/2011 01:52 am Vassilios Karakoidas
  • Implemented VirtualMachine.get_accounting_logs()
  • Added VirtualMachineTestCase unit test
  • Now the db_test_data adds AccountingLog entries for 1003 VM (also introduced some corrections in Disk models data
  • Working on the charger which is still completelly broken (along with the related test case)
e4c395b7 02/20/2011 11:26 pm Vassilios Karakoidas
  • Added AccountingLog entries to db_test_data.json
  • AccountingLogTestCase is corrected and works as intended
ec08e9ce 02/20/2011 11:18 pm Vassilios Karakoidas
  • Add db/fixtures/db_test_data.json fixture (data for testing)
d39ea372 02/20/2011 10:59 pm Vassilios Karakoidas
  • Removed initial_data JSON fixture
  • Fixtures are now loaded on unittesting as intended
  • Modified CreditAllocatorTestCase to load fixtures
90b28517 02/20/2011 10:26 pm Vassilios Karakoidas

CreditAllocator now uses Limit according to the changes to the model

  • CreditAllocatorTestCase has been modified to match the new requirements
  • CreditAllocatorTestCase also test Limit.get_limit_for_user() method
9071888e 02/18/2011 02:24 pm Constantinos Venetsanopoulos

Initial Disk Management API (DM API) implementation

The DM API is accessible under api/v1.0grnet1/ and
it extends the Rackspace Cloud Servers v1.0 API
for the use of Disks. Notable changes:

  • Added the "Disk" model in db/models.py
  • Added the "DiskHandler" in api/handlers.py...
dddb0035 02/16/2011 10:53 pm Vassilios Karakoidas

Setup/TearDown AccountingLogTestCase is finished

6d6b83a3 02/16/2011 08:50 pm Vassilios Karakoidas

FlavorTestCase works as intended; Add FlavorCostHistoryTestCase (in progress)

3f53219b 02/11/2011 02:23 pm Vassilios Karakoidas

updated initial data to test credit allocator testcase

0a2964a1 02/10/2011 06:45 pm Vangelis Koukis

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

78d9b6b7 02/10/2011 06:42 pm Vangelis Koukis

Private fields in VM model, updated fixtures

Updated names of fields pertaining to VM state in VirtualMachine model,
updated fixtures.

database.sqlite can be removed, use:

rm database.sqlite; python manage.py syncdb

to recreate it from fixtures.

562549e3 02/10/2011 12:24 pm Vassilios Karakoidas

Fix: fixtures now works correctly

b4141604 02/08/2011 06:21 pm Vangelis Koukis

Major fixes trying to integrate everything.

Most notable changes:
  • db/db_controller.py: Listens on 0mq, receives notifications from Ganeti, updates
    VM state in database calling methods of the VirtualMachine model.
  • Extended the VirtualMachine model:
    start_action() is to be called before submitting requests to Ganeti....