)]}'
{"monasca_setup/detection/plugins/kibana.py":[{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"d2c937ca9542be013dfef4a5a052c1979d1263f1","unresolved":false,"context_lines":[{"line_number":76,"context_line":"                          \u0027Module \"pyaml\" not found. %s\u0027"},{"line_number":77,"context_line":"                          % err_str)"},{"line_number":78,"context_line":"            elif not has_config_file:"},{"line_number":79,"context_line":"                LOG.warning(\"Kibana plugin cannot find configuration file %s. %s\""},{"line_number":80,"context_line":"                            % (cfg_file, err_str))"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"    def build_config(self):"}],"source_content_type":"text/x-python","patch_set":3,"id":"9fdfeff1_cb0ba8d2","line":79,"range":{"start_line":79,"start_character":27,"end_line":79,"end_character":81},"updated":"2019-02-12 10:04:18.000000000","message":"Restore single quotes, stick to one formatting that you already have in this file.","commit_id":"c4bff926f6526b15ab6bf155a5e76805af293bd1"},{"author":{"_account_id":29909,"name":"Michał Piotrowski","email":"piotrowskimichalwfis@gmail.com","username":"tatarinho"},"change_message_id":"68d0cac02bb3e9db8a3706fe380f1a17b13de814","unresolved":false,"context_lines":[{"line_number":76,"context_line":"                          \u0027Module \"pyaml\" not found. %s\u0027"},{"line_number":77,"context_line":"                          % err_str)"},{"line_number":78,"context_line":"            elif not has_config_file:"},{"line_number":79,"context_line":"                LOG.warning(\"Kibana plugin cannot find configuration file %s. %s\""},{"line_number":80,"context_line":"                            % (cfg_file, err_str))"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"    def build_config(self):"}],"source_content_type":"text/x-python","patch_set":3,"id":"9fdfeff1_528e8579","line":79,"range":{"start_line":79,"start_character":27,"end_line":79,"end_character":81},"in_reply_to":"9fdfeff1_cb0ba8d2","updated":"2019-02-13 07:51:11.000000000","message":"Done","commit_id":"c4bff926f6526b15ab6bf155a5e76805af293bd1"}],"monasca_setup/detection/plugins/ovs.py":[{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"d2c937ca9542be013dfef4a5a052c1979d1263f1","unresolved":false,"context_lines":[{"line_number":85,"context_line":"                log.info(\u0027OVS daemon process [%s] does not exist.\u0027,"},{"line_number":86,"context_line":"                         Ovs.PROC_NAME)"},{"line_number":87,"context_line":"            elif not neutron_conf_exists:"},{"line_number":88,"context_line":"                log.warning((\"OVS daemon process exists but configuration \""},{"line_number":89,"context_line":"                             \"file was not found. Path to file does not exist \""},{"line_number":90,"context_line":"                             \"as a process parameter or was not \""},{"line_number":91,"context_line":"                             \"passed via args.\"))"},{"line_number":92,"context_line":"            elif not neutron_conf_valid:"},{"line_number":93,"context_line":"                log.error((\u0027OVS daemon process exists, configuration file was \u0027"},{"line_number":94,"context_line":"                           \u0027found but it looks like it does not contain \u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"9fdfeff1_ab1f4406","line":91,"range":{"start_line":88,"start_character":29,"end_line":91,"end_character":47},"updated":"2019-02-12 10:04:18.000000000","message":"Restore single quotes.","commit_id":"c4bff926f6526b15ab6bf155a5e76805af293bd1"},{"author":{"_account_id":29909,"name":"Michał Piotrowski","email":"piotrowskimichalwfis@gmail.com","username":"tatarinho"},"change_message_id":"68d0cac02bb3e9db8a3706fe380f1a17b13de814","unresolved":false,"context_lines":[{"line_number":85,"context_line":"                log.info(\u0027OVS daemon process [%s] does not exist.\u0027,"},{"line_number":86,"context_line":"                         Ovs.PROC_NAME)"},{"line_number":87,"context_line":"            elif not neutron_conf_exists:"},{"line_number":88,"context_line":"                log.warning((\"OVS daemon process exists but configuration \""},{"line_number":89,"context_line":"                             \"file was not found. Path to file does not exist \""},{"line_number":90,"context_line":"                             \"as a process parameter or was not \""},{"line_number":91,"context_line":"                             \"passed via args.\"))"},{"line_number":92,"context_line":"            elif not neutron_conf_valid:"},{"line_number":93,"context_line":"                log.error((\u0027OVS daemon process exists, configuration file was \u0027"},{"line_number":94,"context_line":"                           \u0027found but it looks like it does not contain \u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"9fdfeff1_12ea3d0e","line":91,"range":{"start_line":88,"start_character":29,"end_line":91,"end_character":47},"in_reply_to":"9fdfeff1_ab1f4406","updated":"2019-02-13 07:51:11.000000000","message":"Done","commit_id":"c4bff926f6526b15ab6bf155a5e76805af293bd1"}],"tests/detection/test_kibana.py":[{"author":{"_account_id":26141,"name":"Adrian Czarnecki","email":"adrian.czarnecki@ts.fujitsu.com","username":"czarneckia"},"change_message_id":"705781aabcadfaed4ca9e42fd0e51aafca5966d5","unresolved":false,"context_lines":[{"line_number":113,"context_line":"                self.assertEqual(kibana_user, instance[\u0027username\u0027])"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"    def test_no_detect_no_process(self):"},{"line_number":116,"context_line":"        with mock.patch.object(LOG, \u0027info\u0027) as mock_log_error:"},{"line_number":117,"context_line":"            PSUtilGetProc.cmdLine \u003d []"},{"line_number":118,"context_line":"            self._detect(self.kibana_plugin)"},{"line_number":119,"context_line":"            self.assertFalse(self.kibana_plugin.available)"}],"source_content_type":"text/x-python","patch_set":3,"id":"9fdfeff1_2b66f4c2","line":116,"range":{"start_line":116,"start_character":52,"end_line":116,"end_character":61},"updated":"2019-02-12 10:04:11.000000000","message":"log_info","commit_id":"c4bff926f6526b15ab6bf155a5e76805af293bd1"},{"author":{"_account_id":29909,"name":"Michał Piotrowski","email":"piotrowskimichalwfis@gmail.com","username":"tatarinho"},"change_message_id":"68d0cac02bb3e9db8a3706fe380f1a17b13de814","unresolved":false,"context_lines":[{"line_number":113,"context_line":"                self.assertEqual(kibana_user, instance[\u0027username\u0027])"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"    def test_no_detect_no_process(self):"},{"line_number":116,"context_line":"        with mock.patch.object(LOG, \u0027info\u0027) as mock_log_error:"},{"line_number":117,"context_line":"            PSUtilGetProc.cmdLine \u003d []"},{"line_number":118,"context_line":"            self._detect(self.kibana_plugin)"},{"line_number":119,"context_line":"            self.assertFalse(self.kibana_plugin.available)"}],"source_content_type":"text/x-python","patch_set":3,"id":"9fdfeff1_92af0de2","line":116,"range":{"start_line":116,"start_character":52,"end_line":116,"end_character":61},"in_reply_to":"9fdfeff1_2b66f4c2","updated":"2019-02-13 07:51:11.000000000","message":"Done","commit_id":"c4bff926f6526b15ab6bf155a5e76805af293bd1"},{"author":{"_account_id":26141,"name":"Adrian Czarnecki","email":"adrian.czarnecki@ts.fujitsu.com","username":"czarneckia"},"change_message_id":"705781aabcadfaed4ca9e42fd0e51aafca5966d5","unresolved":false,"context_lines":[{"line_number":135,"context_line":"                             \u0027Plugin for Kibana will not be configured.\u0027)"},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"    def test_no_detect_no_default_config_file(self):"},{"line_number":138,"context_line":"        with mock.patch.object(LOG, \u0027warning\u0027) as mock_log_error:"},{"line_number":139,"context_line":"            self._detect(self.kibana_plugin, config_is_file\u003dFalse)"},{"line_number":140,"context_line":"            self.assertFalse(self.kibana_plugin.available)"},{"line_number":141,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"9fdfeff1_8b74c069","line":138,"range":{"start_line":138,"start_character":55,"end_line":138,"end_character":64},"updated":"2019-02-12 10:04:11.000000000","message":"log_warning","commit_id":"c4bff926f6526b15ab6bf155a5e76805af293bd1"},{"author":{"_account_id":29909,"name":"Michał Piotrowski","email":"piotrowskimichalwfis@gmail.com","username":"tatarinho"},"change_message_id":"68d0cac02bb3e9db8a3706fe380f1a17b13de814","unresolved":false,"context_lines":[{"line_number":135,"context_line":"                             \u0027Plugin for Kibana will not be configured.\u0027)"},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"    def test_no_detect_no_default_config_file(self):"},{"line_number":138,"context_line":"        with mock.patch.object(LOG, \u0027warning\u0027) as mock_log_error:"},{"line_number":139,"context_line":"            self._detect(self.kibana_plugin, config_is_file\u003dFalse)"},{"line_number":140,"context_line":"            self.assertFalse(self.kibana_plugin.available)"},{"line_number":141,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"9fdfeff1_52b52531","line":138,"range":{"start_line":138,"start_character":55,"end_line":138,"end_character":64},"in_reply_to":"9fdfeff1_8b74c069","updated":"2019-02-13 07:51:11.000000000","message":"Done","commit_id":"c4bff926f6526b15ab6bf155a5e76805af293bd1"},{"author":{"_account_id":26141,"name":"Adrian Czarnecki","email":"adrian.czarnecki@ts.fujitsu.com","username":"czarneckia"},"change_message_id":"705781aabcadfaed4ca9e42fd0e51aafca5966d5","unresolved":false,"context_lines":[{"line_number":148,"context_line":"    def test_no_detect_no_args_config_file(self):"},{"line_number":149,"context_line":"        config_file \u003d \u0027/fake/config\u0027"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"        patch_log_error \u003d mock.patch.object(LOG, \u0027warning\u0027)"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"        with patch_log_error as mock_log_error:"},{"line_number":154,"context_line":"            self.kibana_plugin.args \u003d {\u0027kibana-config\u0027: config_file}"}],"source_content_type":"text/x-python","patch_set":3,"id":"9fdfeff1_ab718478","line":151,"range":{"start_line":151,"start_character":18,"end_line":151,"end_character":23},"updated":"2019-02-12 10:04:11.000000000","message":"warning","commit_id":"c4bff926f6526b15ab6bf155a5e76805af293bd1"},{"author":{"_account_id":29909,"name":"Michał Piotrowski","email":"piotrowskimichalwfis@gmail.com","username":"tatarinho"},"change_message_id":"68d0cac02bb3e9db8a3706fe380f1a17b13de814","unresolved":false,"context_lines":[{"line_number":148,"context_line":"    def test_no_detect_no_args_config_file(self):"},{"line_number":149,"context_line":"        config_file \u003d \u0027/fake/config\u0027"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"        patch_log_error \u003d mock.patch.object(LOG, \u0027warning\u0027)"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"        with patch_log_error as mock_log_error:"},{"line_number":154,"context_line":"            self.kibana_plugin.args \u003d {\u0027kibana-config\u0027: config_file}"}],"source_content_type":"text/x-python","patch_set":3,"id":"9fdfeff1_72b2a94b","line":151,"range":{"start_line":151,"start_character":18,"end_line":151,"end_character":23},"in_reply_to":"9fdfeff1_ab718478","updated":"2019-02-13 07:51:11.000000000","message":"Done","commit_id":"c4bff926f6526b15ab6bf155a5e76805af293bd1"}],"tests/detection/test_ovs.py":[{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"d2c937ca9542be013dfef4a5a052c1979d1263f1","unresolved":false,"context_lines":[{"line_number":175,"context_line":"            self._detect(self.ovs_obj)"},{"line_number":176,"context_line":"            self.assertFalse(self.ovs_obj.available)"},{"line_number":177,"context_line":"            self.assertIsNone(self.ovs_obj.neutron_conf)"},{"line_number":178,"context_line":"            self.assertFalse(mock_log_warn.called)"},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"    def test_detect_conf_file_path_given(self):"},{"line_number":181,"context_line":"        self.ovs_obj.neutron_conf \u003d None"}],"source_content_type":"text/x-python","patch_set":3,"id":"9fdfeff1_4b1ed8bb","line":178,"range":{"start_line":178,"start_character":12,"end_line":178,"end_character":28},"updated":"2019-02-12 10:04:18.000000000","message":"Why you needed to change it to False? Besides making tests working.","commit_id":"c4bff926f6526b15ab6bf155a5e76805af293bd1"},{"author":{"_account_id":29909,"name":"Michał Piotrowski","email":"piotrowskimichalwfis@gmail.com","username":"tatarinho"},"change_message_id":"68d0cac02bb3e9db8a3706fe380f1a17b13de814","unresolved":false,"context_lines":[{"line_number":175,"context_line":"            self._detect(self.ovs_obj)"},{"line_number":176,"context_line":"            self.assertFalse(self.ovs_obj.available)"},{"line_number":177,"context_line":"            self.assertIsNone(self.ovs_obj.neutron_conf)"},{"line_number":178,"context_line":"            self.assertFalse(mock_log_warn.called)"},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"    def test_detect_conf_file_path_given(self):"},{"line_number":181,"context_line":"        self.ovs_obj.neutron_conf \u003d None"}],"source_content_type":"text/x-python","patch_set":3,"id":"9fdfeff1_f2f459f3","line":178,"range":{"start_line":178,"start_character":12,"end_line":178,"end_character":28},"in_reply_to":"9fdfeff1_4b1ed8bb","updated":"2019-02-13 07:51:11.000000000","message":"Done","commit_id":"c4bff926f6526b15ab6bf155a5e76805af293bd1"}]}
