)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"1ff607451c924d30aa3e90ba9d3d4ed5bb1a4324","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Duk Loi \u003cduk@tesora.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2015-06-26 08:19:12 -0400"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Add root-disable api"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Add api entry points for root-disable to the Trove client."},{"line_number":10,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"fa32b979_01986169","line":7,"updated":"2015-06-27 15:05:41.000000000","message":"API (acronym)","commit_id":"4bb9925f8519202377c81e7f2cde0675a20e6eb4"}],"troveclient/v1/root.py":[{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"1ff607451c924d30aa3e90ba9d3d4ed5bb1a4324","unresolved":false,"context_lines":[{"line_number":39,"context_line":""},{"line_number":40,"context_line":"        Disables access to the root user for the specified db instance."},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"        :param instance: The instance on which the root user is disabled"},{"line_number":43,"context_line":"        \"\"\""},{"line_number":44,"context_line":"        url \u003d self.url % base.getid(instance)"},{"line_number":45,"context_line":"        resp, body \u003d self.api.client.delete(url)"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_a1a735a6","line":42,"updated":"2015-06-27 15:05:41.000000000","message":"is to be disabled OR\nis enabled ;)","commit_id":"4bb9925f8519202377c81e7f2cde0675a20e6eb4"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"1ff607451c924d30aa3e90ba9d3d4ed5bb1a4324","unresolved":false,"context_lines":[{"line_number":39,"context_line":""},{"line_number":40,"context_line":"        Disables access to the root user for the specified db instance."},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"        :param instance: The instance on which the root user is disabled"},{"line_number":43,"context_line":"        \"\"\""},{"line_number":44,"context_line":"        url \u003d self.url % base.getid(instance)"},{"line_number":45,"context_line":"        resp, body \u003d self.api.client.delete(url)"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_c1a2799a","line":42,"updated":"2015-06-27 15:05:41.000000000","message":"is to be disabled OR\nis enabled ;)","commit_id":"4bb9925f8519202377c81e7f2cde0675a20e6eb4"},{"author":{"_account_id":9782,"name":"Morgan Jones","email":"morgan@tesora.com","username":"vgnbkr"},"change_message_id":"7ad63114125a1726993b9a613fb4f7fe798777da","unresolved":false,"context_lines":[{"line_number":60,"context_line":"        Disables access to the root user for the specified db instance."},{"line_number":61,"context_line":"        :param instance: The instance on which the root user is enabled"},{"line_number":62,"context_line":"        \"\"\""},{"line_number":63,"context_line":"        return self.disable_instance_root(instance)"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"    def disable_instance_root(self, instance):"},{"line_number":66,"context_line":"        \"\"\"Implements root-disable for instances.\"\"\""}],"source_content_type":"text/x-python","patch_set":3,"id":"7a740942_4e77d3d4","line":63,"updated":"2015-12-03 15:09:56.000000000","message":"_disable_root doesn\u0027t have a return value, so this shouldn\u0027t either.","commit_id":"670878ca8a175e956a5490f3dc6f452fe1bced83"},{"author":{"_account_id":9782,"name":"Morgan Jones","email":"morgan@tesora.com","username":"vgnbkr"},"change_message_id":"7ad63114125a1726993b9a613fb4f7fe798777da","unresolved":false,"context_lines":[{"line_number":64,"context_line":""},{"line_number":65,"context_line":"    def disable_instance_root(self, instance):"},{"line_number":66,"context_line":"        \"\"\"Implements root-disable for instances.\"\"\""},{"line_number":67,"context_line":"        return self._disable_root(self.instances_url % base.getid(instance))"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"    def _disable_root(self, url):"},{"line_number":70,"context_line":"        resp, body \u003d self.api.client.delete(url)"}],"source_content_type":"text/x-python","patch_set":3,"id":"7a740942_8e437b6c","line":67,"updated":"2015-12-03 15:09:56.000000000","message":"ditto.","commit_id":"670878ca8a175e956a5490f3dc6f452fe1bced83"}],"troveclient/v1/shell.py":[{"author":{"_account_id":9782,"name":"Morgan Jones","email":"morgan@tesora.com","username":"vgnbkr"},"change_message_id":"7ad63114125a1726993b9a613fb4f7fe798777da","unresolved":false,"context_lines":[{"line_number":929,"context_line":"@utils.arg(\u0027instance_or_cluster\u0027, metavar\u003d\u0027\u003cinstance_or_cluster\u003e\u0027,"},{"line_number":930,"context_line":"           help\u003d\u0027ID or name of the instance or cluster.\u0027)"},{"line_number":931,"context_line":"@utils.service_type(\u0027database\u0027)"},{"line_number":932,"context_line":"def do_root_disable(cs, args):"},{"line_number":933,"context_line":"    \"\"\"Disables root for an instance.\"\"\""},{"line_number":934,"context_line":"    instance_or_cluster, resource_type \u003d _find_instance_or_cluster("},{"line_number":935,"context_line":"        cs, args.instance_or_cluster)"}],"source_content_type":"text/x-python","patch_set":3,"id":"7a740942_31318aed","line":932,"updated":"2015-12-03 15:09:56.000000000","message":"The arg above shoudn\u0027t include \u0027cluster\u0027 until the functionality supports clusters.","commit_id":"670878ca8a175e956a5490f3dc6f452fe1bced83"},{"author":{"_account_id":9782,"name":"Morgan Jones","email":"morgan@tesora.com","username":"vgnbkr"},"change_message_id":"e8f2d1b14f3d439984070c43e73aca8c8fac9ed1","unresolved":false,"context_lines":[{"line_number":1029,"context_line":"@utils.service_type(\u0027database\u0027)"},{"line_number":1030,"context_line":"def do_root_disable(cs, args):"},{"line_number":1031,"context_line":"    \"\"\"Disables root for an instance.\"\"\""},{"line_number":1032,"context_line":"    instance_or_cluster, resource_type \u003d _find_instance_or_cluster("},{"line_number":1033,"context_line":"        cs, args.instance)"},{"line_number":1034,"context_line":"    if resource_type \u003d\u003d \u0027instance\u0027:"},{"line_number":1035,"context_line":"        cs.root.disable_instance_root(instance_or_cluster)"}],"source_content_type":"text/x-python","patch_set":4,"id":"7a740942_f247f2b9","line":1032,"updated":"2015-12-07 17:05:59.000000000","message":"This should just be _find_instance","commit_id":"4cdc6584aa6c3c2c7c15877a92f5a0d5d41310b6"}]}
