Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / quotaholder @ 2b888e60

Name Size
  test
  utils
__init__.py 1 Byte
api.py 35 Bytes
callpoint.py 20 kB
commission.py 7.6 kB
exception.py 2.5 kB
models.py 4.8 kB
urls.py 2.3 kB
views.py 2.9 kB

Latest revisions

# Date Author Comment
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.

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

Default quotaholder input to empty list

Keyword arguments in quotaholder calls defaulted to empty pair,
although they were actually expecting a list.

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...

2b888e60 04/05/2013 06:48 pm Giorgos Korfiatis

Merge Policy model into Holding

Since the removal of quantity, Policy was left with only one value:
capacity. To simplify things, we directly include capacity in Holding.

This makes obsolete the following functions, which are removed:
get_limits, set_limits, get_holding, set_holding.

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

8b54001e 04/05/2013 06:48 pm Giorgos Korfiatis

wip Rename entity into holder

588d107d 04/05/2013 06:48 pm Giorgos Korfiatis

Return a holding as a tuple rather than list

8cff5e41 04/05/2013 06:48 pm Giorgos Korfiatis

wip Remove CallSerial model and related calls

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

Update quotaholder unit tests

View revisions

Also available in: Atom