)]}'
{"aodhclient/tests/unit/test_alarm_cli.py":[{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"309e4ce646c63bfacc299b240b991fab8c97533c","unresolved":false,"context_lines":[{"line_number":63,"context_line":"        mock_arg.assert_called_once_with("},{"line_number":64,"context_line":"            \u0027threshold alarm requires -m/--meter-name and \u0027"},{"line_number":65,"context_line":"            \u0027--threshold parameters. meter name can be \u0027"},{"line_number":66,"context_line":"            \u0027found in ceilometer\u0027)"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"    @mock.patch.object(argparse.ArgumentParser, \u0027error\u0027)"},{"line_number":69,"context_line":"    def test_validate_args_gno_agg_by_resources_threshold(self, mock_arg):"}],"source_content_type":"text/x-python","patch_set":1,"id":"bab6814e_b803e40e","line":66,"range":{"start_line":66,"start_character":22,"end_line":66,"end_character":32},"updated":"2016-05-18 12:50:33.000000000","message":"Ceilometer","commit_id":"31ebe92649a2f479098a255592a8262ad5236025"}],"aodhclient/v2/alarm_cli.py":[{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"6170117523d62746afdb320a76bbd041db493019","unresolved":false,"context_lines":[{"line_number":313,"context_line":"    def _validate_args(self, parsed_args):"},{"line_number":314,"context_line":"        if (parsed_args.type \u003d\u003d \u0027threshold\u0027 and"},{"line_number":315,"context_line":"                not (parsed_args.meter_name and parsed_args.threshold)):"},{"line_number":316,"context_line":"            self.parser.error(\u0027threshold alarm requires -m/--meter-name and \u0027"},{"line_number":317,"context_line":"                              \u0027--threshold parameters. meter name can be \u0027"},{"line_number":318,"context_line":"                              \u0027found in ceilometer\u0027)"},{"line_number":319,"context_line":"        elif (parsed_args.type \u003d\u003d \u0027gnocchi_resources_threshold\u0027 and"}],"source_content_type":"text/x-python","patch_set":1,"id":"bab6814e_cc7ee0ad","line":316,"updated":"2016-05-18 15:51:08.000000000","message":"s/threshold/Threshold/","commit_id":"31ebe92649a2f479098a255592a8262ad5236025"},{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"6170117523d62746afdb320a76bbd041db493019","unresolved":false,"context_lines":[{"line_number":314,"context_line":"        if (parsed_args.type \u003d\u003d \u0027threshold\u0027 and"},{"line_number":315,"context_line":"                not (parsed_args.meter_name and parsed_args.threshold)):"},{"line_number":316,"context_line":"            self.parser.error(\u0027threshold alarm requires -m/--meter-name and \u0027"},{"line_number":317,"context_line":"                              \u0027--threshold parameters. meter name can be \u0027"},{"line_number":318,"context_line":"                              \u0027found in ceilometer\u0027)"},{"line_number":319,"context_line":"        elif (parsed_args.type \u003d\u003d \u0027gnocchi_resources_threshold\u0027 and"},{"line_number":320,"context_line":"              not (parsed_args.metric and parsed_args.threshold and"}],"source_content_type":"text/x-python","patch_set":1,"id":"bab6814e_8c5b3854","line":317,"updated":"2016-05-18 15:51:08.000000000","message":"s/meter/Meter/","commit_id":"31ebe92649a2f479098a255592a8262ad5236025"},{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"309e4ce646c63bfacc299b240b991fab8c97533c","unresolved":false,"context_lines":[{"line_number":315,"context_line":"                not (parsed_args.meter_name and parsed_args.threshold)):"},{"line_number":316,"context_line":"            self.parser.error(\u0027threshold alarm requires -m/--meter-name and \u0027"},{"line_number":317,"context_line":"                              \u0027--threshold parameters. meter name can be \u0027"},{"line_number":318,"context_line":"                              \u0027found in ceilometer\u0027)"},{"line_number":319,"context_line":"        elif (parsed_args.type \u003d\u003d \u0027gnocchi_resources_threshold\u0027 and"},{"line_number":320,"context_line":"              not (parsed_args.metric and parsed_args.threshold and"},{"line_number":321,"context_line":"                   parsed_args.resource_id and parsed_args.resource_type"}],"source_content_type":"text/x-python","patch_set":1,"id":"bab6814e_9313615c","line":318,"range":{"start_line":318,"start_character":40,"end_line":318,"end_character":50},"updated":"2016-05-18 12:50:33.000000000","message":"Ceilometer","commit_id":"31ebe92649a2f479098a255592a8262ad5236025"},{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"014f01fa5da593a06312f81f87fbf45f81d1b067","unresolved":false,"context_lines":[{"line_number":346,"context_line":"              not (parsed_args.metric and parsed_args.threshold and"},{"line_number":347,"context_line":"                   parsed_args.resource_id and parsed_args.resource_type"},{"line_number":348,"context_line":"                   and parsed_args.aggregation_method)):"},{"line_number":349,"context_line":"            self.parser.error(\u0027Gnocchi_resources_threshold requires --metric, \u0027"},{"line_number":350,"context_line":"                              \u0027--threshold, --resource-id, --resource-type \u0027"},{"line_number":351,"context_line":"                              \u0027and --aggregation-method\u0027)"},{"line_number":352,"context_line":"        elif (parsed_args.type \u003d\u003d \u0027gnocchi_aggregation_by_metrics_threshold\u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"bab6814e_f31b861a","line":349,"updated":"2016-05-25 12:16:09.000000000","message":"i don\u0027t think these need to be capitalised... the param option is actually all lower case. sorry if previous comment was misleading","commit_id":"a744aa82604c6696029d932f0a69e8d583ab745e"},{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"014f01fa5da593a06312f81f87fbf45f81d1b067","unresolved":false,"context_lines":[{"line_number":352,"context_line":"        elif (parsed_args.type \u003d\u003d \u0027gnocchi_aggregation_by_metrics_threshold\u0027"},{"line_number":353,"context_line":"              and not (parsed_args.metrics and parsed_args.threshold and"},{"line_number":354,"context_line":"                       parsed_args.aggregation_method)):"},{"line_number":355,"context_line":"            self.parser.error(\u0027Gnocchi_aggregation_by_metrics_threshold \u0027"},{"line_number":356,"context_line":"                              \u0027requires --metrics, --threshold and \u0027"},{"line_number":357,"context_line":"                              \u0027--aggregation-method\u0027)"},{"line_number":358,"context_line":"        elif (parsed_args.type \u003d\u003d \u0027gnocchi_aggregation_by_resources_threshold\u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"bab6814e_93bafadf","line":355,"updated":"2016-05-25 12:16:09.000000000","message":"same","commit_id":"a744aa82604c6696029d932f0a69e8d583ab745e"},{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"014f01fa5da593a06312f81f87fbf45f81d1b067","unresolved":false,"context_lines":[{"line_number":359,"context_line":"              and not (parsed_args.metric and parsed_args.threshold and"},{"line_number":360,"context_line":"                       parsed_args.query and parsed_args.resource_type and"},{"line_number":361,"context_line":"                       parsed_args.aggregation_method)):"},{"line_number":362,"context_line":"            self.parser.error(\u0027Gnocchi_aggregation_by_resources_threshold \u0027"},{"line_number":363,"context_line":"                              \u0027requires --metric, --threshold, \u0027"},{"line_number":364,"context_line":"                              \u0027--aggregation-method, --query and \u0027"},{"line_number":365,"context_line":"                              \u0027--resource-type\u0027)"}],"source_content_type":"text/x-python","patch_set":3,"id":"bab6814e_73bdd6d6","line":362,"updated":"2016-05-25 12:16:09.000000000","message":"same","commit_id":"a744aa82604c6696029d932f0a69e8d583ab745e"}]}
