fix+test for issue_commission release logic
issue_commission() with negative quantity is consideredto be a 'release' instead of an 'allocation'.The limit checks for the conditions or the release weresomewhat incomplete and inconsistent.
The new logic also fixes the bug found by kpap where...
wip Use decimals to store quota values; infinite quotas no more supported
Define custom integer field that is stored in the DB as decimal
Import QH_PRACTICALLY_INFINITE in tests
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
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.
Keep the DB but flush it at start up of testing
Use a postgres DB for testing
Check list_entities on sorted output
Merge two tests for quotaholder api
Add quotaholder token for tests
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.
Cleanup
A couple of more tests for quotaholder
Test issue_commission
One more test for quotaholder
Change testing port
Use SYNNEFO_SETTINGS_DIR in quotaholder testing
Update quotaholder testing configuration
Clean up testing config
Add more tests for quotaholder
snf-ize quotaholder-app package