)]}'
{"rally/api.py":[{"author":{"_account_id":8491,"name":"Illia Khudoshyn","email":"ikhudoshyn@mirantis.com","username":"ikhudoshyn"},"change_message_id":"b3b31b6a8f50bab03efefd9508a9001f6ab7186a","unresolved":false,"context_lines":[{"line_number":124,"context_line":"        return clients.services()"},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"    @classmethod"},{"line_number":127,"context_line":"    def list(cls):"},{"line_number":128,"context_line":"        \"\"\"Get the deployments list."},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"        :returns: Deployment list"}],"source_content_type":"text/x-python","patch_set":5,"id":"ba8a016a_d420e1b2","line":127,"updated":"2015-11-23 12:38:04.000000000","message":"The method does not use \u0027cls\u0027. @staticmethod is more suitable here","commit_id":"929b53a2c849b1831c2605f2342f9abbd696832f"},{"author":{"_account_id":6116,"name":"li,chen","email":"shchenli@cn.ibm.com","username":"chen-li"},"change_message_id":"753536c0a1f87246f7f78e50449fea07c9c3c9ff","unresolved":false,"context_lines":[{"line_number":124,"context_line":"        return clients.services()"},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"    @classmethod"},{"line_number":127,"context_line":"    def list(cls):"},{"line_number":128,"context_line":"        \"\"\"Get the deployments list."},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"        :returns: Deployment list"}],"source_content_type":"text/x-python","patch_set":5,"id":"ba8a016a_a3dc0247","line":127,"in_reply_to":"ba8a016a_d420e1b2","updated":"2015-11-23 13:37:46.000000000","message":"Done","commit_id":"929b53a2c849b1831c2605f2342f9abbd696832f"}],"rally/cli/commands/deployment.py":[{"author":{"_account_id":6116,"name":"li,chen","email":"shchenli@cn.ibm.com","username":"chen-li"},"change_message_id":"6bae74773d52a6512f89912700fcb75bdda56179","unresolved":false,"context_lines":[{"line_number":289,"context_line":"        :param deployment: UUID or name of a deployment"},{"line_number":290,"context_line":"        \"\"\""},{"line_number":291,"context_line":"        try:"},{"line_number":292,"context_line":"            deployment \u003d api.Deployment.get(deployment)"},{"line_number":293,"context_line":"            print(\"Using deployment: %s\" % deployment[\"uuid\"])"},{"line_number":294,"context_line":"            fileutils.update_globals_file(\"RALLY_DEPLOYMENT\","},{"line_number":295,"context_line":"                                          deployment[\"uuid\"])"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba8a016a_b444dab6","line":292,"updated":"2015-11-19 04:59:22.000000000","message":"The issue here is:\n     the return value for api.Deployment.get is a Deployment object.","commit_id":"6d1705a08b7396b5351f28aed6c3f3f59343d98e"},{"author":{"_account_id":6116,"name":"li,chen","email":"shchenli@cn.ibm.com","username":"chen-li"},"change_message_id":"6bae74773d52a6512f89912700fcb75bdda56179","unresolved":false,"context_lines":[{"line_number":294,"context_line":"            fileutils.update_globals_file(\"RALLY_DEPLOYMENT\","},{"line_number":295,"context_line":"                                          deployment[\"uuid\"])"},{"line_number":296,"context_line":"            self._update_openrc_deployment_file("},{"line_number":297,"context_line":"                deployment[\"uuid\"], deployment.get(\"admin\") or"},{"line_number":298,"context_line":"                deployment.get(\"users\")[0])"},{"line_number":299,"context_line":"            print (\"~/.rally/openrc was updated\\n\\nHINTS:\\n\""},{"line_number":300,"context_line":"                   \"* To get your cloud resources, run:\\n\\t\""}],"source_content_type":"text/x-python","patch_set":1,"id":"ba8a016a_741992d6","line":297,"updated":"2015-11-19 04:59:22.000000000","message":"This would go wrong \u003d\u003edeployment.get(\"admin\")","commit_id":"6d1705a08b7396b5351f28aed6c3f3f59343d98e"},{"author":{"_account_id":6835,"name":"Kun Huang","email":"gareth@openstacker.org","username":"academicgareth"},"change_message_id":"9448e12da202a958181fdfcdc82f09cf17b2a922","unresolved":false,"context_lines":[{"line_number":163,"context_line":""},{"line_number":164,"context_line":"        headers \u003d [\"uuid\", \"created_at\", \"name\", \"status\", \"active\"]"},{"line_number":165,"context_line":"        current_deployment \u003d envutils.get_global(\"RALLY_DEPLOYMENT\")"},{"line_number":166,"context_line":"        deployment_list \u003d deployment_list or api.Deployment.list()"},{"line_number":167,"context_line":""},{"line_number":168,"context_line":"        table_rows \u003d []"},{"line_number":169,"context_line":"        if deployment_list:"}],"source_content_type":"text/x-python","patch_set":7,"id":"9a8ffd7b_32039844","line":166,"range":{"start_line":166,"start_character":45,"end_line":166,"end_character":66},"updated":"2015-11-25 07:56:51.000000000","message":"api.Deployment.list() is still calling object module\n\nhttps://review.openstack.org/#/c/247279/7/rally/api.py","commit_id":"276b3876619d60f8fba9b38c90002156ce55893e"}]}
