)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":10058,"name":"Erlon R. Cruz","email":"erlon.rodrigues.cruz@canonical.com","username":"sombrafam"},"change_message_id":"1d81d6f625cd0b53a4e7d034f33f0cdfcf2f605b","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Cao ShuFeng \u003ccaosf.fnst@cn.fujitsu.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2016-06-19 01:39:41 -0400"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"enhance api_microversion doc"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"The wrapper wsgi.Controller.api_version can only be used to wrap"},{"line_number":10,"context_line":"wsgi.Controller\u0027s child class, but not the grand child[1]."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"3aaa91ec_5347441d","line":7,"range":{"start_line":7,"start_character":0,"end_line":7,"end_character":7},"updated":"2016-06-27 17:57:37.000000000","message":"Enhance","commit_id":"80c5896f63583eb3cefdd8a577d31829d4303c11"}],"doc/source/devref/api_microversion_dev.rst":[{"author":{"_account_id":7173,"name":"Scott DAngelo","email":"scott.dangelo@gmail.com","username":"scottda"},"change_message_id":"73f87e81939f723f9c9fffa3f2f2c9ae9d751369","unresolved":false,"context_lines":[{"line_number":149,"context_line":"which is intended to be used on top-level Controller methods. It is"},{"line_number":150,"context_line":"not appropriate for lower-level methods. It only works for methods in"},{"line_number":151,"context_line":"wsgi.Controller\u0027s child classes. It can\u0027t be used to wrap any other"},{"line_number":152,"context_line":"functions even functions in wsgi.Controller\u0027s grandchild classes."},{"line_number":153,"context_line":"Some examples:"},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"Adding a new API method"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3aaa91ec_0a01d76a","line":152,"updated":"2016-06-28 12:32:07.000000000","message":"\"any other functions, even functions....\"","commit_id":"922185e6b3922f66c3fe4581f969bd6d76812fbb"},{"author":{"_account_id":20105,"name":"Cao ShuFeng","email":"caosf.fnst@cn.fujitsu.com","username":"caosf.fnst"},"change_message_id":"b0664b35f2a370544e3c285a701c8a3631c80d2b","unresolved":false,"context_lines":[{"line_number":149,"context_line":"which is intended to be used on top-level Controller methods. It is"},{"line_number":150,"context_line":"not appropriate for lower-level methods. It only works for methods in"},{"line_number":151,"context_line":"wsgi.Controller\u0027s child classes. It can\u0027t be used to wrap any other"},{"line_number":152,"context_line":"functions even functions in wsgi.Controller\u0027s grandchild classes."},{"line_number":153,"context_line":"Some examples:"},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"Adding a new API method"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3aaa91ec_12e3a534","line":152,"in_reply_to":"3aaa91ec_0a01d76a","updated":"2016-06-29 02:14:15.000000000","message":"Done","commit_id":"922185e6b3922f66c3fe4581f969bd6d76812fbb"},{"author":{"_account_id":7173,"name":"Scott DAngelo","email":"scott.dangelo@gmail.com","username":"scottda"},"change_message_id":"73f87e81939f723f9c9fffa3f2f2c9ae9d751369","unresolved":false,"context_lines":[{"line_number":307,"context_line":"method test, you just need to add the ``OpenStack-API-Version``"},{"line_number":308,"context_line":"header, for example::"},{"line_number":309,"context_line":""},{"line_number":310,"context_line":"    req \u003d fakes.HTTPRequest.blank(\u0027/testable/url/endpoint\u0027)"},{"line_number":311,"context_line":"    req.headers \u003d {\u0027OpenStack-API-Version\u0027: \u0027volume 3.2\u0027}"},{"line_number":312,"context_line":"    req.api_version_request \u003d api_version.APIVersionRequest(\u00273.2\u0027)"},{"line_number":313,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"3aaa91ec_ed2bc531","line":310,"updated":"2016-06-28 12:32:07.000000000","message":"Actually, our fakes do not have an HTTPRequest class. We\u0027ve only fake clients. We can set the microversion with:\n        cs \u003d fakes.FakeClient(api_version\u003dapi_versions.APIVersion(\u00273.7\u0027))\n\nSo, if you are changing this example for testing, it\u0027s best to use that ^^^ as an example and re-write this.","commit_id":"922185e6b3922f66c3fe4581f969bd6d76812fbb"},{"author":{"_account_id":20105,"name":"Cao ShuFeng","email":"caosf.fnst@cn.fujitsu.com","username":"caosf.fnst"},"change_message_id":"b0664b35f2a370544e3c285a701c8a3631c80d2b","unresolved":false,"context_lines":[{"line_number":307,"context_line":"method test, you just need to add the ``OpenStack-API-Version``"},{"line_number":308,"context_line":"header, for example::"},{"line_number":309,"context_line":""},{"line_number":310,"context_line":"    req \u003d fakes.HTTPRequest.blank(\u0027/testable/url/endpoint\u0027)"},{"line_number":311,"context_line":"    req.headers \u003d {\u0027OpenStack-API-Version\u0027: \u0027volume 3.2\u0027}"},{"line_number":312,"context_line":"    req.api_version_request \u003d api_version.APIVersionRequest(\u00273.2\u0027)"},{"line_number":313,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"3aaa91ec_52088dd9","line":310,"in_reply_to":"3aaa91ec_ed2bc531","updated":"2016-06-29 02:14:15.000000000","message":"Hi, Scott:\n     In patch set 3 the example is updated to be consistent with the code here[1].\n     I think it works now.\n\n[1]: https://github.com/openstack/cinder/blob/master/cinder/tests/unit/api/v3/test_volumes.py#L92-#L95","commit_id":"922185e6b3922f66c3fe4581f969bd6d76812fbb"}]}
