)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"37d7a34bfb9f2ed2c13670c4c63752a121575351","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Follow-up patch of 8e5e69869df476788b3ccf7e5ba6c2210a98fc8a"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This patch is a follow-up patch of"},{"line_number":10,"context_line":"8e5e69869df476788b3ccf7e5ba6c2210a98fc8a addressing some the comments"},{"line_number":11,"context_line":"remaining comments after the patch was merged. The changes are:"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"* Optimize the code by generating the list of reserved words for the"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"dab17558_f48532ad","line":10,"updated":"2016-05-09 15:30:00.000000000","message":"s/ comments//","commit_id":"a33c7f2db3b4a49e62ab6d885deaa01a0c1b199d"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"ec78585f96f36973f1c31e1b4bddcafdae8786cc","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Follow-up patch of 8e5e69869df476788b3ccf7e5ba6c2210a98fc8a"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This patch is a follow-up patch of"},{"line_number":10,"context_line":"8e5e69869df476788b3ccf7e5ba6c2210a98fc8a addressing some the comments"},{"line_number":11,"context_line":"remaining comments after the patch was merged. The changes are:"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"* Optimize the code by generating the list of reserved words for the"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"dab17558_0e1d3ebd","line":10,"in_reply_to":"dab17558_3f031311","updated":"2016-05-09 16:21:28.000000000","message":"Done","commit_id":"a33c7f2db3b4a49e62ab6d885deaa01a0c1b199d"},{"author":{"_account_id":5805,"name":"Chris Krelle","email":"nobodycam@gmail.com","username":"nobodycam"},"change_message_id":"4687afa59263ec320becbcbbce2bd0f3156b9e77","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Follow-up patch of 8e5e69869df476788b3ccf7e5ba6c2210a98fc8a"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This patch is a follow-up patch of"},{"line_number":10,"context_line":"8e5e69869df476788b3ccf7e5ba6c2210a98fc8a addressing some the comments"},{"line_number":11,"context_line":"remaining comments after the patch was merged. The changes are:"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"* Optimize the code by generating the list of reserved words for the"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"dab17558_3f031311","line":10,"in_reply_to":"dab17558_f48532ad","updated":"2016-05-09 15:44:29.000000000","message":"+1","commit_id":"a33c7f2db3b4a49e62ab6d885deaa01a0c1b199d"}],"ironic/api/controllers/v1/node.py":[{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"295d19df2084df598a17e5088c4dc02cf38cb299","unresolved":false,"context_lines":[{"line_number":938,"context_line":"    # to need to add another sub-controller in this class let\u0027s"},{"line_number":939,"context_line":"    # try to make it a parameter instead of an endpoint due"},{"line_number":940,"context_line":"    # https://bugs.launchpad.net/ironic/+bug/1572651, e.g, instead of"},{"line_number":941,"context_line":"    # v1/nodes/(ident)/detail we could have v1/nodes/(ident)?detail\u003dTrue"},{"line_number":942,"context_line":""},{"line_number":943,"context_line":"    states \u003d NodeStatesController()"},{"line_number":944,"context_line":"    \"\"\"Expose the state controller action as a sub-element of nodes\"\"\""}],"source_content_type":"text/x-python","patch_set":1,"id":"dab17558_aeb192e3","line":941,"updated":"2016-05-09 17:37:18.000000000","message":"IMO v1/nodes/\u003cuuid or name\u003e/detail is technically a valid URL, because it doesn\u0027t conflict with the resources identity, e.g. I could have a node called detail and do GET v1/nodes/detail/detail and there should be no confusion on how to process the URL\n\nThe URL scheme should be strictly:\n\nv1/\u003cresource_type\u003e/\u003cidentity\u003e/\u003csub-resource type\u003e/\u003csub-identity\u003e\n\nfor example:\n\nv1/nodes/\u003cuuid or name\u003e/ports\nv1/nodes/\u003cuuid or name\u003e/ports/\u003cport id that belongs to that node\u003e\n\nare a valid resourceful URLs.\n\nits when an option would conflict with the identity part of the URL that we need to make sure there isn\u0027t a conflict e.g.\n\nv1/nodes/detail conflicts with the node identity part\nv1/nodes?detail\u003dTrue doesn\u0027t\n\nIf we add a sub-controller to nodes it should be acting on a specific node, e.g. v1/nodes/\u003cuuid or name\u003e/\u003cnew sub-resource\u003e, and therefore shouldn\u0027t conflict with the node\u0027s identity, if its on v1/nodes it should be part of the nodes controller, and implemented using the URL query scheme.","commit_id":"a33c7f2db3b4a49e62ab6d885deaa01a0c1b199d"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"37d7a34bfb9f2ed2c13670c4c63752a121575351","unresolved":false,"context_lines":[{"line_number":1058,"context_line":"            if name in reserved_names:"},{"line_number":1059,"context_line":"                raise wsme.exc.ClientSideError("},{"line_number":1060,"context_line":"                    \u0027The word \"%(name)s\" is reserved and can not be used as a \u0027"},{"line_number":1061,"context_line":"                    \u0027node name. Reserved words are: %(reserved)s\u0027 %"},{"line_number":1062,"context_line":"                    {\u0027name\u0027: name,"},{"line_number":1063,"context_line":"                     \u0027reserved\u0027: \u0027, \u0027.join(reserved_names)},"},{"line_number":1064,"context_line":"                    status_code\u003dhttp_client.BAD_REQUEST)"}],"source_content_type":"text/x-python","patch_set":1,"id":"dab17558_7f03db0d","line":1061,"updated":"2016-05-09 15:30:00.000000000","message":"missing period at end of this, s/\u0027/.\u0027/","commit_id":"a33c7f2db3b4a49e62ab6d885deaa01a0c1b199d"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"ec78585f96f36973f1c31e1b4bddcafdae8786cc","unresolved":false,"context_lines":[{"line_number":1058,"context_line":"            if name in reserved_names:"},{"line_number":1059,"context_line":"                raise wsme.exc.ClientSideError("},{"line_number":1060,"context_line":"                    \u0027The word \"%(name)s\" is reserved and can not be used as a \u0027"},{"line_number":1061,"context_line":"                    \u0027node name. Reserved words are: %(reserved)s\u0027 %"},{"line_number":1062,"context_line":"                    {\u0027name\u0027: name,"},{"line_number":1063,"context_line":"                     \u0027reserved\u0027: \u0027, \u0027.join(reserved_names)},"},{"line_number":1064,"context_line":"                    status_code\u003dhttp_client.BAD_REQUEST)"}],"source_content_type":"text/x-python","patch_set":1,"id":"dab17558_2e22c200","line":1061,"in_reply_to":"dab17558_7f03db0d","updated":"2016-05-09 16:21:28.000000000","message":"Done","commit_id":"a33c7f2db3b4a49e62ab6d885deaa01a0c1b199d"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"79e3410ccd70e769e4961053a5a80dace2671fee","unresolved":false,"context_lines":[{"line_number":103,"context_line":"    global _NODES_CONTROLLER_RESERVED_WORDS"},{"line_number":104,"context_line":"    if _NODES_CONTROLLER_RESERVED_WORDS is None:"},{"line_number":105,"context_line":"        _NODES_CONTROLLER_RESERVED_WORDS \u003d ("},{"line_number":106,"context_line":"            api_utils.get_controller_reserved_names(NodesController))"},{"line_number":107,"context_line":"    return _NODES_CONTROLLER_RESERVED_WORDS"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"bab6814e_66221aa5","line":106,"updated":"2016-05-25 20:10:15.000000000","message":"Curious if there\u0027s any reason not to generate this at import time, but this seems fine.","commit_id":"6be3448d40142e2c34233f2a830cd3d1958ee637"}],"releasenotes/notes/reserved-node-names-67a08012ed1131ae.yaml":[{"author":{"_account_id":6610,"name":"Zhenguo Niu","email":"Niu.ZGlinux@gmail.com","username":"niu-zglinux"},"change_message_id":"c906b343ccbdeea23d782c57f3b852e5f95d7530","unresolved":false,"context_lines":[{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - Fixes a problem which allowed nodes to be named with some reserved"},{"line_number":4,"context_line":"    words that are implicitly not allowed due the way the Ironic API"},{"line_number":5,"context_line":"    works. The reserved words are: maintenance, management, ports,"},{"line_number":6,"context_line":"    states, vendor_passthru, validate and detail."}],"source_content_type":"text/x-yaml","patch_set":2,"id":"dab17558_15ecb828","line":5,"range":{"start_line":5,"start_character":33,"end_line":5,"end_character":34},"updated":"2016-05-11 15:23:30.000000000","message":"\u0027:\u0027 seems not allowed here.","commit_id":"12492a6d5e45a6aab6b26ec27613fb67c34c8b86"}]}
