Statistics
| Branch: | Tag: | Revision:

root / snf-django-lib / snf_django / lib / api @ fced411d

Name Size
  proxy
__init__.py 8.9 kB
faults.py 2.8 kB
parsedate.py 3.5 kB
urls.py 2.7 kB
utils.py 3.6 kB

Latest revisions

# Date Author Comment
fced411d 06/13/2013 01:43 pm Kostas Papadimitriou

djangolib: Common JSONP helper method

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...

a0a3da60 06/07/2013 12:56 am Kostas Papadimitriou

django-lib: API url patterns helper

`snf_django.lib.api.urls.api_patterns` acts as django `patterns` method
used commonly in urls modules. Using api_patterns to register urls will
result all patterns to be exempted from csrf protection.

81e19e70 06/07/2013 12:49 am Kostas Papadimitriou

django-lib: Exempt api_method views from csrf

12c730d9 06/03/2013 03:32 pm Georgios D. Tsoukalas

django-lib: fix missing 'raise' typo

152e7bba 06/03/2013 11:50 am Georgios D. Tsoukalas

snf-django proxy: preserve the response's headers

e3ff6830 06/03/2013 11:49 am Georgios D. Tsoukalas

make synnefo URLs consistent and configurable

https://service.deployment.vendor.tld/service-base/api-prefix/hard/path |___________________________________| |__________| |________| |_______|
BASE_HOST BASE_PATH PREFIX Hardcoded...

499d9bfe 05/31/2013 01:13 pm Christos Stavrakakis

cyclades: Raise 500 for commission errors

Wrap all calls to astakosclient for commissions to raise 500, if any
error other than QuotaLimit(413) occurs.

View revisions

Also available in: Atom