History | View | Annotate | Download (7.6 kB)
wheezy: Rename depricated HttpRequest attribute
From django docs:""" HttpRequest.raw_post_data renamed to HttpRequest.body
This attribute was confusingly named HttpRequest.raw_post_data, but itactually provided the body of the HTTP request. It’s been renamed to...
astakos: Describe and implement API for projects
astakos: Catch unexpected request body in user_catalogs
The request expects a json formatted dictionary.Raise 400 (BadRequest) otherwise.
astakos: change authenticate keystone api call
If no request body is provided (no request content length),the response returns only non authentication protected information(before it used to return BadRequest)
astakos: Lift old-style services to components
Add model Component and migrate services along with their tokenand UI URL to this new model. Rename service to component whereneeded.
Add field service_type in Resource and fill it based on the nameof the service that used to own the resource.
astakos: modifications in POST /tokens (authenticate) api call
astakos: Handle datetime in API json response
Automatically convert a datetime to string using isoformat fromsnf_django.lib.api.utils
astakos: provide get_endpoints api call
astakos: Strengthen authentication in user_from_token
All user-related API calls make use of this decorator to authenticatethe user. Previously it used to check only for the existence of the token;now it makes all checks previously found in the `authenticate' API call....
astakos: WIP move all api calls under ``/astakos/api``
Refs: #3340
astakos: Change user_for_token decorator
user_for_token after successful user authenticationsets the request user attributeThe wrapped methods no more need the ``user`` argument:they can get the token holder by the request object
astakos: rename api utility methods
astakos: Validate input of quota-related API calls
API calls for quotas and commissions