Return complete response from compute/agent_client
Currently compute agent_client returns Response by removing
top key from Response.
For example- return service_client.ResponseBody(resp, body['agents'])
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 agent_client to return complete Response body.
Implements: blueprint method-return-value-and-move-service-clients-to-lib
Change-Id: I65c60ab85945e66bd696ec4d89ad73cc4f7f2004
3 files changed