Replace 'synnefo.lib.http' with 'objpool.http'
snf-django-lib: provide proxy functionality
snf_django: Use wraps in transaction decorator
This is to preserve name of called function.
Improve mocked quotaholder
Mock 'resolve_commissions' call.
Mock quotaholder for Cyclades tests
Create 'mocked_quotaholder' context manager to bypass commission and useit in Cyclades tests. Also this commit does some various fixes to othertests.
Improve log message
Distinguish exceptions while using AstakosClient to communicate withAstakos, from the rest API errors.
Handle AstakosClientException in api_method decorator
snf_django.lib.astakos: Use astakosclient
Do not log in transaction decorator
Merge branch 'develop' into feature-quotas
Conflicts: astakosclient/astakosclient/__init__.py astakosclient/astakosclient/errors.py astakosclient/astakosclient/tests.py docs/index.rst
Add missing init for snf_django.lib.db package
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
Fix API decorator response Content-Type
Remove check for response Content-Type, since 'django.http.HttpResponse'has always a default Content-Type of 'text/html; charset=utf-8'. Viewsdefining their response 'Content-Type' should set the'override_serialization' attribute of response to 'True'.
Make 'api_method' to take astakos_url as argument
Improve settings related to ASTAKOS url
Rename 'PITHOS_AUTHENTICATION_URL' setting to 'ASTAKOS_URL'. Also remove'PITHOS_AUTHENTICATION_USERS' from docs (it was removed from code incommit 8df4fae).
Modify 'ASTAKOS_URL' to point to the node hosting the Astakos service...
snf-django-lib: PEP-8 style fixes
snf-django-lib: ReRaise AstakosClientExceptions as API Faults
snf-django-lib: Fault Exceptions now have code attr
PEP8 styling fixes in faults.py
Fix typo
Move astakos lib from snf-common to snf-django-lib
Rename snf-astakos-client to astakosclient
Add astakosclient to snf-django-lib dependencies
Move parsedate module to snf_django
Move common test code to snf_django.lib.testing
Create 'snf-django-lib'
Create 'snf-django-lib', common Synnefo library for django.
Move cloud faults to 'snf_django.lib.api.faults'
Gather all faults from all synnefo projects into common'snf_django.lib.api.faults'.
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: