Closed kderusso closed 3 months ago
Following you can find the validation results for the APIs you have changed.
API | Status | Request | Response |
---|---|---|---|
query_rule.delete |
:white_circle: | Missing test | Missing test |
query_rule.get |
:white_circle: | Missing test | Missing test |
query_rule.put |
:white_circle: | Missing test | Missing test |
query_ruleset.delete |
:white_circle: | Missing test | Missing test |
query_ruleset.get |
:white_circle: | Missing test | Missing test |
query_ruleset.list |
:white_circle: | Missing test | Missing test |
query_ruleset.put |
:white_circle: | Missing test | Missing test |
You can validate these APIs yourself by using the make validate
target.
Following you can find the validation results for the APIs you have changed.
API | Status | Request | Response |
---|---|---|---|
query_rule.delete |
:white_circle: | Missing test | Missing test |
query_rule.get |
:white_circle: | Missing test | Missing test |
query_rule.put |
:white_circle: | Missing test | Missing test |
query_ruleset.delete |
:white_circle: | Missing test | Missing test |
query_ruleset.get |
:white_circle: | Missing test | Missing test |
query_ruleset.list |
:white_circle: | Missing test | Missing test |
query_ruleset.put |
:white_circle: | Missing test | Missing test |
You can validate these APIs yourself by using the make validate
target.
the spec is missing the Always criteria type, and if I got this correctly metadata here should be optional.
QueryRulesetListItem probably has to be updated as well, server, current spec
Following you can find the validation results for the APIs you have changed.
API | Status | Request | Response |
---|---|---|---|
query_rule.delete |
:white_circle: | Missing test | Missing test |
query_rule.get |
:white_circle: | Missing test | Missing test |
query_rule.put |
:white_circle: | Missing test | Missing test |
query_ruleset.delete |
:white_circle: | Missing test | Missing test |
query_ruleset.get |
:white_circle: | Missing test | Missing test |
query_ruleset.list |
:white_circle: | Missing test | Missing test |
query_ruleset.put |
:white_circle: | Missing test | Missing test |
You can validate these APIs yourself by using the make validate
target.
@l-trotta thanks for the review!
the spec is missing the Always criteria type, and if I got this correctly metadata here should be optional.
Thanks for the catch, fixed!
QueryRulesetListItem probably has to be updated as well, server, current spec
Updated!
one last thing! in QueryRulesetListItem, rules_count
should be rule_total_count
and rule_criteria_type_counts
should be rule_criteria_types_counts
(I sound like a broken record, but those would be easier to catch if we could collect the Query Rules YAML tests.)
(I sound like a broken record, but those would be easier to catch if we could collect the Query Rules YAML tests.)
I know, I promise it's on my list to look into!
Following you can find the validation results for the APIs you have changed.
API | Status | Request | Response |
---|---|---|---|
query_rule.delete |
:white_circle: | Missing test | Missing test |
query_rule.get |
:white_circle: | Missing test | Missing test |
query_rule.put |
:white_circle: | Missing test | Missing test |
query_ruleset.delete |
:white_circle: | Missing test | Missing test |
query_ruleset.get |
:white_circle: | Missing test | Missing test |
query_ruleset.list |
:white_circle: | Missing test | Missing test |
query_ruleset.put |
:white_circle: | Missing test | Missing test |
You can validate these APIs yourself by using the make validate
target.
The following changes are going live in 8.15 for query rules:
rule_query
has been renamed torule
and support for multiple rulesets was added in https://github.com/elastic/elasticsearch/pull/108831