History | View | Annotate | Download (6.3 kB)
astakos: List quotas in user-show with `--quotas'
Refs #3530
Use the same utility function as astakos-quota. Update the latterto a SynnefoCommand.
Merge branch 'feature-change-astakos-commands' into feature-quotas
Conflicts: snf-astakos-app/astakos/im/management/commands/resource-list.py snf-astakos-app/astakos/im/management/commands/service-list.py snf-astakos-app/astakos/im/management/commands/service-modify.py...
astakos: Decouple listing from syncing quotas code
astakos: Change response for API call `quotas'
The following indicators are returned for each holding:"limit": the quota limit (as before)"usage": the current usage (pessimistically, includes any pending allocations)"pending": the difference of max and min allocation, indicates...
Move transaction.py to snf_django package
Make astakos-quota robust on missing base quotas
Minor changes in astakos commands
Adjust astakos to new holding design
Simplifications due to removal of quantity and merging capacity into holding.Also make sure that holders and resources are represented as strings inquotaholder calls.
Compute and show quotas by source
Adjust astakos code to the new nested dict structure of quotas.
Move quota-related code out of models.py
Intention is to collect all quota-related code to a single file.
wip Update astakos.im to use local quotaholder
Import directly quotaholder.callpoint in endpoint/qh.pyinstead of an HTTP client.Remove code related to entities, such as registering users and services.Remove sync_projects logic.
Change output of astakos-quota --sync
Inform specifically which users, if any, have been synced, instead oflisting the whole diff. The latter can be recovered by giving theoption --verify.
Inform user we are working in the background
Print a message about astakos-quota calculating all user quotas,which on a big system takes some time.
astakos-quota: allow syncing with --user
List quotas for a specified user
Refs #3389
Unify and rename project management commands