)]}'
{"nova/api/openstack/contrib/hosts.py":[{"author":{"_account_id":1030,"name":"Chris Behrens","email":"cbehrens@codestud.com","username":"cbehrens"},"change_message_id":"59e37de6c044908729d033def55bc6bfdf7a9536","unresolved":false,"context_lines":[{"line_number":132,"context_line":"        return \"2011-06-29T00:00:00+00:00\""},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"    @admin_only.admin_only"},{"line_number":135,"context_line":"    def get_resources(self):"},{"line_number":136,"context_line":"        resources \u003d [extensions.ResourceExtension(\u0027os-hosts\u0027,"},{"line_number":137,"context_line":"                HostController(), collection_actions\u003d{\u0027update\u0027: \u0027PUT\u0027},"},{"line_number":138,"context_line":"                member_actions\u003d{\"startup\": \"GET\", \"shutdown\": \"GET\","}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAACX%2F%2F%2BoE%3D","side":"PARENT","line":135,"updated":"2011-09-27 05:14:38.000000000","message":"Hm.  With your change to the decorator... a fault will be returned here when admin_api is off (it used to return []).  Seems like this decorator should be moved to the methods \u0027startup\u0027, \u0027shutdown\u0027, and \u0027reboot\u0027?   (Or get_resources should still return []?)","commit_id":"21dcf669c72fddc7b26018388e678fe0b033e318"}],"nova/exception.py":[{"author":{"_account_id":1030,"name":"Chris Behrens","email":"cbehrens@codestud.com","username":"cbehrens"},"change_message_id":"59e37de6c044908729d033def55bc6bfdf7a9536","unresolved":false,"context_lines":[{"line_number":32,"context_line":"LOG \u003d logging.getLogger(\u0027nova.exception\u0027)"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"class ProcessExecutionError(IOError):"},{"line_number":36,"context_line":"    def __init__(self, stdout\u003dNone, stderr\u003dNone, exit_code\u003dNone, cmd\u003dNone,"},{"line_number":37,"context_line":"                 description\u003dNone):"},{"line_number":38,"context_line":"        if description is None:"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAACX%2F%2F%2BoA%3D","side":"PARENT","line":35,"updated":"2011-09-27 05:14:38.000000000","message":"+1 on this cleanup.","commit_id":"21dcf669c72fddc7b26018388e678fe0b033e318"}],"nova/tests/api/openstack/contrib/test_admin_actions.py":[{"author":{"_account_id":1030,"name":"Chris Behrens","email":"cbehrens@codestud.com","username":"cbehrens"},"change_message_id":"59e37de6c044908729d033def55bc6bfdf7a9536","unresolved":false,"context_lines":[{"line_number":43,"context_line":""},{"line_number":44,"context_line":"    def test_admin_api_enabled(self):"},{"line_number":45,"context_line":"        FLAGS.allow_admin_api \u003d True"},{"line_number":46,"context_line":"        app \u003d fakes.wsgi_app()"},{"line_number":47,"context_line":"        for _action in self._actions:"},{"line_number":48,"context_line":"            req \u003d webob.Request.blank(\u0027/v1.1/fake/servers/1/action\u0027)"},{"line_number":49,"context_line":"            req.method \u003d \u0027POST\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAACX%2F%2F%2Bn8%3D","line":46,"updated":"2011-09-27 05:14:38.000000000","message":"FLAGS.allow_admin_api should be:  self.flags(allow_admin_api\u003dTrue) so the flags get reset properly between tests.","commit_id":"879f5762b7bc990c8d8d311fbc381c278dc14c2f"},{"author":{"_account_id":1030,"name":"Chris Behrens","email":"cbehrens@codestud.com","username":"cbehrens"},"change_message_id":"59e37de6c044908729d033def55bc6bfdf7a9536","unresolved":false,"context_lines":[{"line_number":53,"context_line":"            self.assertEqual(res.status_int, 202)"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"    def test_admin_api_disabled(self):"},{"line_number":56,"context_line":"        FLAGS.allow_admin_api \u003d False"},{"line_number":57,"context_line":"        app \u003d fakes.wsgi_app()"},{"line_number":58,"context_line":"        for _action in self._actions:"},{"line_number":59,"context_line":"            req \u003d webob.Request.blank(\u0027/v1.1/fake/servers/1/action\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAACX%2F%2F%2Bn4%3D","line":56,"updated":"2011-09-27 05:14:38.000000000","message":"Same as above.","commit_id":"879f5762b7bc990c8d8d311fbc381c278dc14c2f"}]}
