Revision 72bf812d
ID | 72bf812df963e0191cc0a03648c390e9f82fe458 |
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'
Files
- added
- modified
- copied
- renamed
- deleted