astakos: Move get_resources in resources.py
Rename users_quotas to astakos_users_quotas
astakos: Move quota syncing code in quotas.py
astakos: Decouple listing from syncing quotas code
Sync user after changing base quota
Respect user-specific quota when changing resource default
Do not update holding limit if there exist user-specific base quotafor the particular resource.
quotaholder: Do no side effect on failed commissions
Make sure that no Commission or Provision entry is created whenissue_commission fails, even if the transaction is committed.
astakos: remove js debug statement
quotaholder: Fix printing of holding key
quotaholder: Improve data of NoCapacityError
Replace `available' by two fields: `limit' and `usage'.
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...
Service catalog fix
also include services for which no existing presentation data exist.Admin can use ASTAKOS_SERVICE_META setting to customize the servicepresentation metadata.
Store service access url in database
Add missing init for snf_django.lib.db package
Update astakos usage view
Update view to use the introduced astakos quotas api.
astakosclient: Add user option in get_service_quotas
astakos: Add user parameter in service_quotas API call
Using this parameter, the service can query the quotas of a specificuser.
Move transaction.py to snf_django package
snf_django: Add missing import for IntDecimalField
Needed for formfield() method.
Move intdecimalfield.py to snf_django package
Rename it to fields.py and update all migrations that reference the field.
Move managers.py to snf_django package
astakos: Remove obsolete ProjectResourceGrant fields
astakos: Handle source correctly in initial_quotas
astakos: Remove obsolete fields of AstakosUserQuota
Remove quantity, import_limit, export_limit.Update user-set-initial-quota management command.
astakos: Remove obsolete project-related model fields
Several fields of models Project and ProjectMembership were relatedto the external syncing to quotaholder and have become obsolete sincethe inclusion of quotaholder in astakos.
astakosclient: Add request for service quotas
Move resource data away from astakos settings
UI-related presentation data go to presentation.py.Remove load_service_resources call and related astakos-initmanagement command.
Make resource name independent of service name
Also remove unused ResourceMetadata model.
Import resources from definition and config files
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...
Sync quotas efficiently when importing resources
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...
Cleanup CLRF's
Remove resource/service model dependencies
- 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
Use updated resource models in projects views
Update resource-list management command
Modify resource limit from the command line
Services api/presentation logic cleanup
- 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...
Astakos missing Service model migrations
New call astakos/api/service_quotas
Returns quotas for all resources associated with the service that makesthe call.
astakos: update service-add and service-list
astakos: fix default empty dict setting
Make astakos-quota robust on missing base quotas
Merge branch 'feature-quotas-astakosclient' into feature-quotas
astakosclient: Documentation changes
astakosclient: Add documentation for quotas functionality
astakosclient: Create function issue_one_commission
Refs #3440
astakosclient: Create function check_input to simplify code
astakosclient: Resolve multiple commissions at once
quotaholder: Unify accept and reject commission code
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 singleserial.
astakosclient: Add some more unit-tests
astakosclient: Rephrase some comments
Most astakos-quotas calls use services' tokens
astakosclient: Rename some functions
astakosclient: Raise BadValue when failing to parse request data
astakosclient: Add request for commission's actions
astakosclient: ReRaise json Exceptions as AstakosClient ones
astakosclient: Add request for commission's info
astakosclient: Add request for pending commissions
astakosclient: PEP-8 style fixes
astakosclient: Add request for Commissions
astakosclient: Replace ValueError with BadValue
All Exceptions that AstakosClient is raising shouldbe under AstakosClientException class
astakosclient: Add request for Quotas
astakoclient: Add request for Resource List
Remove quotaholder views and urls files
No more needed, since quotaholder is integrated in astakos.
Remove snf-quotaholder-app package and devflow entry
The quotaholder has been integrated in snf-astakos-app package.
Move astakos webproject hooks
move astakos.im.synnefo_settings to astakos.synnefo_settings and makethe appropriate changes in setup.py
Merge branch 'develop' into feature-quotas
Conflicts: snf-astakos-app/astakos/im/api/service.py snf-quotaholder-app/quotaholder_django/quotaholder_app/callpoint.py
Cleanup obsolete quota code
Add 'snf-django-lib' to dependencies
Merge branch 'feature-snf-django' into develop
Conflicts: docs/older/Changelog.pithos-app snf-astakos-app/astakos/im/api/__init__.py snf-pithos-app/pithos/api/util.py
Add section for v0.13next to NEWS and Changelog
Add release dates for version 0.13
Merge branch 'release-0.13' into develop
Conflicts: snf-astakos-app/astakos/im/messages.py
Fix create vm view images filtering in cyclades ui
use the new synnefo.user method `get_username` to populatepersonal/shared images.
Force query to list before passing as argument
An unevaluated query ends up being used as an argument of intended listtype to another query, which fails in the case of an EmptyQuerySet, whichis not iterable.
Remove unused example.conf from -gtools.
Remove kvm-vif-bridge script from repo
kvm-vif-bridge is provided by snf-network. Remove it from the synneforepo to avoid confusion.
snf-django-lib: PEP-8 style fixes
snf-django-lib: ReRaise AstakosClientExceptions as API Faults
snf-django-lib: Fault Exceptions now have code attr
astakosclient: AstakosClientException now has details attr
quotaholder: Impose ordering on locking holdings
Prefetch all holdings required for update with a specified order(by entity/resource pair).
Refs #3560
Further updates for Changelog file for 0.13
Update Changelog file for 0.13
Include 0.13 helpdesk features in NEWS file
Astakos dashboard url change
landing instead of user profile
astakosclient: For objpool pool_size is now size
Even more updates to the NEWS file for 0.13
Further updates to the NEWS file for 0.13
PEP8 styling fixes in faults.py
Initial update of NEWS file for 0.13
Update installation guide
Refs: #3519
Stamp Database Revision section
Fix url typo
Deactivate pithos md5 update by default
Refs: #3554
Update Changelog
Refs: #3561
Make all Changelog files prior to 0.13 obsolete
Since v0.13, all Synnefo components will have the same version and thesame Changelog, NEWS, Upgrade, Copyright file. This patch addressesold Changelog, NEWS and Upgrade files:
Make pithos backend pool size configurable
Project admins and max pending projects in docs
Fix typo
Add snf-django-lib to ci/config
Move astakos lib from snf-common to snf-django-lib
Make pending project options more descriptive