Clients return one value
Currently tempest clients return a response code and body. Since we moved response checking to clients, almost all callers of the clients ignore the response code. It would be much cleaner if clients returned a single response object that was the body, with a property to get the response code if needed.
Etherpad for tracking progress by service: https:/
The swift API is different than the others in that it tends to return data in headers rather than a json dict, so most apis have a null body. The cleanup strategy in this blueprint does not apply so cleanly to swift so the swift client was not touched as part of this work.
Blueprint information
- Status:
- Complete
- Approver:
- David Kranz
- Priority:
- High
- Drafter:
- David Kranz
- Direction:
- Approved
- Assignee:
- David Kranz
- Definition:
- Approved
- Series goal:
- Accepted for kilo
- Implementation:
- Implemented
- Milestone target:
- None
- Started by
- David Kranz
- Completed by
- David Kranz
Related branches
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Add spec for clients returning one value
Gerrit topic: https:/
Addressed by: https:/
Add code to enable returning single-value response for http clients
Addressed by: https:/
Make policy client methods return one value, and fix tests
Addressed by: https:/
Change neutron client methods to return one value and update tests
Addressed by: https:/
Change volume client methods to return one value
Addressed by: https:/
Change v3 identity client methods to return one value
Addressed by: https:/
Change v2 identity client methods to return one value
Addressed by: https:/
Change image client methods to return one value
Addressed by: https:/
printout testr tests that fail
Addressed by: https:/
Change compute image client methods to return one value
Addressed by: https:/
Add return one value to volume delete methods
Addressed by: https:/
Change orchestration client to return one value and update tests
Addressed by: https:/
Change some compute admin image client methods to return one value
Addressed by: https:/
update test_volume_
Addressed by: https:/
Update live migration test for return one value
Addressed by: https:/
Change keypair client to return one value and update tests
Addressed by: https:/
Change security-group clients to return one value and update tests
Addressed by: https:/
Update test_live_migration for return-one-value
Addressed by: https:/
Change flavors client to return one value and update tests
Addressed by: https:/
Change limits/quota clients to return one value and update tests
Addressed by: https:/
Change data_processing client to return one value and update tests
Addressed by: https:/
Change telemetry client to return one value and update tests
Addressed by: https:/
Change fixed/floating ip clients to return one value and update tests
Addressed by: https:/
Change compute volume client to return one value and update tests
Addressed by: https:/
Change some small compute clients to return one value and update tests
Addressed by: https:/
Change basic server client methods to return one value and update tests
Addressed by: https:/
Change servers client to return one value and update tests
Addressed by: https:/
Change network/interfaces clients to return one value and update tests
Addressed by: https:/
Change database clients to return one value and update tests
Addressed by: https:/
Change messaging clients to return one value and update tests