-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add specification for query rule test API #3029
Add specification for query rule test API #3029
Conversation
Following you can find the validation results for the APIs you have changed.
You can validate these APIs yourself by using the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this!
*/ | ||
|
||
import { integer } from '@_types/Numeric' | ||
import { QueryRulesetMatchedRule } from './types' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We recommend keeping classes that are used only once in the same file as the class that uses it - it's allowed as this is not Java!
Following you can find the validation results for the APIs you have changed.
You can validate these APIs yourself by using the |
Co-authored-by: Quentin Pradet <quentin.pradet@elastic.co>
Following you can find the validation results for the APIs you have changed.
You can validate these APIs yourself by using the |
Can you please confirm whether there's a Elasticsearch YAML test for API or not? |
I have a question about
so can it only be something like everything else looks good to me! |
Following you can find the validation results for the APIs you have changed.
You can validate these APIs yourself by using the |
@pquentin Yes, the yaml REST tests may be found here.
@l-trotta We can't use |
* Add query rules tester spec * code style + output * Update specification/query_rules/test/QueryRulesetTestRequest.ts Co-authored-by: Quentin Pradet <quentin.pradet@elastic.co> * PR feedback --------- Co-authored-by: Laura Trotta <laura.trotta@elastic.co> Co-authored-by: Quentin Pradet <quentin.pradet@elastic.co> (cherry picked from commit d14e088)
* Add query rules tester spec * code style + output * Update specification/query_rules/test/QueryRulesetTestRequest.ts Co-authored-by: Quentin Pradet <quentin.pradet@elastic.co> * PR feedback --------- Co-authored-by: Laura Trotta <laura.trotta@elastic.co> Co-authored-by: Quentin Pradet <quentin.pradet@elastic.co> (cherry picked from commit d14e088)
* Add query rules tester spec * code style + output * Update specification/query_rules/test/QueryRulesetTestRequest.ts Co-authored-by: Quentin Pradet <quentin.pradet@elastic.co> * PR feedback --------- Co-authored-by: Laura Trotta <laura.trotta@elastic.co> Co-authored-by: Quentin Pradet <quentin.pradet@elastic.co> (cherry picked from commit d14e088) Co-authored-by: Kathleen DeRusso <kathleen.derusso@elastic.co>
* Add query rules tester spec * code style + output * Update specification/query_rules/test/QueryRulesetTestRequest.ts Co-authored-by: Quentin Pradet <quentin.pradet@elastic.co> * PR feedback --------- Co-authored-by: Laura Trotta <laura.trotta@elastic.co> Co-authored-by: Quentin Pradet <quentin.pradet@elastic.co> (cherry picked from commit d14e088) Co-authored-by: Kathleen DeRusso <kathleen.derusso@elastic.co>
Adds a specification for the query rules test API added in elastic/elasticsearch#114168