- 18 Apr, 2013 17 commits
-
-
Giorgos Korfiatis authored
Remove quantity, import_limit, export_limit. Update user-set-initial-quota management command.
-
Giorgos Korfiatis authored
Several fields of models Project and ProjectMembership were related to the external syncing to quotaholder and have become obsolete since the inclusion of quotaholder in astakos.
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
Returns quotas for all resources associated with the service that makes the call.
-
Kostas Papadimitriou authored
-
Kostas Papadimitriou authored
- Remove presentation information from Service model (order, icon) - To access the list of services filled with both presentation and api data use Service.catalog(). The method fills a dict with service identifiers and service metadata through the following steps - Initialize a service dict using astakos.im.presentation.service_defaults - Extend (merge and overwrite) it with the correspoding entry in astakos.im.presentation.SERVICES if exists. - Merge once again if user has set service metadata in ASTAKOS_SERVICE_META setting. This way user can change only the desired service parameters. - An example of ASTAKOS_SERVICE_META containing keys which ASTAKOS_SERVICE_META = { 'myservice': { 'name': 'service_identifier', 'url': 'https://service.url/service/ui/', 'verbose_name': 'My service name', 'order': 1, # cloudbar specific parameters 'cloudbar': { 'show': True, 'title': 'My service name in cloudbar' # defaults to verbose_name }, # dashboard specific parameters 'dashboard': { 'show': True, # we use different ordering in dashboard 'order': 100, 'description': 'My service description' } } } - Updated dashboard to use Service.catalog() instead of hardcoded html. - Updated service-* commands to keep up with model changes
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
-
Kostas Papadimitriou authored
-
Kostas Papadimitriou authored
- Remove foreign key dependency between Service/Resource model. Replace it with a service CharField to keep track of the service identifier that the resource was registered from. - Remove all references to resource service name in resource lookups
-
Kostas Papadimitriou authored
-
Giorgos Korfiatis authored
When changing the default base quota (uplimit) for a preexisting resource, do a bulk update of the related holdings. When importing a new resource, create the new related holdings. Prompt the admin for the uplimit in the management command, if a config file is not given.
-
Giorgos Korfiatis authored
Register a service's resources giving option --json <file>. The json file is expected to represent a dictionary with keys "service" and "resources". Currently the default base quota (uplimit) for each resource is read from a configuration json file, given with --conf <file>. This file represents a dictionary with numeric values for each resource name. Upon importing the resources, the quotaholder has to be updated due to the modified resource limits.
-
Giorgos Korfiatis authored
Also remove unused ResourceMetadata model.
-
Giorgos Korfiatis authored
UI-related presentation data go to presentation.py. Remove load_service_resources call and related astakos-init management command.
-
- 17 Apr, 2013 1 commit
-
-
Giorgos Korfiatis authored
-
- 15 Apr, 2013 6 commits
-
-
Giorgos Korfiatis authored
-
Ilias Tsitsimpis authored
* Document 3 new AstakosClient Exceptions * Change package name from snf-astakos-client to astakosclient
-
Ilias Tsitsimpis authored
-
Ilias Tsitsimpis authored
Refs #3440
-
Ilias Tsitsimpis authored
-
Ilias Tsitsimpis authored
Refs #3440
-
- 12 Apr, 2013 15 commits
-
-
Giorgos Korfiatis authored
Incorporate accept/reject functions in resolve_pending_commissions, in order to enforce a total ordering on locking holdings. Add a wrapper (resolve_pending_commission) that operates on a single serial.
-
Ilias Tsitsimpis authored
-
Ilias Tsitsimpis authored
Most astakos-quotas calls use services' tokens
-
Ilias Tsitsimpis authored
-
Ilias Tsitsimpis authored
-
Ilias Tsitsimpis authored
-
Ilias Tsitsimpis authored
-
Ilias Tsitsimpis authored
Refs #3440
-
Ilias Tsitsimpis authored
Refs #3440
-
Ilias Tsitsimpis authored
-
Ilias Tsitsimpis authored
Refs #3440
-
Ilias Tsitsimpis authored
All Exceptions that AstakosClient is raising should be under AstakosClientException class
-
Ilias Tsitsimpis authored
Refs #3440
-
Ilias Tsitsimpis authored
Refs #3440
-
Giorgos Korfiatis authored
No more needed, since quotaholder is integrated in astakos.
-
- 11 Apr, 2013 1 commit
-
-
Giorgos Korfiatis authored
The quotaholder has been integrated in snf-astakos-app package.
-