)]}'
{"openstack_dashboard/dashboards/project/resource_topology/api.py":[{"author":{"_account_id":4571,"name":"Steve Baker","email":"sbaker@redhat.com","username":"steve-stevebaker"},"change_message_id":"011c301c25ac7f752b54bc6b2989ca1aef6b947e","unresolved":false,"context_lines":[{"line_number":19,"context_line":"    Sets the image url and in_progress action sw based on status."},{"line_number":20,"context_line":"    \u0027\u0027\u0027"},{"line_number":21,"context_line":"    in_progress \u003d True if re.search(\u0027IN_PROGRESS\u0027, status) else False"},{"line_number":22,"context_line":"    failed \u003d True if re.search(\u0027FAILED\u0027, status) else False"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"    lb_instance \u003d True if re.search(\u0027LoadBalancer\u0027, type) else False"},{"line_number":25,"context_line":"    db_instance \u003d True if re.search(\u0027DBInstance\u0027, type) else False"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAP3%2F%2F36c%3D","line":22,"updated":"2013-07-10 00:55:21.000000000","message":"There should be some utility functions for this which other heat code can use too. Not sure where they should live, stacks/mappings.py?","commit_id":"c29880bd1442b75af75cd8287b950870983f216f"},{"author":{"_account_id":4571,"name":"Steve Baker","email":"sbaker@redhat.com","username":"steve-stevebaker"},"change_message_id":"011c301c25ac7f752b54bc6b2989ca1aef6b947e","unresolved":false,"context_lines":[{"line_number":21,"context_line":"    in_progress \u003d True if re.search(\u0027IN_PROGRESS\u0027, status) else False"},{"line_number":22,"context_line":"    failed \u003d True if re.search(\u0027FAILED\u0027, status) else False"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"    lb_instance \u003d True if re.search(\u0027LoadBalancer\u0027, type) else False"},{"line_number":25,"context_line":"    db_instance \u003d True if re.search(\u0027DBInstance\u0027, type) else False"},{"line_number":26,"context_line":"    if lb_instance:"},{"line_number":27,"context_line":"        if failed:"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAP3%2F%2F36o%3D","line":24,"updated":"2013-07-10 00:55:21.000000000","message":"Could you put a dict + static function in stacks/mappings.py for these?","commit_id":"c29880bd1442b75af75cd8287b950870983f216f"},{"author":{"_account_id":4571,"name":"Steve Baker","email":"sbaker@redhat.com","username":"steve-stevebaker"},"change_message_id":"011c301c25ac7f752b54bc6b2989ca1aef6b947e","unresolved":false,"context_lines":[{"line_number":45,"context_line":"        else:"},{"line_number":46,"context_line":"            return \"/static/dashboard/img/stack-green.svg\""},{"line_number":47,"context_line":"    else:"},{"line_number":48,"context_line":"        if failed:"},{"line_number":49,"context_line":"            return \"/static/dashboard/img/server-red.svg\""},{"line_number":50,"context_line":"        elif in_progress:"},{"line_number":51,"context_line":"            return \"/static/dashboard/img/server-gray.gif\""}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAP3%2F%2F36E%3D","line":48,"updated":"2013-07-10 00:55:21.000000000","message":"A server probably shouldn\u0027t be the default icon. A lot of heat resources don\u0027t even map to an actual openstack resource, so the default icon should probably be quite abstract and not resemble hardware.","commit_id":"c29880bd1442b75af75cd8287b950870983f216f"}],"openstack_dashboard/dashboards/project/stacks/api.py":[{"author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"change_message_id":"51f887befe368f62be2ceaf541b439b20f11d9d9","unresolved":false,"context_lines":[{"line_number":108,"context_line":"            \u0027name\u0027: resource.logical_resource_id,"},{"line_number":109,"context_line":"            \u0027status\u0027: resource.resource_status,"},{"line_number":110,"context_line":"            \u0027image\u0027: resource_image,"},{"line_number":111,"context_line":"            \u0027required_by\u0027: resource.required_by,"},{"line_number":112,"context_line":"            \u0027image_size\u0027: 50,"},{"line_number":113,"context_line":"            \u0027image_x\u0027: -25,"},{"line_number":114,"context_line":"            \u0027image_y\u0027: -25,"}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAAP3%2F%2FwgU%3D","line":111,"updated":"2013-07-11 21:32:22.000000000","message":"this throws an AttributeError exception when I run this.","commit_id":"41d8a9e2b159f3778d92055527cc0cd55972781e"},{"author":{"_account_id":4571,"name":"Steve Baker","email":"sbaker@redhat.com","username":"steve-stevebaker"},"change_message_id":"c8d8e9eaddcaf670714d8ff47315559094705a6e","unresolved":false,"context_lines":[{"line_number":108,"context_line":"            \u0027name\u0027: resource.logical_resource_id,"},{"line_number":109,"context_line":"            \u0027status\u0027: resource.resource_status,"},{"line_number":110,"context_line":"            \u0027image\u0027: resource_image,"},{"line_number":111,"context_line":"            \u0027required_by\u0027: resource.required_by,"},{"line_number":112,"context_line":"            \u0027image_size\u0027: 50,"},{"line_number":113,"context_line":"            \u0027image_x\u0027: -25,"},{"line_number":114,"context_line":"            \u0027image_y\u0027: -25,"}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAAP3%2F%2Fwdc%3D","line":111,"in_reply_to":"AAAAP3%2F%2FwgU%3D","updated":"2013-07-11 21:43:24.000000000","message":"It is only available in a recent commit to the heat api server. The diagram wouldn\u0027t be much without it, so I\u0027d recommend updating heat.\n\nLater we can figure out if it is worth disabling this whole feature if required_by isn\u0027t available.","commit_id":"41d8a9e2b159f3778d92055527cc0cd55972781e"}]}
