Closed pquentin closed 3 weeks ago
Following you can find the validation results for the APIs you have changed.
API | Status | Request | Response |
---|---|---|---|
query_rules.delete_rule |
:green_circle: | 6/6 | 6/6 |
query_rules.delete_ruleset |
:green_circle: | 7/7 | 7/7 |
query_rules.get_rule |
:green_circle: | 5/5 | 5/5 |
query_rules.get_ruleset |
:green_circle: | 8/8 | 8/8 |
query_rules.list_rulesets |
:green_circle: | 7/7 | 7/7 |
query_rules.put_rule |
:green_circle: | 7/7 | 7/7 |
query_rules.put_ruleset |
:green_circle: | 10/10 | 10/10 |
You can validate these APIs yourself by using the make validate
target.
Since this is not urgent, I'd like to wait a few working days before merging in order to give @kderusso a change to review this.
For reference, now that we can use Query Rules YAML tests, here is the current validation status:
delete_rule
delete_ruleset
get_rule
get_ruleset
list_rulesets
put_rule
put_ruleset
With only looking at docs and validation errors (not the code), I've fixed validation of all APIs in four commits:
0ce3f1c
(#2677) Add missing priority field0053366
(#2677) Add fuzzy criteria typec7d91cb
(#2677) Allow criteria and rules to be single objects. I'm not sure we actually want to allow that, but the YAML tests make use of it.8a54468
(#2677) Fix type of rule_criteria_type_counts