Statistics
| Branch: | Tag: | Revision:

root / snf-quotaholder-app / quotaholder_django / quotaholder_app @ 9a4600b7

# Date Author Comment
e5a2e942 02/14/2013 04:26 pm Georgios D. Tsoukalas

improve pep8 compliance

d551c841 01/11/2013 01:29 pm Georgios D. Tsoukalas

fix+test for issue_commission release logic

issue_commission() with negative quantity is considered
to be a 'release' instead of an 'allocation'.
The limit checks for the conditions or the release were
somewhat incomplete and inconsistent.

The new logic also fixes the bug found by kpap where...

ea818d33 01/10/2013 04:12 pm Georgios D. Tsoukalas

allow overlimit entities to release resources

When a resource holding is found with quantity exceeding its capacity,
it cannot allocate any more quantities,
but it should be able to release quantities.
However, if even after the release the quantity remained...

c11dc0ce 01/07/2013 05:20 pm Giorgos Korfiatis

Redefine IntDecimalField to allow support for south migration;
apply the new field to astakos.im.ProjectResourceGrant

08ce0e6f 01/07/2013 01:52 pm Giorgos Korfiatis

wip Use decimals to store quota values; infinite quotas no more supported

39462ae0 01/07/2013 01:52 pm Giorgos Korfiatis

Define custom integer field that is stored in the DB as decimal

b34e1044 01/07/2013 01:52 pm Giorgos Korfiatis

Set default quota values in _increase_resource

f631150c 12/21/2012 05:14 pm Giorgos Korfiatis

Add details in exceptions raised in issue_commission

Exceptions regarding limit violations now carry details
as specified in CommissionValueException

d2b32360 12/19/2012 02:21 pm Giorgos Korfiatis

New add_quota API to handle infinity

Separately handle subtractions and additions of quotas
Adapt get_diff_quota plus various bug fixes

2fd11a01 12/18/2012 03:31 pm Giorgos Korfiatis

Do not record arguments of add_quota.
Add call query_serials separate from ack_serials.

ef0fa70b 12/17/2012 06:32 pm Giorgos Korfiatis

Record arguments of add_quota and return them in ack_serial

789d202d 12/17/2012 04:40 pm Giorgos Korfiatis

Add a serial in the add_quota API call

4ec8c043 12/13/2012 05:53 pm Giorgos Korfiatis

add_quota API call

007ba2b4 12/11/2012 11:22 am Giorgos Korfiatis

Replace commit_on_success with commit_manually.
The callpoint takes care of committing.

eeba67ab 12/10/2012 07:34 pm Giorgos Korfiatis

Make side-effecting quotaholder API calls fail completely,
if part of the request is rejected.

If such a call returns a non-empty list, this means that
the entire call failed due to the actions mentioned in the list.

5d996aea 12/10/2012 05:58 pm Giorgos Korfiatis

select_for_update for quotaholder

e36a8c21 12/10/2012 05:17 pm Giorgos Korfiatis

Simplify set_quota implementation

4eb170f3 12/10/2012 05:17 pm Giorgos Korfiatis

Disallow commission when source == target

39cefb25 12/04/2012 02:36 pm Georgios D. Tsoukalas

fix obscure bug in callpoint class that triggered db integrity errors

Callpoint class had a placeholder attribute original_calls
which was initialized as an empty dictionary,
and thus was usable. Class init() code did not initialize
original_calls as it should but because the placeholder was...

140513a9 12/04/2012 12:17 pm Georgios D. Tsoukalas

allocate quotaholder serials via database sequence

6f512a6f 12/04/2012 12:17 pm Georgios D. Tsoukalas

make quotaholder token a required setting

65f214a2 12/03/2012 01:15 pm Georgios D. Tsoukalas

add list_holdings quotaholder api call

list_holdings() to be used to get all holdings for multiple resources
without having to call list_resources/get_holding for each entity/holding.

4c00b904 12/03/2012 12:02 pm Giorgos Korfiatis

Implement reset_holding API call

51c1544c 11/30/2012 02:36 pm Georgios D. Tsoukalas

authenticate quotaholder http calls with a token

Quotaholder returns 403 invalid token if the request's
X-AUTH-TOKEN header does not match settings.QUOTAHOLDER_TOKEN

7767f77a 11/30/2012 01:12 pm Sofia Papagiannaki

Remove quotaholder migrations

32464501 11/28/2012 05:32 pm Giorgos Korfiatis

Move resource if > 0

cceadca8 11/28/2012 05:30 pm Giorgos Korfiatis

Check for pending commissions per entity, resource

3f4d77bb 11/28/2012 02:09 pm Georgios D. Tsoukalas

csrf_excempt quotaholder view

e16cf080 11/27/2012 06:01 pm Georgios D. Tsoukalas

set quotaholder urls

- quotaholder base url is of the form 'http://host/quotaholder/v/'
- cyclades setting name set to CYCLADES_QUOTAHOLDER_URL

3b59f34b 11/27/2012 05:18 pm Georgios D. Tsoukalas

eliminate unused imports

351b8bf0 11/26/2012 04:12 pm Giorgos Korfiatis

Remove a print

a7cdc223 11/26/2012 12:01 pm Giorgos Korfiatis

Rename set_full_holding to init_holding

8dc7c13b 11/26/2012 11:05 am Giorgos Korfiatis

Implement release_holding

3efa255b 11/26/2012 11:03 am Giorgos Korfiatis

Pass Entity instead of string.

5b522bc3 11/26/2012 11:02 am Giorgos Korfiatis

API call to set the whole holding.

7b1891cc 11/26/2012 11:00 am Giorgos Korfiatis

Do not create entity in issue_commission.

6afede3f 11/26/2012 10:57 am Giorgos Korfiatis

Do not allow duplicate provisions in a commission.

3e5941c1 11/23/2012 04:24 pm Giorgos Korfiatis

Add copyright.

f54beeea 11/23/2012 03:36 pm Giorgos Korfiatis

Move commissioning into snf-common.

bbccab8a 11/23/2012 02:01 pm Giorgos Korfiatis

Missing urls.py file.

5fb2e26b 11/22/2012 06:21 pm Giorgos Korfiatis

Rename in fixtures.

833abd3c 11/22/2012 06:00 pm Giorgos Korfiatis

Merge quotaholder into synnefo