- 05 Apr, 2013 28 commits
-
-
Giorgos Korfiatis authored
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.
-
Giorgos Korfiatis authored
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 increases imported_max. When accepting the commission, imported_min increases by the same quantity; at the same time the stock counters increase, too, since the quantity imported becomes available for re-export. This commissioning logic is factored out for clarity in file commission.py. Remove also quantity (initial supply) from Policy. This can be simulated by setting the holding counters to the desired value. Since capacity now represents the total capacity, care must be taken that it be no less than the initial supply set as suggested.
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
Keyword arguments in quotaholder calls defaulted to empty pair, although they were actually expecting a list.
-
Giorgos Korfiatis authored
If needed, they can be simulated by importing from special resources.
-
Giorgos Korfiatis authored
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.
-
Giorgos Korfiatis authored
It is not needed any more, syncing to quotaholder will happen in a single transaction along with the call initiating the change.
-
Giorgos Korfiatis authored
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.
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
Define exceptions locally
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
quotaholder_django/quotaholder_app becomes astakos/quotaholder quotaholder_django/test becomes astakos/quotaholder/test
-
Giorgos Korfiatis authored
Replace custom transaction context with: - decorator `commit_on_success_strict', which uses transaction.commit_manually and ensures that the transaction rolls back on any exception - context ExceptionHandler, which logs and suppresses exceptions
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
-
Sofia Papagiannaki authored
Refs: #3519 Add a stamp database revision section in the guide.
-
Sofia Papagiannaki authored
-
Sofia Papagiannaki authored
Invite view and function had the same name.
-
- 04 Apr, 2013 1 commit
-
-
Ilias Tsitsimpis authored
-
- 03 Apr, 2013 4 commits
-
-
Stratos Psomadakis authored
-
Constantinos Venetsanopoulos authored
The Integrator's Guide is outdated, keep it as a file, but remove it from the documentation's index page.
-
Georgios D. Tsoukalas authored
-
Stratos Psomadakis authored
-
- 02 Apr, 2013 7 commits
-
-
Christos Stavrakakis authored
Plankton backend raised AssertionError when an Image was not found. Change this to raise faults.ItemNotFound error. Temporary commit until common API decorator is implemented. Refs #3356
-
Christos Stavrakakis authored
Until now, deleting an image resulted in deletion of the corresponding file from Pithos. Plankton Images are files in Pithos with special metadata on the 'plankton' metadata domain. Adding an Image to plankton is equivalent with adding some special metadata in this domain. In the same way, this commit implements Image deletion by deleting these metadata, and retaining the original file in Pithos. Refs #3522
-
Christos Stavrakakis authored
Do not use a default value (was "MAC_FILTERED") for "type" parameter of "network_create" API method. The client must explicitly choose the network type.
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
-
Constantinos Venetsanopoulos authored
-
Christos Stavrakakis authored
Fix CSV output format of ListCommand using csv python module, instead of manually trying to format them. Also fix small issues with --no-headers option.
-