History | View | Annotate | Download (14.8 kB)
Optimize computation of astakos user quotas
Bypass call to quotaholder on an empty input
Unify and rename project management commands
pep8 improvements
downgrade spammy logger.info() to logger.debug()
add capacity to service resource reserves
This is not normally needed, since all resources circulating throughthe system must be allocated from the initial reserve quantities.However, if somehow this consistency is broken, and more quantitiesare released to the reserves than have been allocated from them,...
Register services to quotaholder, skipping existing ones
Display resource quota in user-show command
In sync_users log quotas computed by astakos
Advances in syncing quotaholder with astakos
Factor out trigger_sync() as lock_sync() to be used for othersync processes in addition to sync_projects().Implement sync_users(), which registers users and their quotas.Use both sync processes in astakos-qh-sync management command.
Fix register_resources in QH_PRACTICALLY_INFINITE is not imported
Changes in registering to quotaholder
Add an 'uplimit' (default) field in Resource;change AstakosUserQuota fields to IntDecimalField;pass all four limits of initial quotas to the quotaholder;register services and resources explicitly upon creation;a wrapper for get_quota.
Merge branch 'latest-quota' of https://code.grnet.gr/git/synnefo into latest-quota
Conflicts: snf-astakos-app/astakos/im/forms.py snf-astakos-app/astakos/im/functions.py
Provide commands for importing/exporting existing user resource policies
Wrapper for register_users
Substitute astakos PRACTICALLY_INF
with kamaki.clients.quotaholder import QH_PRACTICALLY_INFINITE
Fix infinite quotaholder value
Set initial resource quantity to something big.
Set import/export limit to something big
snf-astakos-app: fix get_quota, remove prints
Change astakos user registration procedure in order to send to quotaholder 0 instead of None (infinite)
Rewrite quotaholder calls
Astakos fix entity creation for services
Astakos fix quotaholder resource quantities
Conflicts: snf-astakos-app/astakos/im/endpoints/qh.py
Store user.uuid instead of user.email in quotaholder
Fix add_quota, use user id as quotaholder entity
New add_quota API to handle infinity
Separately handle subtractions and additions of quotasAdapt get_diff_quota plus various bug fixes
Fix quotaholder communication
Keep only one application in Project; the membership takes careof tracking updates. Define set_sync(); state stays PENDINGif project.application has changed in the meantime.
Fix NameError
Fix quotaholder client
Astakos wrapper for add_quota
Single model for ProjectApplication & Definition - Membership sync
fix tab
add token to quotaholder client
also rename QUOTA_HOLDER to QUOTAHOLDER in settings strings
Merge remote-tracking branch 'origin/0.12' into devel-0.13
Conflicts: snf-astakos-app/astakos/im/activation_backends.py snf-astakos-app/astakos/im/api/admin.py snf-astakos-app/astakos/im/auth_backends.py snf-astakos-app/astakos/im/forms.py snf-astakos-app/astakos/im/functions.py...
fix quotaholder imports
Fixes