Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app @ 2b888e60

Name Size
  .settings
  astakos
  conf
  docs
COPYRIGHT 1.5 kB
Changelog 5.1 kB
MANIFEST.in 318 Bytes
README 18.2 kB
distribute_setup.py 15.4 kB
setup.cfg 77 Bytes
setup.py 7.3 kB

Latest revisions

# Date Author Comment
8288906d 04/05/2013 06:48 pm Giorgos Korfiatis

Remove unused code

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

wip Update astakos.im to use local quotaholder

Import directly quotaholder.callpoint in endpoint/qh.py
instead of an HTTP client.
Remove code related to entities, such as registering users and services.
Remove sync_projects logic.

992b81b6 04/05/2013 06:48 pm Giorgos Korfiatis

wip Remove check whether membership is pending sync

It is not needed any more, syncing to quotaholder will happen
in a single transaction along with the call initiating the change.

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

wip Remove check is_active on projects and memberships

Remove second phase of (de)activation, not needed any more,
since syncing to quotaholder will happen in the same transaction
as the call initiating the syncing.

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.

14a58548 04/05/2013 06:48 pm Giorgos Korfiatis

wip Update astakos.im to simplified quotaholder policy

570015d2 04/05/2013 06:48 pm Giorgos Korfiatis

wip New, simplified syncing to quotaholder

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.

View revisions

Also available in: Atom