)]}'
{"doc/source/rest.j2":[{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"32e84c4a8719dfcb8fe7bb01427e824531078469","unresolved":false,"context_lines":[{"line_number":151,"context_line":""},{"line_number":152,"context_line":"An archive policy rule for example could be a mapping to default a medium archive"},{"line_number":153,"context_line":"policy for any volume metric with a pattern matching `volume.*`. When a sample metric"},{"line_number":154,"context_line":"is posted with a name of `volume.size`, that would match the pattern and the"},{"line_number":155,"context_line":"rule applies and sets the archive policy to medium."},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"To create a rule, the following API request should be used:"}],"source_content_type":"text/x-jinja2","patch_set":2,"id":"9a1a9d01_e94c8e9f","line":154,"updated":"2015-10-01 09:08:17.000000000","message":"You need to say here that when evaluated in a certain order.","commit_id":"9336639172a0ff773b084f8f4837901136290762"},{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"32e84c4a8719dfcb8fe7bb01427e824531078469","unresolved":false,"context_lines":[{"line_number":169,"context_line":"{{ scenarios[\u0027get-archive-policy-rule\u0027][\u0027doc\u0027] }}"},{"line_number":170,"context_line":""},{"line_number":171,"context_line":"It is also possible to list archive policy rules. The result set is ordered by"},{"line_number":172,"context_line":"the metric_pattern, in reverse alphabetical order:"},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"{{ scenarios[\u0027list-archive-policy-rule\u0027][\u0027doc\u0027] }}"},{"line_number":175,"context_line":""}],"source_content_type":"text/x-jinja2","patch_set":2,"id":"9a1a9d01_0969c2f8","line":172,"updated":"2015-10-01 09:08:17.000000000","message":"`metric_pattern`","commit_id":"9336639172a0ff773b084f8f4837901136290762"},{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"450cd8658797c0b6c5bff0a5b04c567f76fa0362","unresolved":false,"context_lines":[{"line_number":154,"context_line":"is posted with a name of `volume.size`, that would match the pattern and the"},{"line_number":155,"context_line":"rule applies and sets the archive policy to medium. If multiple rules match,"},{"line_number":156,"context_line":"the longest matching rule is taken. For example, if two rules exists matching"},{"line_number":157,"context_line":"`*` and `disk.*`, a disk.io.rate metric would match the `disk.*` rule rather"},{"line_number":158,"context_line":"than `*` rule."},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"To create a rule, the following API request should be used:"}],"source_content_type":"text/x-jinja2","patch_set":4,"id":"9a1a9d01_ae5e6174","line":157,"updated":"2015-10-02 12:19:58.000000000","message":"`disk.io.rate`","commit_id":"ea1c46ce818f71e42a72d9e87783389d4567aa53"},{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"54aee9ac01f46f566c95152297e4221e7c19d4ae","unresolved":false,"context_lines":[{"line_number":154,"context_line":"is posted with a name of `volume.size`, that would match the pattern and the"},{"line_number":155,"context_line":"rule applies and sets the archive policy to medium. If multiple rules match,"},{"line_number":156,"context_line":"the longest matching rule is taken. For example, if two rules exists matching"},{"line_number":157,"context_line":"`*` and `disk.*`, a `disk.io.rate` metric would match the `disk.*` rule rather"},{"line_number":158,"context_line":"than `*` rule."},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"To create a rule, the following API request should be used:"}],"source_content_type":"text/x-jinja2","patch_set":5,"id":"7a2fa921_28418138","line":157,"updated":"2015-10-08 10:47:35.000000000","message":"This would be more correct as either:\n\n* if two rules exist which match `*`...\n* if two rules matching `*`... exist,","commit_id":"9f548cadc7ec5b882a3fdfbcf2b064477a5cca11"},{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"5475e3894d8ababaab9932562e62c2e712d0821f","unresolved":false,"context_lines":[{"line_number":154,"context_line":"is posted with a name of `volume.size`, that would match the pattern and the"},{"line_number":155,"context_line":"rule applies and sets the archive policy to medium. If multiple rules match,"},{"line_number":156,"context_line":"the longest matching rule is taken. For example, if two rules exists matching"},{"line_number":157,"context_line":"`*` and `disk.*`, a `disk.io.rate` metric would match the `disk.*` rule rather"},{"line_number":158,"context_line":"than `*` rule."},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"To create a rule, the following API request should be used:"}],"source_content_type":"text/x-jinja2","patch_set":5,"id":"7a2fa921_fe6a6080","line":157,"in_reply_to":"7a2fa921_28418138","updated":"2015-10-08 12:26:42.000000000","message":"come back when you have an english major... oh you do?","commit_id":"9f548cadc7ec5b882a3fdfbcf2b064477a5cca11"}],"gnocchi/tests/gabbi/gabbits/archive_rule.yaml":[{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"54aee9ac01f46f566c95152297e4221e7c19d4ae","unresolved":false,"context_lines":[{"line_number":124,"context_line":"      url: /v1/archive_policy_rule"},{"line_number":125,"context_line":"      method: POST"},{"line_number":126,"context_line":"      request_headers:"},{"line_number":127,"context_line":"          /`content-type: application/json"},{"line_number":128,"context_line":"      data:"},{"line_number":129,"context_line":"          name: test_rule_miss_auth"},{"line_number":130,"context_line":"          metric_pattern: \"disk.foo.*\""}],"source_content_type":"text/x-yaml","patch_set":5,"id":"7a2fa921_e85dc915","line":127,"updated":"2015-10-08 10:47:35.000000000","message":"?","commit_id":"9f548cadc7ec5b882a3fdfbcf2b064477a5cca11"},{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"5475e3894d8ababaab9932562e62c2e712d0821f","unresolved":false,"context_lines":[{"line_number":124,"context_line":"      url: /v1/archive_policy_rule"},{"line_number":125,"context_line":"      method: POST"},{"line_number":126,"context_line":"      request_headers:"},{"line_number":127,"context_line":"          /`content-type: application/json"},{"line_number":128,"context_line":"      data:"},{"line_number":129,"context_line":"          name: test_rule_miss_auth"},{"line_number":130,"context_line":"          metric_pattern: \"disk.foo.*\""}],"source_content_type":"text/x-yaml","patch_set":5,"id":"7a2fa921_7e24105f","line":127,"in_reply_to":"7a2fa921_e85dc915","updated":"2015-10-08 12:26:42.000000000","message":"true true.","commit_id":"9f548cadc7ec5b882a3fdfbcf2b064477a5cca11"}]}
