Statistics
| Branch: | Tag: | Revision:

root / db @ 60bf38e1

Name Size
  fixtures
  management
__init__.py 0 Bytes
admin.py 1.7 kB
bill_calculator.py 197 Bytes
charger.py 1 kB
credit_allocator.py 967 Bytes
db_controller.py 4 kB
models.py 16.1 kB
tests.py 5.7 kB
views.py 26 Bytes

Latest revisions

# Date Author Comment
60bf38e1 02/22/2011 06:22 pm Vangelis Koukis

Split initial_data.json, minor fixes in models.py.

Split initial_data.json into different fixtures, one for each model.
Fixtures can be loaded as needed using the loaddata command.
See the README for all the details.

Add a complete set of instances for the Flavor model....

c92af313 02/22/2011 03:41 pm Vangelis Koukis

Minor fixes in VM model and db_controller.py

Added comments for VirtualMachine attributes pertaining
to internal operating state (ACTIONS, OPER_STATES, etc.).

Minor fixes in db_controller.py.

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

43d8f0e4 02/21/2011 04:53 pm Vassilios Karakoidas

Corrected a comment in Flavor.find_cost()

8bda0440 02/21/2011 04:49 pm Vassilios Karakoidas
  • Removed FlavorCostHistoryTestCase
  • Migrated find_cost test in FlavorTestCase
  • Moved FlavorCostHistory.find_cost() -> Flavor.find_cost()
1583f11a 02/21/2011 04:01 pm Vassilios Karakoidas
  • Moved Limit.get_limit_from_user() to SynnefoUser.get_limit()
  • CreditAllocatorTestCase is modified accordingly to check the new method
104c3c5f 02/21/2011 12:50 pm Markos Gogoulos

fixed previous commit problems. removed UserLimit from admin.py, since no UserLimit model is on the models.py

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)

View revisions

Also available in: Atom