)]}'
{"cueclient/tests/unit/v1/test_clusters.py":[{"author":{"_account_id":5390,"name":"Steve Leon","username":"steve-leon","inactive":true},"change_message_id":"f6ca6208345b39f10c67a31301d507d961e70c36","unresolved":false,"context_lines":[{"line_number":106,"context_line":"        self.execute(clusters.CreateClusterCommand, arglist, verifylist)"},{"line_number":107,"context_line":"        self.assert_called(\u0027POST\u0027, \u0027/clusters\u0027)"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"    def test_create_cluster_without_name(self):"},{"line_number":110,"context_line":"        \"\"\"test create cluster without \u0027name\u0027 argument.\"\"\""},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"        arglist \u003d [\"--nic\", self.cluster_network_id,"}],"source_content_type":"text/x-python","patch_set":4,"id":"da20952f_05bc356b","line":109,"updated":"2015-08-26 18:51:55.000000000","message":"Could you add some negative tests? Im thinking\ntest_create_cluster_rabbit_auth_no_user\ntest_create_cluster_rabbit_auth_no_password","commit_id":"35a85786f7cf2ed8053809f025a31d7242408a93"},{"author":{"_account_id":5390,"name":"Steve Leon","username":"steve-leon","inactive":true},"change_message_id":"46e9974cb8c7288f994906082bcbce3c6fecc49b","unresolved":false,"context_lines":[{"line_number":71,"context_line":"    cluster_network_id \u003d \"9d6708ee-ea48-4e78-bef6-b50b48405091\""},{"line_number":72,"context_line":"    cluster_flavor \u003d \"1\""},{"line_number":73,"context_line":"    cluster_size \u003d \"2\""},{"line_number":74,"context_line":"    auth \u003d \"type\u003dsimple,user\u003drabbitmq,pass\u003drabbit\""},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"    def test_create_cluster(self):"},{"line_number":77,"context_line":"        arglist \u003d [\"--name\", self.cluster_name,"}],"source_content_type":"text/x-python","patch_set":5,"id":"da20952f_6d062f22","line":74,"updated":"2015-08-26 22:33:58.000000000","message":"There is no type \u0027simple\u0027. From the doc, it\u0027s either PLAIN, TOKEN or NONE.","commit_id":"c9eaf325dfe5aee07ec65cb3e94f98aa81c43f0a"},{"author":{"_account_id":13771,"name":"Davide Agnello","email":"dagnello@hp.com","username":"dagnello"},"change_message_id":"882f5e7088570c1394a529fe62c12786c786cad4","unresolved":false,"context_lines":[{"line_number":71,"context_line":"    cluster_network_id \u003d \"9d6708ee-ea48-4e78-bef6-b50b48405091\""},{"line_number":72,"context_line":"    cluster_flavor \u003d \"1\""},{"line_number":73,"context_line":"    cluster_size \u003d \"2\""},{"line_number":74,"context_line":"    auth \u003d \"type\u003dsimple,user\u003drabbitmq,pass\u003drabbit\""},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"    def test_create_cluster(self):"},{"line_number":77,"context_line":"        arglist \u003d [\"--name\", self.cluster_name,"}],"source_content_type":"text/x-python","patch_set":5,"id":"da20952f_61c87875","line":74,"in_reply_to":"da20952f_6d062f22","updated":"2015-08-27 00:27:11.000000000","message":"Done","commit_id":"c9eaf325dfe5aee07ec65cb3e94f98aa81c43f0a"},{"author":{"_account_id":5390,"name":"Steve Leon","username":"steve-leon","inactive":true},"change_message_id":"2ca6542b05588ad3057c10e455e1d1fbf8a24803","unresolved":false,"context_lines":[{"line_number":106,"context_line":"        self.execute(clusters.CreateClusterCommand, arglist, verifylist)"},{"line_number":107,"context_line":"        self.assert_called(\u0027POST\u0027, \u0027/clusters\u0027)"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"    def test_create_cluster_without_name(self):"},{"line_number":110,"context_line":"        \"\"\"test create cluster without \u0027name\u0027 argument.\"\"\""},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"        arglist \u003d [\"--nic\", self.cluster_network_id,"}],"source_content_type":"text/x-python","patch_set":5,"id":"da20952f_6d4e2fc3","line":109,"updated":"2015-08-26 22:29:36.000000000","message":"Could you add some negative tests? Im thinking test_create_cluster_rabbit_auth_no_user test_create_cluster_rabbit_auth_no_password","commit_id":"c9eaf325dfe5aee07ec65cb3e94f98aa81c43f0a"},{"author":{"_account_id":13771,"name":"Davide Agnello","email":"dagnello@hp.com","username":"dagnello"},"change_message_id":"882f5e7088570c1394a529fe62c12786c786cad4","unresolved":false,"context_lines":[{"line_number":106,"context_line":"        self.execute(clusters.CreateClusterCommand, arglist, verifylist)"},{"line_number":107,"context_line":"        self.assert_called(\u0027POST\u0027, \u0027/clusters\u0027)"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"    def test_create_cluster_without_name(self):"},{"line_number":110,"context_line":"        \"\"\"test create cluster without \u0027name\u0027 argument.\"\"\""},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"        arglist \u003d [\"--nic\", self.cluster_network_id,"}],"source_content_type":"text/x-python","patch_set":5,"id":"da20952f_01b09cf3","line":109,"in_reply_to":"da20952f_6d4e2fc3","updated":"2015-08-27 00:27:11.000000000","message":"Done","commit_id":"c9eaf325dfe5aee07ec65cb3e94f98aa81c43f0a"},{"author":{"_account_id":5390,"name":"Steve Leon","username":"steve-leon","inactive":true},"change_message_id":"e4e94e53041c5208db413168404593830ac699d8","unresolved":false,"context_lines":[{"line_number":119,"context_line":"            (\u0027nic\u0027, self.cluster_network_id),"},{"line_number":120,"context_line":"            (\u0027flavor\u0027, self.cluster_flavor),"},{"line_number":121,"context_line":"            (\u0027size\u0027, self.cluster_size),"},{"line_number":122,"context_line":"            (\u0027auth\u0027, \"user\u003drabbitmq,pass\u003drabbit\"),"},{"line_number":123,"context_line":"        ]"},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"        self.execute(clusters.CreateClusterCommand, arglist, verifylist)"}],"source_content_type":"text/x-python","patch_set":6,"id":"da20952f_0df41cf0","line":122,"updated":"2015-08-27 18:44:46.000000000","message":"Because we are filling the type for the user when it is not provided, this test should pass and we should verify that the type\u003d\u0027plain\u0027. Similar to the test above.\n\n(\u0027auth\u0027, self.auth),","commit_id":"2c8c10b3f645f5799a16f48bd9a6777f19eeeb5b"},{"author":{"_account_id":5390,"name":"Steve Leon","username":"steve-leon","inactive":true},"change_message_id":"e4e94e53041c5208db413168404593830ac699d8","unresolved":false,"context_lines":[{"line_number":138,"context_line":"            (\u0027nic\u0027, self.cluster_network_id),"},{"line_number":139,"context_line":"            (\u0027flavor\u0027, self.cluster_flavor),"},{"line_number":140,"context_line":"            (\u0027size\u0027, self.cluster_size),"},{"line_number":141,"context_line":"            (\u0027auth\u0027, \"type\u003d,user\u003drabbitmq,pass\u003drabbit\"),"},{"line_number":142,"context_line":"        ]"},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"        self.execute(clusters.CreateClusterCommand, arglist, verifylist)"}],"source_content_type":"text/x-python","patch_set":6,"id":"da20952f_ade3b032","line":141,"updated":"2015-08-27 18:44:46.000000000","message":"Same here.","commit_id":"2c8c10b3f645f5799a16f48bd9a6777f19eeeb5b"}],"cueclient/v1/cli/clusters.py":[{"author":{"_account_id":5390,"name":"Steve Leon","username":"steve-leon","inactive":true},"change_message_id":"2ca6542b05588ad3057c10e455e1d1fbf8a24803","unresolved":false,"context_lines":[{"line_number":75,"context_line":"        parser.add_argument(\u0027--size\u0027, help\u003d\"Number of nodes\", required\u003dTrue)"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"        parser.add_argument(\u0027--volume_size\u0027, help\u003d\"Volume size\")"},{"line_number":78,"context_line":"        parser.add_argument(\u0027--auth\u0027,"},{"line_number":79,"context_line":"                            metavar\u003d\"\u003ctype\u003dtype,user\u003duser,pass\u003dpass\u003e\","},{"line_number":80,"context_line":"                            help\u003d\"broker authentication,\""},{"line_number":81,"context_line":"                                 \"type\u003dtype,user\u003duser,pass\u003dpass\")"}],"source_content_type":"text/x-python","patch_set":5,"id":"da20952f_cdadfb32","line":78,"updated":"2015-08-26 22:29:36.000000000","message":"Does the user need to specify the \u0027type\u0027? That might be confusing for the user. We should take care of this within the client based on which broker/auth  we are supporting. I know we dont support multiple brokers now but in the near future we will... So lets assume now that the broker is rabbitmq, which always has an auth type.","commit_id":"c9eaf325dfe5aee07ec65cb3e94f98aa81c43f0a"},{"author":{"_account_id":13771,"name":"Davide Agnello","email":"dagnello@hp.com","username":"dagnello"},"change_message_id":"882f5e7088570c1394a529fe62c12786c786cad4","unresolved":false,"context_lines":[{"line_number":75,"context_line":"        parser.add_argument(\u0027--size\u0027, help\u003d\"Number of nodes\", required\u003dTrue)"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"        parser.add_argument(\u0027--volume_size\u0027, help\u003d\"Volume size\")"},{"line_number":78,"context_line":"        parser.add_argument(\u0027--auth\u0027,"},{"line_number":79,"context_line":"                            metavar\u003d\"\u003ctype\u003dtype,user\u003duser,pass\u003dpass\u003e\","},{"line_number":80,"context_line":"                            help\u003d\"broker authentication,\""},{"line_number":81,"context_line":"                                 \"type\u003dtype,user\u003duser,pass\u003dpass\")"}],"source_content_type":"text/x-python","patch_set":5,"id":"da20952f_61771803","line":78,"in_reply_to":"da20952f_cdadfb32","updated":"2015-08-27 00:27:11.000000000","message":"ok, will make it optional","commit_id":"c9eaf325dfe5aee07ec65cb3e94f98aa81c43f0a"},{"author":{"_account_id":10584,"name":"Min Pae","username":"sputnik13","inactive":true},"change_message_id":"cf38e74be1aaffb7d1b709d5d6ec849e229f67a9","unresolved":false,"context_lines":[{"line_number":88,"context_line":"        auth_type \u003d username \u003d password \u003d None"},{"line_number":89,"context_line":"        if parsed_args.auth:"},{"line_number":90,"context_line":"            for kv_str in parsed_args.auth.split(\",\"):"},{"line_number":91,"context_line":"                k, v \u003d kv_str.split(\"\u003d\")"},{"line_number":92,"context_line":"                if \u0027type\u0027 in k:"},{"line_number":93,"context_line":"                    auth_type \u003d v"},{"line_number":94,"context_line":"                elif \u0027user\u0027 in k:"}],"source_content_type":"text/x-python","patch_set":7,"id":"ba15a1d1_00f3989f","line":91,"updated":"2015-09-14 21:34:23.000000000","message":"there\u0027s no check for v being not empty, what happens if v is empty for any of these?  empty is different from missing, empty would be a zero length string in this case","commit_id":"ccc61f08e963987a5022d5778e3ce4d094d26902"},{"author":{"_account_id":13771,"name":"Davide Agnello","email":"dagnello@hp.com","username":"dagnello"},"change_message_id":"e58a022b793b457d3ab9f0a21fdb9f7c135bcd13","unresolved":false,"context_lines":[{"line_number":88,"context_line":"        auth_type \u003d username \u003d password \u003d None"},{"line_number":89,"context_line":"        if parsed_args.auth:"},{"line_number":90,"context_line":"            for kv_str in parsed_args.auth.split(\",\"):"},{"line_number":91,"context_line":"                k, v \u003d kv_str.split(\"\u003d\")"},{"line_number":92,"context_line":"                if \u0027type\u0027 in k:"},{"line_number":93,"context_line":"                    auth_type \u003d v"},{"line_number":94,"context_line":"                elif \u0027user\u0027 in k:"}],"source_content_type":"text/x-python","patch_set":7,"id":"ba15a1d1_a3d3d337","line":91,"in_reply_to":"ba15a1d1_00f3989f","updated":"2015-09-14 23:53:23.000000000","message":"it shouldn\u0027t matter if it\u0027s empty or not, it will pass either to the api.  The api will fail if it\u0027s not valid input as per broker requirements.","commit_id":"ccc61f08e963987a5022d5778e3ce4d094d26902"},{"author":{"_account_id":10584,"name":"Min Pae","username":"sputnik13","inactive":true},"change_message_id":"40fe3e7ba62b09bfe4bea60decd77099a2fb8a39","unresolved":false,"context_lines":[{"line_number":88,"context_line":"        auth_type \u003d username \u003d password \u003d None"},{"line_number":89,"context_line":"        if parsed_args.auth:"},{"line_number":90,"context_line":"            for kv_str in parsed_args.auth.split(\",\"):"},{"line_number":91,"context_line":"                k, v \u003d kv_str.split(\"\u003d\")"},{"line_number":92,"context_line":"                if \u0027type\u0027 in k:"},{"line_number":93,"context_line":"                    auth_type \u003d v"},{"line_number":94,"context_line":"                elif \u0027user\u0027 in k:"}],"source_content_type":"text/x-python","patch_set":7,"id":"ba15a1d1_f1f2c66e","line":91,"in_reply_to":"ba15a1d1_a3d3d337","updated":"2015-09-15 19:21:15.000000000","message":"that sounds good, since it won\u0027t come back as None and we\u0027re doing checks at the API","commit_id":"ccc61f08e963987a5022d5778e3ce4d094d26902"},{"author":{"_account_id":10584,"name":"Min Pae","username":"sputnik13","inactive":true},"change_message_id":"40fe3e7ba62b09bfe4bea60decd77099a2fb8a39","unresolved":false,"context_lines":[{"line_number":89,"context_line":"        if parsed_args.auth:"},{"line_number":90,"context_line":"            for kv_str in parsed_args.auth.split(\",\"):"},{"line_number":91,"context_line":"                k, v \u003d kv_str.split(\"\u003d\")"},{"line_number":92,"context_line":"                if \u0027type\u0027 in k:"},{"line_number":93,"context_line":"                    auth_type \u003d v"},{"line_number":94,"context_line":"                elif \u0027user\u0027 in k:"},{"line_number":95,"context_line":"                    username \u003d v"}],"source_content_type":"text/x-python","patch_set":7,"id":"ba15a1d1_5104d248","line":92,"updated":"2015-09-15 19:21:15.000000000","message":"these (92, 94, 96) are substring checks, the check should be on the entire string","commit_id":"ccc61f08e963987a5022d5778e3ce4d094d26902"}]}
