Return complete response from instance usage client
Currently compute instance_usage_audit_log_client returns Response by
removing top key from Response.
For example-
return service_client.ResponseBody(resp, body['instance_usage_audit_log'])
As service clients are in direction to move to Tempest-lib, all
service clients should return Response without any truncation.
One good example is Resource pagination links which are lost with current
way of return value. Resource pagination links are present in parallel
(not inside) to top key of Response.
This patch makes compute instance_usage_audit_log_client to return complete
Response body.
Change-Id: I11038a3b5e263918c150bbb304ae40a905329bef
Implements: blueprint method-return-value-and-move-service-clients-to-lib
2 files changed