)]}'
{"nova/api/openstack/compute/contrib/aggregates.py":[{"author":{"_account_id":1132,"name":"Brian Waldon","email":"brian@waldon.cc","username":"bcwaldon"},"change_message_id":"36bb9bf04d4af61198cd9a302078db6199500947","unresolved":false,"context_lines":[{"line_number":23,"context_line":"from nova import log as logging"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"LOG \u003d logging.getLogger(\"nova.api.openstack.v2.contrib.host_aggregates\")"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"def _get_context(req):"}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAAEH%2F%2F%2BhI%3D","line":26,"updated":"2012-01-25 00:15:01.000000000","message":"s/v2/compute/","commit_id":"dbf110be6b967c854a62d05f464151f8a358fc07"},{"author":{"_account_id":1132,"name":"Brian Waldon","email":"brian@waldon.cc","username":"bcwaldon"},"change_message_id":"36bb9bf04d4af61198cd9a302078db6199500947","unresolved":false,"context_lines":[{"line_number":44,"context_line":"class AggregateController(object):"},{"line_number":45,"context_line":"    \"\"\"The Host Aggregates API controller for the OpenStack API.\"\"\""},{"line_number":46,"context_line":"    def __init__(self):"},{"line_number":47,"context_line":"        self.compute_api \u003d compute.API()"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"    def index(self, req):"},{"line_number":50,"context_line":"        \"\"\"Returns a list a host aggregate\u0027s id, name, availability_zone.\"\"\""}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAAEH%2F%2F%2BhA%3D","line":47,"updated":"2012-01-25 00:15:01.000000000","message":"Shouldn\u0027t this use compute.AggregateAPI, and not change the compute api at all?","commit_id":"dbf110be6b967c854a62d05f464151f8a358fc07"},{"author":{"_account_id":1132,"name":"Brian Waldon","email":"brian@waldon.cc","username":"bcwaldon"},"change_message_id":"36bb9bf04d4af61198cd9a302078db6199500947","unresolved":false,"context_lines":[{"line_number":192,"context_line":"    namespace \u003d \\"},{"line_number":193,"context_line":"              \"http://docs.openstack.org/compute/ext/aggregates/api/v1.1\""},{"line_number":194,"context_line":"    updated \u003d \"2012-01-12T00:00:00+00:00\""},{"line_number":195,"context_line":"    admin_only \u003d True"},{"line_number":196,"context_line":""},{"line_number":197,"context_line":"    def __init__(self, ext_mgr):"},{"line_number":198,"context_line":"        ext_mgr.register(self)"}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAAEH%2F%2F%2BhQ%3D","line":195,"updated":"2012-01-25 00:15:01.000000000","message":"Authorization has recently changed for the admin api. I\u0027ll do a follow-up branch to address this extension in-particular.","commit_id":"dbf110be6b967c854a62d05f464151f8a358fc07"},{"author":{"_account_id":1132,"name":"Brian Waldon","email":"brian@waldon.cc","username":"bcwaldon"},"change_message_id":"36bb9bf04d4af61198cd9a302078db6199500947","unresolved":false,"context_lines":[{"line_number":207,"context_line":"                                \"add_host\": \"POST\","},{"line_number":208,"context_line":"                                \"remove_host\": \"POST\","},{"line_number":209,"context_line":"                                \"set_metadata\": \"POST\","},{"line_number":210,"context_line":"                                \"delete\": \"POST\","},{"line_number":211,"context_line":"                                \"show\": \"GET\"})"},{"line_number":212,"context_line":"        resources.append(res)"},{"line_number":213,"context_line":"        return resources"}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAAEH%2F%2F%2BhU%3D","line":210,"updated":"2012-01-25 00:15:01.000000000","message":"you shouldn\u0027t have to define delete, update, and show like this. DELETE, POST, and GET should be mapped automatically onto the os-aggregates resource methods.\n\nI would also like to see add_host, remove_host, and set_metadata implemented as actions (i.e. POST /os-aggregates/\u003cID\u003e/action  with a body of {\u0027add_host\u0027:{}} )","commit_id":"dbf110be6b967c854a62d05f464151f8a358fc07"}]}
