Statistics
| Branch: | Tag: | Revision:

root / logic @ dd53338a

# Date Author Comment
dd53338a 04/05/2011 02:16 pm Georgios Gousios

Make tests fail gracefully with assertions.

Also correct spelling of the word shibboleth

462c7e47 04/04/2011 04:03 pm Georgios Gousios

Simplistic implementation of Sibbolleth header parsing

44193110 04/04/2011 03:04 pm Georgios Gousios

User deletion test

76cc889c 04/04/2011 02:11 pm Georgios Gousios

Fix create user test case

de53d31c 04/04/2011 01:03 pm Georgios Gousios

Merge branch 'master' into auth-mechanism

420f2c20 04/04/2011 12:16 pm Georgios Gousios

Some code and fixture data for authentication

685b219e 04/02/2011 11:55 am Vangelis Koukis

Improve handling of server deletions

Improve handling of server deletions. * Have the API return a server's state as DELETED when
the deleted flag has been set in the VirtualMachine model.
This makes the server immediately invisible, instead of waiting...

5fb55fba 04/01/2011 11:46 am Georgios Gousios

Restructure authentication mechanism.

Move authentication mechanism to the correct place, implement a dummy
decorator, some test data etc

17fc7729 04/01/2011 09:52 am Georgios Gousios

Move authentication tests and code to logic

fb381fbe 03/31/2011 02:48 pm Markos Gogoulos

fix bug with vm.backendjobstatus

VirtualMachine models has attribute backendjobstatus instead of
_backendjobstatus

234f8b07 03/31/2011 01:43 pm Vangelis Koukis

Fix breakage caused by the logic-refactoring merge

This commit fixes some breakage caused by the recent merge of
the logic-refactoring branch, mainly related to db/db_controller.py.

The main reason was the different value of import path, fixed by
making sure all imports are rooted in synnefo....

dfd19c2d 03/30/2011 09:47 pm Vassilios Karakoidas

All VirtualMachine fields are now pubic

  • Update VirtualMachine reference in all modules
  • Updated fixtures accordingly (and tests)
8d97deff 03/28/2011 03:53 pm Vassilios Karakoidas

Still refactoring, separating the logic and the ORM layer

  • Moved all tests (except one) into the logic app
  • Introduced (again) utils.py, moved miscellaneous functions there
  • models.py has now minimal functionality (ui->logic->db)
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