Feature #3358
Single decorator for handling API calls, with proper logging of HTTP 500 errors
Status: | Closed | Start date: | 03/03/2013 | |
---|---|---|---|---|
Priority: | High | Due date: | ||
Assignee: | Christos Stavrakakis | % Done: | 0% |
|
Category: | deployment | Spent time: | - | |
Target version: | 0.14.0 |
Description
Create a single decorator, across Synnefo, for handling API calls,
with proper logging of HTTP 500 errors.
Related issues
Associated revisions
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
- Sets proper HTTP response and cache control headers
Also move some common functions from various apps to
'snf_django.lib.api.utils'
History
#1 Updated by Christos Stavrakakis over 10 years ago
- Status changed from Assigned to Feedback
- Assignee changed from Kostas Papadimitriou to Christos Stavrakakis
#2 Updated by Christos Stavrakakis almost 10 years ago
- Status changed from Feedback to Closed