Statistics
| Branch: | Tag: | Revision:

root / logic @ 35079ab2

# Date Author Comment
35079ab2 05/26/2011 05:55 pm Giorgos Gousios

Better handling of Unicode emails, catch SMTP connection errors

44837d17 05/26/2011 03:47 pm Giorgos Gousios

waitpid() accepts two arguments by default

cadaffb1 05/26/2011 03:07 pm Giorgos Gousios

Survive server restarts

838239fa 05/26/2011 02:43 pm Giorgos Gousios

Proper debug mode, correct channel shutdown sequence

7427d9a3 05/20/2011 12:39 pm Giorgos Gousios

Rename file email to avoid namespace clashes

c9fdfa27 05/20/2011 11:22 am Giorgos Gousios

Add expires field for auth token

Refs: #483

ec63ae8a 05/20/2011 10:30 am Giorgos Gousios

Merge branch 'invitations' into bug-483

Conflicts:
logic/tests.py

f8fd9e7b 05/19/2011 04:57 pm Giorgos Gousios

Method to process queued email messages

6afc46cb 05/18/2011 02:26 pm Giorgos Gousios

Better error handling in AMQP connector

5ad78098 05/18/2011 02:11 pm Giorgos Gousios

Format and send email

75d20793 05/18/2011 02:10 pm Giorgos Gousios

Persistent connector to AMQP

Maintains an open connection per running interpreter, through a global static variable

522c1282 05/17/2011 04:47 pm Giorgos Gousios

Send emails, either directly or queued to AMQP

4f6e36d9 05/17/2011 04:44 pm Giorgos Gousios

"Persistent" connection to AMQP

Uses a global variable, statically initialized, to AMQP.
Inspired after a discussion with verigk about persistent objects in Django.

b8033991 05/16/2011 05:25 pm Giorgos Gousios

Support for Unicode usernames + new test

53e6717b 05/13/2011 01:03 pm Giorgos Gousios

Add invitation works in test

84ae2c4c 05/12/2011 11:17 pm Giorgos Gousios

Construct a username from a real name

03805fc8 05/11/2011 04:06 pm Vangelis Koukis

Fix PostgreSQL backend exception for empty IPv4

Fix exception is thrown in logic/backend.py:process_net_status()
if the NIC configuration notification contains an empty IPv4
field, and Django uses the PostgreSQL backend.

This only happens with the PostgreSQL backend, because it has a...

2cd99e7a 05/11/2011 09:53 am Giorgos Gousios

Style and pylint suggested fixes

26fef2b9 05/10/2011 02:08 pm Vangelis Koukis

Ignore uknown Ganeti opcodes in dispatcher

Have the backend notification handler ignore unknown Ganeti opcodes,
such as OP_INSTANCE_QUERY_DATA and OP_INSTANCE_SET_PARAMS.

f891db99 05/10/2011 01:45 pm Vangelis Koukis

Merge branch 'synnefo-rabbit' into ui-0.3

ad2d6807 05/09/2011 06:43 pm Vangelis Koukis

Handle ganeti-net-status notifications

Implement handling of "ganeti-net-status" notifications in the
logic layer. For the time being, use the IPv4 address of NIC 0
to update the relevant field in the VirtualMachine model.

7ca9e930 05/09/2011 05:56 pm Vangelis Koukis

Improve AMQP-specific parts of settings.py.dist

Add support in settings.py.dist for fixing AMQP-specific variables
in settings after setting BACKEND_PREFIX_ID.

Temporarily use two different queues for routing messages of type
"ganeti-op-status" and "ganeti-net-status" independently....

41f2249e 05/09/2011 04:36 pm Vangelis Koukis

Fix minor stuff in README.develop, dispatcher

Have logic dispatcher create initial queue in AMQP server.
Have dispatcher wait for all children processes before exiting.
Improve AMQP-specific instructions in README.develop.

76343e61 05/09/2011 11:59 am Giorgos Gousios

A bit of documentation

c183005e 05/09/2011 11:40 am Giorgos Gousios

Fix fork-bomb bug when specifying workers by hand

Tell the cmd-line parser that the -w argument is an int

8861126f 05/05/2011 07:26 pm Georgios Gousios

Support for spawning worker processes

ae5965b6 05/03/2011 03:58 pm Georgios Gousios

Change logger names

6e8c2217 05/03/2011 01:28 pm Georgios Gousios

More appropriate location and naming

23c84263 05/03/2011 01:27 pm Georgios Gousios

End to end message delivery working

-Move dispatcher methods to seperate file
-configure, load and register them dynamically
-fix bug in cmd-line parameter parsing

fc6f01b7 04/30/2011 02:54 pm Markos Gogoulos

Merge remote branch 'origin/api-current' into ui-0.3

30f3b5e5 04/19/2011 04:13 pm Vangelis Koukis

Allow destroying machines being built

4e8566e4 04/19/2011 04:04 pm Vangelis Koukis

Merge branch 'network-api'

175ffa73 04/19/2011 11:49 am Giorgos Verigakis

Merge branch 'auth-mechanism' of https://code.grnet.gr/git/synnefo into api-current

7e8b41e7 04/18/2011 10:53 pm Vangelis Koukis

Add content in README.deploy, minor fixes

Add a draft description of the various services that need to be
running for a working Synnefo installation. Add documentation for ganeti-0mqd,
db_controller and vncauthproxy.

Fix language error in comment in logic/utils.py.

5231a38a 04/15/2011 07:08 pm Giorgos Verigakis

Raise if vm is deleted or being built

Fixes #351

12fd6446 04/15/2011 02:24 pm Giorgos Verigakis

Fix debugging hardcoded value

529178b1 04/15/2011 02:13 pm Giorgos Verigakis

Code clean up

  • Moved rapi related stuff in logic
  • Added messages to all raised Faults
  • Updated console format
  • Removed unused fixture
  • Better imports
  • Docstring bugfixes
733ab79b 04/15/2011 11:14 am Georgios Gousios

Merge branch 'master' into auth-mechanism

fc30c430 04/14/2011 12:17 pm Vangelis Koukis

Add docstring in get_rsapi_state()

Add improved documentation on how the API state is derived
based on the internal state of the VirtualMachine instance.

8af3b61f 04/12/2011 02:49 pm Georgios Gousios

Fix the remaing tests

8f377cd6 04/12/2011 02:38 pm Georgios Gousios

Shortcut in the aai module to make tests pass

Introduces a test-time runtime variable which allows REST-based (e.g.
api) tests to pass through the authentication module

faa26af8 04/07/2011 01:36 pm Georgios Gousios

Make most tests pass

1896d262 04/06/2011 06:08 pm Georgios Gousios

Fixes to pass some shibboleth related tests

dbf97ed2 04/05/2011 04:29 pm Georgios Gousios

Authentication routine, with comments

938e89ab 04/05/2011 04:28 pm Georgios Gousios

Authentication token duration settings and autogeneration

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