)]}'
{"neutron/db/loadbalancer/loadbalancer_dbv2.py":[{"author":{"_account_id":6447,"name":"Avishay Balderman","email":"avishayb@radware.com","username":"avishayb"},"change_message_id":"83ea1e3416b681e5267ef0331cc31754da205c7b","unresolved":false,"context_lines":[{"line_number":917,"context_line":"        return l7policy_db_entry"},{"line_number":918,"context_line":""},{"line_number":919,"context_line":"    def update_l7policy(self, context, id, l7policy):"},{"line_number":920,"context_line":"        with context.session.begin(subtransactions\u003dTrue):"},{"line_number":921,"context_line":"            l7policy_db \u003d self._get_resource(context, L7Policy, id)"},{"line_number":922,"context_line":"            l7policy_db.update(l7policy)"},{"line_number":923,"context_line":"        context.session.refresh(l7policy_db)"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_f1ca439f","line":920,"updated":"2014-08-06 07:26:45.000000000","message":"Dont you have to run the validations you run at create_l7policy?","commit_id":"8e3b3a06e4fb17bab67dab4f75ef20df3a3269a2"},{"author":{"_account_id":8446,"name":"Evgeny Fedoruk","email":"evgenyf@radware.com","username":"evgenyfedoruk"},"change_message_id":"1078f62513f950873281db361a0aae77137c7a91","unresolved":false,"context_lines":[{"line_number":917,"context_line":"        return l7policy_db_entry"},{"line_number":918,"context_line":""},{"line_number":919,"context_line":"    def update_l7policy(self, context, id, l7policy):"},{"line_number":920,"context_line":"        with context.session.begin(subtransactions\u003dTrue):"},{"line_number":921,"context_line":"            l7policy_db \u003d self._get_resource(context, L7Policy, id)"},{"line_number":922,"context_line":"            l7policy_db.update(l7policy)"},{"line_number":923,"context_line":"        context.session.refresh(l7policy_db)"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_435b1786","line":920,"in_reply_to":"baada198_f1ca439f","updated":"2014-08-07 13:34:29.000000000","message":"Sure, thank you","commit_id":"8e3b3a06e4fb17bab67dab4f75ef20df3a3269a2"},{"author":{"_account_id":6447,"name":"Avishay Balderman","email":"avishayb@radware.com","username":"avishayb"},"change_message_id":"83ea1e3416b681e5267ef0331cc31754da205c7b","unresolved":false,"context_lines":[{"line_number":953,"context_line":"            l7rule_db_entry \u003d self._get_resource(context, L7Rule, id)"},{"line_number":954,"context_line":"            context.session.delete(l7rule_db_entry)"},{"line_number":955,"context_line":""},{"line_number":956,"context_line":"    def get_l7rule(self, context, id, fields\u003dNone):"},{"line_number":957,"context_line":"        return self._get_resource(context, L7Rule, id)"},{"line_number":958,"context_line":""},{"line_number":959,"context_line":"    def get_l7rules(self, context, filters\u003dNone):"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_b12c4b4b","line":956,"updated":"2014-08-06 07:26:45.000000000","message":"I think we need to have a comment that explains why get_entity methods has the \u0027fields\u0027 argument which is not in use in the method body.","commit_id":"8e3b3a06e4fb17bab67dab4f75ef20df3a3269a2"},{"author":{"_account_id":8446,"name":"Evgeny Fedoruk","email":"evgenyf@radware.com","username":"evgenyfedoruk"},"change_message_id":"1078f62513f950873281db361a0aae77137c7a91","unresolved":false,"context_lines":[{"line_number":953,"context_line":"            l7rule_db_entry \u003d self._get_resource(context, L7Rule, id)"},{"line_number":954,"context_line":"            context.session.delete(l7rule_db_entry)"},{"line_number":955,"context_line":""},{"line_number":956,"context_line":"    def get_l7rule(self, context, id, fields\u003dNone):"},{"line_number":957,"context_line":"        return self._get_resource(context, L7Rule, id)"},{"line_number":958,"context_line":""},{"line_number":959,"context_line":"    def get_l7rules(self, context, filters\u003dNone):"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_46d245d2","line":956,"in_reply_to":"baada198_b12c4b4b","updated":"2014-08-07 13:34:29.000000000","message":"removed it","commit_id":"8e3b3a06e4fb17bab67dab4f75ef20df3a3269a2"}],"neutron/extensions/loadbalancerv2.py":[{"author":{"_account_id":6951,"name":"Brandon Logan","email":"brandon.logan@rackspace.com","username":"brandon-logan"},"change_message_id":"c9248650a039367f1b76fcc2f8351a40ee5ab2ea","unresolved":false,"context_lines":[{"line_number":270,"context_line":"        \u0027status\u0027: {\u0027allow_post\u0027: False, \u0027allow_put\u0027: False,"},{"line_number":271,"context_line":"                   \u0027is_visible\u0027: True}"},{"line_number":272,"context_line":"    },"},{"line_number":273,"context_line":"    \u0027l7rules\u0027: {"},{"line_number":274,"context_line":"        \u0027id\u0027: {\u0027allow_post\u0027: False, \u0027allow_put\u0027: False,"},{"line_number":275,"context_line":"               \u0027validate\u0027: {\u0027type:uuid\u0027: None},"},{"line_number":276,"context_line":"               \u0027is_visible\u0027: True,"}],"source_content_type":"text/x-python","patch_set":2,"id":"baada198_099a4e6f","line":273,"updated":"2014-08-05 15:21:24.000000000","message":"I think l7rules should be a subresource of l7policies, much like members are a subresource of pools.","commit_id":"9a779b4cf02bb8a014da77c18b2ed0c3edf4596b"},{"author":{"_account_id":8446,"name":"Evgeny Fedoruk","email":"evgenyf@radware.com","username":"evgenyfedoruk"},"change_message_id":"ec4c92166df09c36598e7740ca8c7c9cca1c39e1","unresolved":false,"context_lines":[{"line_number":270,"context_line":"        \u0027status\u0027: {\u0027allow_post\u0027: False, \u0027allow_put\u0027: False,"},{"line_number":271,"context_line":"                   \u0027is_visible\u0027: True}"},{"line_number":272,"context_line":"    },"},{"line_number":273,"context_line":"    \u0027l7rules\u0027: {"},{"line_number":274,"context_line":"        \u0027id\u0027: {\u0027allow_post\u0027: False, \u0027allow_put\u0027: False,"},{"line_number":275,"context_line":"               \u0027validate\u0027: {\u0027type:uuid\u0027: None},"},{"line_number":276,"context_line":"               \u0027is_visible\u0027: True,"}],"source_content_type":"text/x-python","patch_set":2,"id":"baada198_0a395dcf","line":273,"in_reply_to":"baada198_099a4e6f","updated":"2014-08-05 16:01:12.000000000","message":"Thanks for reviewing it Brandon. Sure, I will change it within the next patch","commit_id":"9a779b4cf02bb8a014da77c18b2ed0c3edf4596b"},{"author":{"_account_id":6447,"name":"Avishay Balderman","email":"avishayb@radware.com","username":"avishayb"},"change_message_id":"fe37360f68ab826387f17915429a65aaca27585b","unresolved":false,"context_lines":[{"line_number":90,"context_line":"                \"supported by driver %(driver_name)s\")"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"class L7PolicyNotFound(qexception.NotFound):"},{"line_number":94,"context_line":"    message \u003d _(\"L7 Policy %(policy_id)s could not be found\")"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_31391bd0","line":93,"updated":"2014-08-06 07:19:27.000000000","message":"Please use EntityNotFound exception and remove this one","commit_id":"8e3b3a06e4fb17bab67dab4f75ef20df3a3269a2"},{"author":{"_account_id":8446,"name":"Evgeny Fedoruk","email":"evgenyf@radware.com","username":"evgenyfedoruk"},"change_message_id":"1078f62513f950873281db361a0aae77137c7a91","unresolved":false,"context_lines":[{"line_number":90,"context_line":"                \"supported by driver %(driver_name)s\")"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"class L7PolicyNotFound(qexception.NotFound):"},{"line_number":94,"context_line":"    message \u003d _(\"L7 Policy %(policy_id)s could not be found\")"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_06bdad67","line":93,"in_reply_to":"baada198_31391bd0","updated":"2014-08-07 13:34:29.000000000","message":"Done","commit_id":"8e3b3a06e4fb17bab67dab4f75ef20df3a3269a2"},{"author":{"_account_id":6447,"name":"Avishay Balderman","email":"avishayb@radware.com","username":"avishayb"},"change_message_id":"fe37360f68ab826387f17915429a65aaca27585b","unresolved":false,"context_lines":[{"line_number":104,"context_line":"                \" URL redirect action\")"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":""},{"line_number":107,"context_line":"class L7RuleNotFound(qexception.NotFound):"},{"line_number":108,"context_line":"    message \u003d _(\"L7 Rule %(rule_id)s could not be found\")"},{"line_number":109,"context_line":""},{"line_number":110,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_51468f51","line":107,"updated":"2014-08-06 07:19:27.000000000","message":"Please use EntityNotFound exception and remove this one","commit_id":"8e3b3a06e4fb17bab67dab4f75ef20df3a3269a2"},{"author":{"_account_id":8446,"name":"Evgeny Fedoruk","email":"evgenyf@radware.com","username":"evgenyfedoruk"},"change_message_id":"1078f62513f950873281db361a0aae77137c7a91","unresolved":false,"context_lines":[{"line_number":104,"context_line":"                \" URL redirect action\")"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":""},{"line_number":107,"context_line":"class L7RuleNotFound(qexception.NotFound):"},{"line_number":108,"context_line":"    message \u003d _(\"L7 Rule %(rule_id)s could not be found\")"},{"line_number":109,"context_line":""},{"line_number":110,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_66abc91f","line":107,"in_reply_to":"baada198_51468f51","updated":"2014-08-07 13:34:29.000000000","message":"Done","commit_id":"8e3b3a06e4fb17bab67dab4f75ef20df3a3269a2"}],"neutron/tests/unit/db/loadbalancer/test_db_loadbalancerv2.py":[{"author":{"_account_id":6447,"name":"Avishay Balderman","email":"avishayb@radware.com","username":"avishayb"},"change_message_id":"77257b8312ca857e3b34b39785f3129d6a3fff08","unresolved":false,"context_lines":[{"line_number":204,"context_line":"                           \u0027tenant_id\u0027: self._tenant_id}}"},{"line_number":205,"context_line":""},{"line_number":206,"context_line":"        args \u003d self._get_l7rule_optional_args()"},{"line_number":207,"context_line":"        for arg in args:"},{"line_number":208,"context_line":"            if arg in kwargs and kwargs[arg] is not None:"},{"line_number":209,"context_line":"                data[\u0027l7rule\u0027][arg] \u003d kwargs[arg]"},{"line_number":210,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_91c2e700","line":207,"updated":"2014-08-06 07:41:32.000000000","message":"This can be turned into utility method \u0027add_optional_values(\u0027entity\u0027,args)\u0027\nso you can use it on both create operations","commit_id":"8e3b3a06e4fb17bab67dab4f75ef20df3a3269a2"},{"author":{"_account_id":8446,"name":"Evgeny Fedoruk","email":"evgenyf@radware.com","username":"evgenyfedoruk"},"change_message_id":"1078f62513f950873281db361a0aae77137c7a91","unresolved":false,"context_lines":[{"line_number":204,"context_line":"                           \u0027tenant_id\u0027: self._tenant_id}}"},{"line_number":205,"context_line":""},{"line_number":206,"context_line":"        args \u003d self._get_l7rule_optional_args()"},{"line_number":207,"context_line":"        for arg in args:"},{"line_number":208,"context_line":"            if arg in kwargs and kwargs[arg] is not None:"},{"line_number":209,"context_line":"                data[\u0027l7rule\u0027][arg] \u003d kwargs[arg]"},{"line_number":210,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_41a6af10","line":207,"in_reply_to":"baada198_91c2e700","updated":"2014-08-07 13:34:29.000000000","message":"Done, It should be done for all entities","commit_id":"8e3b3a06e4fb17bab67dab4f75ef20df3a3269a2"},{"author":{"_account_id":6447,"name":"Avishay Balderman","email":"avishayb@radware.com","username":"avishayb"},"change_message_id":"77257b8312ca857e3b34b39785f3129d6a3fff08","unresolved":false,"context_lines":[{"line_number":1772,"context_line":"    def test_create_l7policy_invalid_listener_id(self, **extras):"},{"line_number":1773,"context_line":"        self._create_l7policy(self.fmt, uuidutils.generate_uuid(),"},{"line_number":1774,"context_line":"                              lb_const.L7_POLICY_ACTION_REJECT, 0,"},{"line_number":1775,"context_line":"                              expected_res_status\u003d404)"},{"line_number":1776,"context_line":""},{"line_number":1777,"context_line":"    def test_create_l7policy_with_conflict(self, **extras):"},{"line_number":1778,"context_line":"        l7policy_data \u003d {"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_71dd53dd","line":1775,"updated":"2014-08-06 07:41:32.000000000","message":"Use a constant and not directly 404","commit_id":"8e3b3a06e4fb17bab67dab4f75ef20df3a3269a2"},{"author":{"_account_id":8446,"name":"Evgeny Fedoruk","email":"evgenyf@radware.com","username":"evgenyfedoruk"},"change_message_id":"1078f62513f950873281db361a0aae77137c7a91","unresolved":false,"context_lines":[{"line_number":1772,"context_line":"    def test_create_l7policy_invalid_listener_id(self, **extras):"},{"line_number":1773,"context_line":"        self._create_l7policy(self.fmt, uuidutils.generate_uuid(),"},{"line_number":1774,"context_line":"                              lb_const.L7_POLICY_ACTION_REJECT, 0,"},{"line_number":1775,"context_line":"                              expected_res_status\u003d404)"},{"line_number":1776,"context_line":""},{"line_number":1777,"context_line":"    def test_create_l7policy_with_conflict(self, **extras):"},{"line_number":1778,"context_line":"        l7policy_data \u003d {"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_acbf69fc","line":1775,"in_reply_to":"baada198_71dd53dd","updated":"2014-08-07 13:34:29.000000000","message":"Done","commit_id":"8e3b3a06e4fb17bab67dab4f75ef20df3a3269a2"}]}
