)]}'
{"nova/api/openstack/compute/plugins/v3/hosts.py":[{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"ac3e1548a46b102257af01c46057f31bce85f559","unresolved":false,"context_lines":[{"line_number":138,"context_line":"        # See what the user wants to \u0027update\u0027"},{"line_number":139,"context_line":"        if not self.is_valid_body(body, \u0027host\u0027):"},{"line_number":140,"context_line":"            raise webob.exc.HTTPBadRequest("},{"line_number":141,"context_line":"                explanation\u003d_(\"The request body invalid\"))"},{"line_number":142,"context_line":"        params \u003d dict([(k.strip().lower(), v)"},{"line_number":143,"context_line":"                       for k, v in body[\u0027host\u0027].iteritems()])"},{"line_number":144,"context_line":"        orig_status \u003d status \u003d params.pop(\u0027status\u0027, None)"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAQn%2F%2F%2Brs%3D","line":141,"updated":"2013-07-18 04:03:04.000000000","message":"Consider:\n\"Invalid request body\" or \"The request body is invalid\"","commit_id":"348eaca89efe7db6aa8bb782ab6c2c36dd8575fd"},{"author":{"_account_id":5292,"name":"Christopher Yeoh","email":"cbkyeoh@gmail.com","username":"cyeoh-0"},"change_message_id":"bc5e52269eb94ceb4b0155f6c9b736c4c4220f4d","unresolved":false,"context_lines":[{"line_number":288,"context_line":"                                    instance[\u0027ephemeral_gb\u0027])"},{"line_number":289,"context_line":"        return project_map"},{"line_number":290,"context_line":""},{"line_number":291,"context_line":"    @extensions.expected_errors(404)"},{"line_number":292,"context_line":"    @wsgi.serializers(xml\u003dHostShowTemplate)"},{"line_number":293,"context_line":"    def show(self, req, id):"},{"line_number":294,"context_line":"        \"\"\"Shows the physical/usage resource given by hosts."}],"source_content_type":"text/x-python","patch_set":5,"id":"AAAAQn%2F%2FkI0%3D","line":291,"updated":"2013-07-29 02:51:38.000000000","message":"Needs a 403 as well? In case policy doesn\u0027t match what the db layer requires?","commit_id":"872317cf3048e62ef7fe00a8b02c24a1a6cf63d7"},{"author":{"_account_id":5754,"name":"Alex Xu","email":"hejie.xu@intel.com","username":"xuhj"},"change_message_id":"25fbae5aff8abdb95b707bdc6830b8dcd061639c","unresolved":false,"context_lines":[{"line_number":288,"context_line":"                                    instance[\u0027ephemeral_gb\u0027])"},{"line_number":289,"context_line":"        return project_map"},{"line_number":290,"context_line":""},{"line_number":291,"context_line":"    @extensions.expected_errors(404)"},{"line_number":292,"context_line":"    @wsgi.serializers(xml\u003dHostShowTemplate)"},{"line_number":293,"context_line":"    def show(self, req, id):"},{"line_number":294,"context_line":"        \"\"\"Shows the physical/usage resource given by hosts."}],"source_content_type":"text/x-python","patch_set":5,"id":"AAAAQn%2F%2FkHc%3D","line":291,"in_reply_to":"AAAAQn%2F%2FkI0%3D","updated":"2013-07-29 03:12:34.000000000","message":"Done","commit_id":"872317cf3048e62ef7fe00a8b02c24a1a6cf63d7"}],"nova/tests/api/openstack/compute/plugins/v3/test_hosts.py":[{"author":{"_account_id":5292,"name":"Christopher Yeoh","email":"cbkyeoh@gmail.com","username":"cyeoh-0"},"change_message_id":"d951178206b2a0f483399c938d0421da07ce3d7f","unresolved":false,"context_lines":[{"line_number":218,"context_line":"        self.assertRaises(webob.exc.HTTPNotImplemented,"},{"line_number":219,"context_line":"                          method, self.req, \"notimplemented\")"},{"line_number":220,"context_line":""},{"line_number":221,"context_line":"    def test_host_startup_notimpl(self):"},{"line_number":222,"context_line":"        self._test_host_power_action_notimpl(self.controller.startup)"},{"line_number":223,"context_line":""},{"line_number":224,"context_line":"    def test_host_shutdown_notimpl(self):"}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAAQn%2F%2FpJI%3D","side":"PARENT","line":221,"updated":"2013-07-25 22:20:36.000000000","message":"Just wondering why this test was removed?","commit_id":"fe922e3c0caf38d4b33fc6631f0c666e4385751d"},{"author":{"_account_id":5754,"name":"Alex Xu","email":"hejie.xu@intel.com","username":"xuhj"},"change_message_id":"039e451c8499df7a0af7e47732ba8037ae07338a","unresolved":false,"context_lines":[{"line_number":218,"context_line":"        self.assertRaises(webob.exc.HTTPNotImplemented,"},{"line_number":219,"context_line":"                          method, self.req, \"notimplemented\")"},{"line_number":220,"context_line":""},{"line_number":221,"context_line":"    def test_host_startup_notimpl(self):"},{"line_number":222,"context_line":"        self._test_host_power_action_notimpl(self.controller.startup)"},{"line_number":223,"context_line":""},{"line_number":224,"context_line":"    def test_host_shutdown_notimpl(self):"}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAAQn%2F%2Fo0I%3D","side":"PARENT","line":221,"in_reply_to":"AAAAQn%2F%2FpJI%3D","updated":"2013-07-26 02:55:08.000000000","message":"that should be a mistake, thanks","commit_id":"fe922e3c0caf38d4b33fc6631f0c666e4385751d"}]}
