Statistics
| Branch: | Tag: | Revision:

root / snf-quotaholder-app @ 9a4600b7

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

improve pep8 compliance

5adcc57e 02/07/2013 02:14 pm Christos Stavrakakis

Fixes to setup.py

Update author/maintainer name/email of all synnefo projects. Also fix
short description and some whitespace issues.

778081b0 01/29/2013 06:19 pm Christos Stavrakakis

Do not automatically update version files

Do not automatically update version files from setup.py. From now
on, version files are updated using 'update_version.py' script and
'devflow'.

Also removed autopkg.conf and created devflow.conf configuration file.

91a401ea 01/26/2013 03:27 pm Christos Stavrakakis

Remove devflow dependency from quotaholder setup

5d3daee1 01/16/2013 01:01 pm Christos Stavrakakis

Remove devtools and rename to devflow

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

16c63ca4 01/07/2013 01:52 pm Giorgos Korfiatis

Import QH_PRACTICALLY_INFINITE in tests

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

0caece02 12/10/2012 05:17 pm Giorgos Korfiatis

Keep the DB but flush it at start up of testing

8f93a57a 12/10/2012 05:17 pm Giorgos Korfiatis

Use a postgres DB for testing

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

Check list_entities on sorted output

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

Disallow commission when source == target

8a904c14 12/05/2012 11:33 am Giorgos Korfiatis

Merge two tests for quotaholder api

3c877c34 12/04/2012 06:36 pm Giorgos Korfiatis

Add quotaholder token for tests

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.

18e54648 12/03/2012 12:48 pm Giorgos Korfiatis

Cleanup

763b4da1 12/03/2012 12:35 pm Giorgos Korfiatis

A couple of more tests for quotaholder

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

Implement reset_holding API call

187bd5d9 11/30/2012 06:30 pm Giorgos Korfiatis

Test issue_commission

b0701351 11/30/2012 03:42 pm Giorgos Korfiatis

Merge remote-tracking branch 'origin/quota' into devel-0.13

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

b0a1d46e 11/30/2012 02:27 pm Giorgos Korfiatis

One more test for quotaholder

e893482e 11/30/2012 02:15 pm Giorgos Korfiatis

Change testing port

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

Remove quotaholder migrations

68c8e18d 11/30/2012 12:48 pm Giorgos Korfiatis

Use SYNNEFO_SETTINGS_DIR in quotaholder testing

c9f1cf17 11/29/2012 07:02 pm Giorgos Korfiatis

Update quotaholder testing configuration

f4b5454c 11/29/2012 07:02 pm Giorgos Korfiatis

Clean up testing config

fb2aacf2 11/29/2012 07:02 pm Giorgos Korfiatis

Add more tests for quotaholder

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

5d8b2d8d 11/27/2012 02:46 pm Georgios D. Tsoukalas

fix quotaholder_app in synnefo_settings

eacc1e09 11/26/2012 06:37 pm Giorgos Korfiatis

Register quotaholder-manage in scripts

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

Remove a print

c6243022 11/26/2012 03:23 pm Kostas Papadimitriou

Namespace quotas api url

to avoid conflicts with cyclades-app

e6f3e652 11/26/2012 02:20 pm Kostas Papadimitriou

snf-ize quotaholder-app package

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.

ddf4eaad 11/23/2012 05:29 pm Giorgos Korfiatis

Add missing copyright

c803f606 11/23/2012 05:28 pm Giorgos Korfiatis

Update imports

f1c288e9 11/23/2012 05:25 pm Giorgos Korfiatis

Remove old files

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

Add copyright.

889be75c 11/23/2012 03:39 pm Giorgos Korfiatis

Move tests to snf-quotaholder-app

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