Statistics
| Branch: | Tag: | Revision:

root / snf-django-lib @ fed0b230

# Date Author Comment
fed0b230 05/15/2013 06:38 pm Christos Stavrakakis

Replace 'synnefo.lib.http' with 'objpool.http'

33c84784 05/15/2013 06:20 pm Sofia Papagiannaki

snf-django-lib: provide proxy functionality

0148b2cb 05/14/2013 05:06 pm Giorgos Korfiatis

snf_django: Use wraps in transaction decorator

This is to preserve name of called function.

27899d6f 05/09/2013 03:13 pm Christos Stavrakakis

Improve mocked quotaholder

Mock 'resolve_commissions' call.

184a2a8c 04/30/2013 05:05 pm Christos Stavrakakis

Mock quotaholder for Cyclades tests

Create 'mocked_quotaholder' context manager to bypass commission and use
it in Cyclades tests. Also this commit does some various fixes to other
tests.

255cef57 04/30/2013 05:03 pm Christos Stavrakakis

Improve log message

Distinguish exceptions while using AstakosClient to communicate with
Astakos, from the rest API errors.

726cb37f 04/30/2013 05:03 pm Ilias Tsitsimpis

Handle AstakosClientException in api_method decorator

81a906f8 04/30/2013 05:03 pm Ilias Tsitsimpis

snf_django.lib.astakos: Use astakosclient

46e233b2 04/29/2013 05:30 pm Giorgos Korfiatis

Do not log in transaction decorator

65fb5cf6 04/25/2013 04:22 pm Giorgos Korfiatis

Merge branch 'develop' into feature-quotas

Conflicts:
astakosclient/astakosclient/__init__.py
astakosclient/astakosclient/errors.py
astakosclient/astakosclient/tests.py
docs/index.rst

7534d44c 04/19/2013 05:39 pm Kostas Papadimitriou

Add missing init for snf_django.lib.db package

b830f774 04/19/2013 12:29 pm Giorgos Korfiatis

Move transaction.py to snf_django package

3b3baf88 04/19/2013 12:28 pm Giorgos Korfiatis

snf_django: Add missing import for IntDecimalField

Needed for formfield() method.

b052f360 04/19/2013 12:23 pm Giorgos Korfiatis

Move intdecimalfield.py to snf_django package

Rename it to fields.py and update all migrations that reference the field.

222a4f6a 04/19/2013 11:09 am Giorgos Korfiatis

Move managers.py to snf_django package

b698d39d 04/16/2013 08:22 pm Christos Stavrakakis

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'. Views
defining their response 'Content-Type' should set the
'override_serialization' attribute of response to 'True'.

47ef53d5 04/15/2013 05:17 pm Christos Stavrakakis

Make 'api_method' to take astakos_url as argument

4ab620b6 04/15/2013 04:11 pm Christos Stavrakakis

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 in
commit 8df4fae).

Modify 'ASTAKOS_URL' to point to the node hosting the Astakos service...

93c6900c 04/10/2013 12:18 pm Ilias Tsitsimpis

snf-django-lib: PEP-8 style fixes

6c1c0738 04/10/2013 12:05 pm Ilias Tsitsimpis

snf-django-lib: ReRaise AstakosClientExceptions as API Faults

fde7b7cb 04/10/2013 12:00 pm Ilias Tsitsimpis

snf-django-lib: Fault Exceptions now have code attr

420c24ee 04/09/2013 05:31 pm Ilias Tsitsimpis

PEP8 styling fixes in faults.py

be5ea27b 04/08/2013 06:17 pm Christos Stavrakakis

Fix typo

04a1b675 04/08/2013 06:17 pm Christos Stavrakakis

Move astakos lib from snf-common to snf-django-lib

1ecb12b5 04/08/2013 02:56 pm Christos Stavrakakis

Rename snf-astakos-client to astakosclient

088188f2 04/08/2013 02:56 pm Christos Stavrakakis

Add astakosclient to snf-django-lib dependencies

896754a6 04/08/2013 11:07 am Christos Stavrakakis

Move parsedate module to snf_django

d2b8ec7b 04/08/2013 11:07 am Christos Stavrakakis

Move common test code to snf_django.lib.testing

a712571b 04/08/2013 11:06 am Christos Stavrakakis

Create 'snf-django-lib'

Create 'snf-django-lib', common Synnefo library for django.

bd40abfa 04/08/2013 11:06 am Christos Stavrakakis

Move cloud faults to 'snf_django.lib.api.faults'

Gather all faults from all synnefo projects into common
'snf_django.lib.api.faults'.

72bf812d 04/08/2013 11:06 am Christos Stavrakakis

Implement single decorator for handling API calls

Create a single decorator for API methods to be used be accross all
synnefo. This decorator does the following:

  • Proper logging of 5xx faults and unexpected errors
  • Authentication with Astakos using snf-astakos-client...