)]}'
{"nova/policies/limits.py":[{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"d46649aeae5ad6199c439a93dbdce3a82c971edb","unresolved":false,"context_lines":[{"line_number":19,"context_line":""},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"BASE_POLICY_NAME \u003d \u0027os_compute_api:limits\u0027"},{"line_number":22,"context_line":"OTHER_PROJECT_LIMIT_POLICY_NAME \u003d \u0027os_compute_api:limits:other_project\u0027"},{"line_number":23,"context_line":"DEPRECATED_POLICY \u003d policy.DeprecatedRule("},{"line_number":24,"context_line":"    \u0027os_compute_api:os-used-limits\u0027,"},{"line_number":25,"context_line":"    base.RULE_ADMIN_API,"}],"source_content_type":"text/x-python","patch_set":11,"id":"df33271e_56f551ec","line":22,"updated":"2020-03-31 10:50:45.000000000","message":"good call","commit_id":"b72519e776eee4dc0437457cffd2f4a3613c8d25"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"03a3cfc2f330aea611c7b24b3cc5ba2f73233289","unresolved":false,"context_lines":[{"line_number":35,"context_line":"    policy.DocumentedRuleDefault("},{"line_number":36,"context_line":"        name\u003dBASE_POLICY_NAME,"},{"line_number":37,"context_line":"        check_str\u003dbase.RULE_ANY,"},{"line_number":38,"context_line":"        description\u003d\"Show rate and absolute limits for the current user project\","},{"line_number":39,"context_line":"        operations\u003d["},{"line_number":40,"context_line":"            {"},{"line_number":41,"context_line":"                \u0027method\u0027: \u0027GET\u0027,"}],"source_content_type":"text/x-python","patch_set":13,"id":"df33271e_4da3afb2","line":38,"updated":"2020-04-03 02:02:23.000000000","message":"pep8: E501 line too long (81 \u003e 79 characters)","commit_id":"d695d955be788d2a82fd0e23eebddf9e6c68c0d6"}],"nova/tests/unit/policies/test_limits.py":[{"author":{"_account_id":9708,"name":"Balazs Gibizer","display_name":"gibi","email":"gibizer@gmail.com","username":"gibi"},"change_message_id":"fb6721e08504a0772b028d0bbef73f986d7ead74","unresolved":false,"context_lines":[{"line_number":66,"context_line":"        # Check that system reader is able to get other projects limit."},{"line_number":67,"context_line":"        # NOTE(gmann): Until old default rule which is admin_api is"},{"line_number":68,"context_line":"        # deprecated and not removed, project admin and legacy admin"},{"line_number":69,"context_line":"        # will be able to read the agent data. This make sure that existing"},{"line_number":70,"context_line":"        # tokens will keep working even we have changed this policy defaults"},{"line_number":71,"context_line":"        # to reader role."},{"line_number":72,"context_line":"        self.reader_authorized_contexts \u003d ["}],"source_content_type":"text/x-python","patch_set":14,"id":"df33271e_5c721013","line":69,"range":{"start_line":69,"start_character":31,"end_line":69,"end_character":45},"updated":"2020-04-06 10:45:04.000000000","message":"is it a copy paste error? or what agent this text talks about?","commit_id":"8685b6da3ea0f88fdce72fc11442ee96725c5db3"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"30a7c902d0ecc9dc4094dff55fb308476a3133eb","unresolved":false,"context_lines":[{"line_number":66,"context_line":"        # Check that system reader is able to get other projects limit."},{"line_number":67,"context_line":"        # NOTE(gmann): Until old default rule which is admin_api is"},{"line_number":68,"context_line":"        # deprecated and not removed, project admin and legacy admin"},{"line_number":69,"context_line":"        # will be able to read the agent data. This make sure that existing"},{"line_number":70,"context_line":"        # tokens will keep working even we have changed this policy defaults"},{"line_number":71,"context_line":"        # to reader role."},{"line_number":72,"context_line":"        self.reader_authorized_contexts \u003d ["}],"source_content_type":"text/x-python","patch_set":14,"id":"df33271e_ab2b0c80","line":69,"range":{"start_line":69,"start_character":31,"end_line":69,"end_character":45},"in_reply_to":"df33271e_5c721013","updated":"2020-04-06 14:07:31.000000000","message":"ah yeah, this is copy paste error. \n\nI noted this and will fix in followup along with few more tests I had. Thanks for catching it.","commit_id":"8685b6da3ea0f88fdce72fc11442ee96725c5db3"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"8eae1202607da12d5c48e993a91a02d93df8745b","unresolved":false,"context_lines":[{"line_number":66,"context_line":"        # Check that system reader is able to get other projects limit."},{"line_number":67,"context_line":"        # NOTE(gmann): Until old default rule which is admin_api is"},{"line_number":68,"context_line":"        # deprecated and not removed, project admin and legacy admin"},{"line_number":69,"context_line":"        # will be able to read the agent data. This make sure that existing"},{"line_number":70,"context_line":"        # tokens will keep working even we have changed this policy defaults"},{"line_number":71,"context_line":"        # to reader role."},{"line_number":72,"context_line":"        self.reader_authorized_contexts \u003d ["}],"source_content_type":"text/x-python","patch_set":14,"id":"df33271e_0532e0a7","line":69,"range":{"start_line":69,"start_character":31,"end_line":69,"end_character":45},"in_reply_to":"df33271e_ab2b0c80","updated":"2020-04-06 19:01:12.000000000","message":"added note for this on my followup cleanup patch - https://review.opendev.org/#/c/717835/1","commit_id":"8685b6da3ea0f88fdce72fc11442ee96725c5db3"}]}
