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
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
Fix description for resource `ram' in settings
Add objpool to snf-common dependencies
Move code and PEP8 fixes
Use 'python-objpool' instead of 'synnefo.lib.pool'
Use the python-objpool package for pooling resources as object, insteadof the pooling code that existed in snf-common ('synnefo.lib.pool')
Refs #3524
Remove override_users option from astakos options
Rename snf-astakos-client to astakosclient
Add astakosclient to snf-django-lib dependencies
Remove client_key parameter from quotas API
It is not necessary, since the service token in used for authorization.The api_method decorator is modified so that it passes to the methodthe service data through the request object.
Docs for resource and quota API
API call for resources
API calls for quotas and commissions
Do not register resources in quotaholder
Prepare quotaholder calls for the new API
- {accept, reject}_commission take a single serial- resolve_pending_commissions takes a set of serials to accept and a set of serials to reject- commission exceptions record the provision on which they are raised...
Merge branch 'release-0.13' of https://code.grnet.gr/git/synnefo into release-0.13
Correct company url in Astakos footer template
Revert unknown account message
Add snf-django-lib to devflow.conf
Remove obsolete Ganeti RAPI client from snf-common
This Ganeti RAPI client has been moved to snf-cyclades-app.
Move parsedate module to snf_django
Add ASTAKOS_URL setting to PITHOS
Common 'api_method' decorator, needs the ASTAKOS_URL setting toauthenticate with Astakos. Create this setting for Pithos basedon PITHOS_AUTHENTICATION_URL.
Remove PITHOS_AUTHENTICATION_USERS setting
Remove this setting as it introduces unnecessary complexity. Also,it will need to be supported by snf-astakos-client. If needed bytests to bypass communication with astakos, a mocking library shouldbe used.
Move common test code to snf_django.lib.testing
Remove VM/Network DeletedError and BuildingError
Handle these errors explicitly in the code instead of the "api_method" decorator.
Remove ImageBackend NotAllowedError
Refs #3359
Use the common 'api_method' decorator in plankton
Use the common 'api_method' decorator in all plankton API methods.Modify the 'plankton_method' decorator to only create and closethe ImageBackend.
Use common 'api_method' decorator to cyclades api
Update Cyclades API methods to use the new common 'api_method'decorator. Also, update all the relevant tests.
Use common 'api_method' decorator to astakos api
Update all astakos API methods to use the new common 'api_method'decorator. The 'api_method' decorator 'user_required' optionauthenticates uses by their token through astakos. Consequently,astakos methods can not use this option. Instead, two custom...
Use common 'api_method' decorator in pithos api
Add fault.xml template to pithos and astakos
Remove dead code
Implement single decorator for handling API calls
Create a single decorator for API methods to be used be accross allsynnefo. This decorator does the following: