Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / quotaholder / exception.py @ e03ccd07

History | View | Annotate | Download (2.7 kB)

# Date Author Comment
79e3da8a 04/08/2013 01:36 pm Giorgos Korfiatis

Prepare quotaholder calls for the new API

- {accept, reject}_commission take a single serial
- resolve_pending_commissions takes a set of serials to accept
and a set of serials to reject
- commission exceptions record the provision on which they are raised...

2864e701 04/05/2013 06:49 pm Giorgos Korfiatis

Turn holding into a counter

The role of Holding is now only to keep track of usage against
a limit. There is no more exporting of resources and thus no need
for the stock counters.

3adbfafa 04/05/2013 06:48 pm Giorgos Korfiatis

wip Remove import_limit and export_limit from policy

If needed, they can be simulated by importing from special resources.

d03796c2 04/05/2013 06:48 pm Giorgos Korfiatis

Redesign quota holding

A Holding now tracks the current usage (amount imported)
and the amount available to export (stock).

Counters come in pairs (imported_min, imported_max and
stock_min, stock_max respectively) to allow for a two-step
commission.

For example, issuing a commission to import some quantity...

b0727daf 04/05/2013 06:48 pm Giorgos Korfiatis

wip Remove dependency from commissioning

Define exceptions locally

1d2b20aa 04/05/2013 06:48 pm Giorgos Korfiatis

wip Remove Entity model