commit 4676d823a8a3558aaa07161ab8a1476ef62c5bc2
Author: Lucas Alvares Gomes <email address hidden>
Date: Fri Jan 17 14:18:21 2014 +0000
Fix API inconsistence when changing node's states
When the request to change the power state is accepted by the server
(HTTP 202) it shouldn't return any response message, just like the
request to change the provision state. In the future after WSME add
the support to edit the Header Location, we should include a link to
the /nodes/<uuid>/states subresource so that clients know how to
track the status of the request, there's a FIXME in the code
mentioning that already.
The patch also add a check to the provision_state tests to make sure
the response body has no content.
Reviewed: https:/ /review. openstack. org/67506 /git.openstack. org/cgit/ openstack/ ironic/ commit/ ?id=4676d823a8a 3558aaa07161ab8 a1476ef62c5bc2
Committed: https:/
Submitter: Jenkins
Branch: master
commit 4676d823a8a3558 aaa07161ab8a147 6ef62c5bc2
Author: Lucas Alvares Gomes <email address hidden>
Date: Fri Jan 17 14:18:21 2014 +0000
Fix API inconsistence when changing node's states
When the request to change the power state is accepted by the server <uuid>/ states subresource so that clients know how to
(HTTP 202) it shouldn't return any response message, just like the
request to change the provision state. In the future after WSME add
the support to edit the Header Location, we should include a link to
the /nodes/
track the status of the request, there's a FIXME in the code
mentioning that already.
The patch also add a check to the provision_state tests to make sure
the response body has no content.
Change-Id: I4fb1cd5c226cee 2f9e0977e83cf2f fa7786b3b4a
Closes-Bug: #1270160