)]}'
{"neutron/services/loadbalancer/drivers/radware/driver.py":[{"author":{"_account_id":6072,"name":"Eugene Nikanorov","email":"enikanorov@mirantis.com","username":"enikanorov"},"change_message_id":"8526d05b7f78cdc15c809b9f933022da2f0f300e","unresolved":false,"context_lines":[{"line_number":691,"context_line":"            LOG.warning(_(\u0027vDirect server is not responding (%s).\u0027),"},{"line_number":692,"context_line":"                        self.server)"},{"line_number":693,"context_line":"            return self._recover(action, resource, data, headers, binary)"},{"line_number":694,"context_line":"        elif resp[RESP_STATUS] in [301, 307]:"},{"line_number":695,"context_line":"            LOG.warning(_(\u0027vDirect server is not active (%s).\u0027),"},{"line_number":696,"context_line":"                        self.server)"},{"line_number":697,"context_line":"            return self._recover(action, resource, data, headers, binary)"}],"source_content_type":"text/x-python","patch_set":1,"id":"3ae8d1ca_b2ac0437","line":694,"updated":"2014-05-29 12:47:02.000000000","message":"nit: in (301, 307):\n\nsee comment to test file","commit_id":"ac1ae029decea4a17f91709c224c1ff20bfb3023"},{"author":{"_account_id":6447,"name":"Avishay Balderman","email":"avishayb@radware.com","username":"avishayb"},"change_message_id":"0d4d25f0ad9674caf4678bef2a6bda73a5a6088c","unresolved":false,"context_lines":[{"line_number":691,"context_line":"            LOG.warning(_(\u0027vDirect server is not responding (%s).\u0027),"},{"line_number":692,"context_line":"                        self.server)"},{"line_number":693,"context_line":"            return self._recover(action, resource, data, headers, binary)"},{"line_number":694,"context_line":"        elif resp[RESP_STATUS] in [301, 307]:"},{"line_number":695,"context_line":"            LOG.warning(_(\u0027vDirect server is not active (%s).\u0027),"},{"line_number":696,"context_line":"                        self.server)"},{"line_number":697,"context_line":"            return self._recover(action, resource, data, headers, binary)"}],"source_content_type":"text/x-python","patch_set":1,"id":"3ae8d1ca_ffd73421","line":694,"in_reply_to":"3ae8d1ca_b2ac0437","updated":"2014-05-29 13:26:14.000000000","message":"Done","commit_id":"ac1ae029decea4a17f91709c224c1ff20bfb3023"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"787d04a85cf2576dcd36293a1523e0bf430b456d","unresolved":false,"context_lines":[{"line_number":22,"context_line":"import Queue"},{"line_number":23,"context_line":"import threading"},{"line_number":24,"context_line":"import time"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"import eventlet"},{"line_number":28,"context_line":"from oslo.config import cfg"}],"source_content_type":"text/x-python","patch_set":4,"id":"1ae5cdf2_9271530e","line":25,"updated":"2014-06-05 16:01:34.000000000","message":"any reason for the extra new line here?","commit_id":"c892a0f398b664bacf8a2a0302f51e3d9b96619d"}],"neutron/tests/unit/services/loadbalancer/drivers/radware/test_plugin_driver.py":[{"author":{"_account_id":6072,"name":"Eugene Nikanorov","email":"enikanorov@mirantis.com","username":"enikanorov"},"change_message_id":"8526d05b7f78cdc15c809b9f933022da2f0f300e","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# vim: tabstop\u003d4 shiftwidth\u003d4 softtabstop\u003d4"},{"line_number":2,"context_line":"# vim: tabstop\u003d4 shiftwidth\u003d4 softtabstop\u003d4"},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"# Copyright 2013 Radware LTD."},{"line_number":5,"context_line":"#"}],"source_content_type":"text/x-python","patch_set":1,"id":"3ae8d1ca_92038841","line":2,"updated":"2014-05-29 12:47:02.000000000","message":"nit: needs to be removed","commit_id":"ac1ae029decea4a17f91709c224c1ff20bfb3023"},{"author":{"_account_id":6447,"name":"Avishay Balderman","email":"avishayb@radware.com","username":"avishayb"},"change_message_id":"0d4d25f0ad9674caf4678bef2a6bda73a5a6088c","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# vim: tabstop\u003d4 shiftwidth\u003d4 softtabstop\u003d4"},{"line_number":2,"context_line":"# vim: tabstop\u003d4 shiftwidth\u003d4 softtabstop\u003d4"},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"# Copyright 2013 Radware LTD."},{"line_number":5,"context_line":"#"}],"source_content_type":"text/x-python","patch_set":1,"id":"3ae8d1ca_7fca446f","line":2,"in_reply_to":"3ae8d1ca_92038841","updated":"2014-05-29 13:26:14.000000000","message":"Done","commit_id":"ac1ae029decea4a17f91709c224c1ff20bfb3023"},{"author":{"_account_id":6072,"name":"Eugene Nikanorov","email":"enikanorov@mirantis.com","username":"enikanorov"},"change_message_id":"8526d05b7f78cdc15c809b9f933022da2f0f300e","unresolved":false,"context_lines":[{"line_number":33,"context_line":"from neutron.tests.unit.db.loadbalancer import test_db_loadbalancer"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"GET_200 \u003d (\u0027/api/workflow/\u0027, \u0027/api/service/\u0027, \u0027/api/workflowTemplate\u0027)"},{"line_number":36,"context_line":"SERVER_DOWN_CODES \u003d [-1, 301, 307]"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"class QueueMock(Queue.Queue):"}],"source_content_type":"text/x-python","patch_set":1,"id":"3ae8d1ca_329ab414","line":36,"updated":"2014-05-29 12:47:02.000000000","message":"style nit: i think it\u0027s more common to use tuples for defining constant lists.","commit_id":"ac1ae029decea4a17f91709c224c1ff20bfb3023"},{"author":{"_account_id":6447,"name":"Avishay Balderman","email":"avishayb@radware.com","username":"avishayb"},"change_message_id":"0d4d25f0ad9674caf4678bef2a6bda73a5a6088c","unresolved":false,"context_lines":[{"line_number":33,"context_line":"from neutron.tests.unit.db.loadbalancer import test_db_loadbalancer"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"GET_200 \u003d (\u0027/api/workflow/\u0027, \u0027/api/service/\u0027, \u0027/api/workflowTemplate\u0027)"},{"line_number":36,"context_line":"SERVER_DOWN_CODES \u003d [-1, 301, 307]"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"class QueueMock(Queue.Queue):"}],"source_content_type":"text/x-python","patch_set":1,"id":"3ae8d1ca_5fcf487f","line":36,"in_reply_to":"3ae8d1ca_329ab414","updated":"2014-05-29 13:26:14.000000000","message":"Done","commit_id":"ac1ae029decea4a17f91709c224c1ff20bfb3023"},{"author":{"_account_id":6072,"name":"Eugene Nikanorov","email":"enikanorov@mirantis.com","username":"enikanorov"},"change_message_id":"37e9d75a294b66737244b9f812617d891b99544f","unresolved":false,"context_lines":[{"line_number":141,"context_line":""},{"line_number":142,"context_line":"        self.addCleanup(radware_driver.completion_handler.join)"},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"    def test_rest_client_flip_servers(self):"},{"line_number":145,"context_line":"        radware_driver \u003d self.plugin_instance.drivers[\u0027radware\u0027]"},{"line_number":146,"context_line":"        server \u003d radware_driver.rest_client.server"},{"line_number":147,"context_line":"        sec_server \u003d radware_driver.rest_client.secondary_server"}],"source_content_type":"text/x-python","patch_set":2,"id":"3ae8d1ca_5f21084c","line":144,"updated":"2014-05-29 13:24:32.000000000","message":"I was actually thinking about mocking response from vDirect backend and checking if flip and recover were called and then check that server and secondary server were flipped.","commit_id":"4d7579d55ede7e159cc844a510b59bc918e13ad2"},{"author":{"_account_id":6447,"name":"Avishay Balderman","email":"avishayb@radware.com","username":"avishayb"},"change_message_id":"b619d04aca1deb567b2b63b1e055579e57f8c154","unresolved":false,"context_lines":[{"line_number":141,"context_line":""},{"line_number":142,"context_line":"        self.addCleanup(radware_driver.completion_handler.join)"},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"    def test_rest_client_flip_servers(self):"},{"line_number":145,"context_line":"        radware_driver \u003d self.plugin_instance.drivers[\u0027radware\u0027]"},{"line_number":146,"context_line":"        server \u003d radware_driver.rest_client.server"},{"line_number":147,"context_line":"        sec_server \u003d radware_driver.rest_client.secondary_server"}],"source_content_type":"text/x-python","patch_set":2,"id":"3ae8d1ca_9fdc7014","line":144,"in_reply_to":"3ae8d1ca_5f21084c","updated":"2014-05-29 13:32:23.000000000","message":"makes sense - will do that","commit_id":"4d7579d55ede7e159cc844a510b59bc918e13ad2"},{"author":{"_account_id":6072,"name":"Eugene Nikanorov","email":"enikanorov@mirantis.com","username":"enikanorov"},"change_message_id":"edaf63eb9ad2beb1c746bcb41352aef242ff6f8d","unresolved":false,"context_lines":[{"line_number":152,"context_line":"        \"\"\"Call the real REST client and verify _flip_servers is called.\"\"\""},{"line_number":153,"context_line":"        radware_driver \u003d self.plugin_instance.drivers[\u0027radware\u0027]"},{"line_number":154,"context_line":"        self.driver_rest_call_mock \u003d None"},{"line_number":155,"context_line":"        try:"},{"line_number":156,"context_line":"            radware_driver._verify_workflow_templates()"},{"line_number":157,"context_line":"        except r_exc.RESTRequestFailure:"},{"line_number":158,"context_line":"            self.flip_servers_mock.assert_called_once_with()"}],"source_content_type":"text/x-python","patch_set":3,"id":"1ae5cdf2_d6f9aac9","line":155,"updated":"2014-06-01 07:55:37.000000000","message":"can it be changed to:\n self.assertRaises(r_exc.RESTRequestFailure, radware_driver._verify_workflow_templates)\n self.flip_servers_mock.assert_called_once_with()\n\n?\n\nIn current for that looks like it can either throw exception or not.\n\nThe same for the test below","commit_id":"76f2111247a04a4f328cfd2f3e5da7052ecb7a3c"},{"author":{"_account_id":6447,"name":"Avishay Balderman","email":"avishayb@radware.com","username":"avishayb"},"change_message_id":"9fc0654d3fee2c3d9b7859498b0a0ebdcf523a38","unresolved":false,"context_lines":[{"line_number":152,"context_line":"        \"\"\"Call the real REST client and verify _flip_servers is called.\"\"\""},{"line_number":153,"context_line":"        radware_driver \u003d self.plugin_instance.drivers[\u0027radware\u0027]"},{"line_number":154,"context_line":"        self.driver_rest_call_mock \u003d None"},{"line_number":155,"context_line":"        try:"},{"line_number":156,"context_line":"            radware_driver._verify_workflow_templates()"},{"line_number":157,"context_line":"        except r_exc.RESTRequestFailure:"},{"line_number":158,"context_line":"            self.flip_servers_mock.assert_called_once_with()"}],"source_content_type":"text/x-python","patch_set":3,"id":"1ae5cdf2_96364251","line":155,"in_reply_to":"1ae5cdf2_d6f9aac9","updated":"2014-06-01 08:41:27.000000000","message":"I Agree.\nWill do that.","commit_id":"76f2111247a04a4f328cfd2f3e5da7052ecb7a3c"}]}
