Redefine IntDecimalField to allow support for south migration;apply the new field to astakos.im.ProjectResourceGrant
wip Use decimals to store quota values; infinite quotas no more supported
Define custom integer field that is stored in the DB as decimal
Set default quota values in _increase_resource
Add details in exceptions raised in issue_commission
Exceptions regarding limit violations now carry detailsas specified in CommissionValueException
New add_quota API to handle infinity
Separately handle subtractions and additions of quotasAdapt get_diff_quota plus various bug fixes
Do not record arguments of add_quota.Add call query_serials separate from ack_serials.
Record arguments of add_quota and return them in ack_serial
Add a serial in the add_quota API call
add_quota API call
Replace commit_on_success with commit_manually.The callpoint takes care of committing.
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 thatthe entire call failed due to the actions mentioned in the list.
select_for_update for quotaholder
Simplify set_quota implementation
Disallow commission when source == target
fix obscure bug in callpoint class that triggered db integrity errors
Callpoint class had a placeholder attribute original_callswhich was initialized as an empty dictionary,and thus was usable. Class init() code did not initializeoriginal_calls as it should but because the placeholder was...
allocate quotaholder serials via database sequence
make quotaholder token a required setting
add list_holdings quotaholder api call
list_holdings() to be used to get all holdings for multiple resourceswithout having to call list_resources/get_holding for each entity/holding.
Implement reset_holding API call
authenticate quotaholder http calls with a token
Quotaholder returns 403 invalid token if the request'sX-AUTH-TOKEN header does not match settings.QUOTAHOLDER_TOKEN
Remove quotaholder migrations
Move resource if > 0
Check for pending commissions per entity, resource
csrf_excempt quotaholder view
set quotaholder urls
- quotaholder base url is of the form 'http://host/quotaholder/v/'- cyclades setting name set to CYCLADES_QUOTAHOLDER_URL
eliminate unused imports
Remove a print
Rename set_full_holding to init_holding
Implement release_holding
Pass Entity instead of string.
API call to set the whole holding.
Do not create entity in issue_commission.
Do not allow duplicate provisions in a commission.
Add copyright.
Move commissioning into snf-common.
Missing urls.py file.
Rename in fixtures.
Merge quotaholder into synnefo