cyclades: Validate fields of API requests
Make sure that all fields of a request (user input) have a valid type.This commit validates 'ports', 'servers' and 'floating_ips' APIs.
Refs #4979
cyclades: Detach serial from resource when resolved
snf_django: Fix bug in list commands
Fix bug in Synnefo ListCommand where you could not select to print onlythe user email columnd ('-o user.email').
astakos: Fix bug in Astakos stats view
'ASTAKOS_AUTH_URL' setting is not present in Astakos node.
django-lib: redirect option in proxy util
If set to True proxy view will return an http redirect response to thecorresponding target location.
Signed-off-by: Kostas Papadimitriou <kpap@grnet.gr>Signed-off-by: Ilias Tsitsimpis <iliastsi@grnet.gr>
snf_django: Change error status code if request method is not valid
Return 405 (NotAllowed) instead of 400 (BadRequest)Add Allow header in the response containing the list of valid methods
snf_django: Add new filtering fuction
Add new 'filter_objects_results' function to apply filters, e.g. from--filter-by option to objects. Rename old 'parse_filters' function ,thatparsed filters to querytset arguments, to 'parse_queryset_filters.The new function is currently unused.
cyclades: Optimize server-list command
Optimize server-list command by prefetching related fields if needed.
snf_django: Fix typo in --output-format help text
snf_django: Log all 5xx to 'django.request'
Change api_method decorator to log besides unhandled exceptions, all5xx API responses to 'django.request'.
View revisions
Also available in: Atom