Statistics
| Branch: | Tag: | Revision:

root / logic @ 7d52c0b4

Name Size
__init__.py 0 Bytes
backend.py 1.8 kB
credits.py 4.6 kB
models.py 1 Byte
tests.py 1.8 kB
views.py 0 Bytes

Latest revisions

# Date Author Comment
7d52c0b4 03/23/2011 10:19 am Vassilios Karakoidas

Added missing VirtualMachine import

c8926262 03/22/2011 08:54 pm Vassilios Karakoidas

Test are now working for db, logic modules

  • Moved methods from utils.py -> credits.py to avoid
    circular dependency
111b2cda 03/22/2011 07:57 pm Vassilios Karakoidas

Move _get_costs (internal method) to credits.py

22e52ede 03/22/2011 07:39 pm Vassilios Karakoidas

Internal method calculate_cost moved to utils.py

02feca11 03/22/2011 07:21 pm Vassilios Karakoidas

Move process_backend_msg to beckend.py

e3a99a08 03/22/2011 06:57 pm Vassilios Karakoidas

Moved id_from_instance_name static method to utils.py

92c53da1 03/22/2011 06:23 pm Vassilios Karakoidas

Refactored charge (from VM model) and fixed unit tests

  • remove backend_id (now it is inline in the model code)
  • charge now resides in credits.py (logic)
  • logic is now a proper django app
  • remove unused backend_id from handlers.py
  • moved unit tests from db -> logic module
7b7f9205 03/22/2011 05:49 pm Vassilios Karakoidas

Moved SynnefoUser methods to logic.credits

  • debit_account moved to credits.py
  • credit_account moved to credits.py
09c936a7 03/22/2011 05:30 pm Vassilios Karakoidas

Add logic app in django configuration

  • Added credits.py that will contain the business logic for
    credit transactions and the charging
66099657 03/22/2011 01:54 pm Vassilios Karakoidas

Initialise logic-refactoring branch

  • Add logic package

View revisions

Also available in: Atom