Statistics
| Branch: | Tag: | Revision:

root / snf-django-lib / snf_django @ f089ffca

Name Size
  lib
  utils
__init__.py 0 Bytes

Latest revisions

# Date Author Comment
f089ffca 06/25/2013 03:24 pm Christos Stavrakakis

snf-django: Add retry option to AstakosClient

API method decorator should initialize the AstakosClient with the retry
argument set, in order to avoid errors caused by getting an old
connection from pool.

f9662798 06/19/2013 04:09 pm Kostas Papadimitriou

django-lib: Use requested default serialization

d0d9a3f5 06/18/2013 06:42 pm Kostas Papadimitriou

django-lib: api_method decorator improvements

allow API views to define supported serializations.

2ad4eb80 06/17/2013 01:35 pm Kostas Papadimitriou

django-lib: Additional BaseAPITest helper assertion

Introduce assertMethodNotAllowed method in BaseAPITest class. The method
asserts that provided response is a valid ``Method not allowed`` API response.

fced411d 06/13/2013 01:43 pm Kostas Papadimitriou

djangolib: Common JSONP helper method

67c10753 06/13/2013 12:37 pm Kostas Papadimitriou

djangolib: Improve root redirect handling

- avoid registering root url in case <base_path> equals to root url
- additional helper redirect for non trailing slash <base_path> endpoint

2ea43f58 06/13/2013 11:38 am Kostas Papadimitriou

djangolib: Append trailling slash on default root redirects

269ac8de 06/12/2013 02:28 pm Christos Stavrakakis

Ensure we return cloud faults under any API prefix

2b40f200 06/10/2013 08:00 pm Christos Stavrakakis

Make API faults have default 500 status code

Make the default status code of API Fault and AstakosClientException
to be 500.

6b560707 06/10/2013 11:06 am Sofia Papagiannaki

snf_django: Optionally use other default serialization than json

Pithos api default serialization for listing is text insted of json.
However the common api decorator if not specified otherwise used to
json as the default serialization.
So we introduced a new optional argument (defaults to json) to override...

View revisions

Also available in: Atom