elasticsearch/qa/ccs-common-rest
Tim Vernum 50706f0f5e
Support path filtering in YAML test suite (#98430)
Some Rest Specs contain multiple paths, where some paths are
preferred and the others exist for historical reasons.

This commit makes 2 changes:

1. Tracks when a path is deprecated in the Rest Spec, so that metadata
   can be accessed in the Java model of the API
2. Adds filter (predicate) to the execution context to determine which
   paths should be considered as candidates within the test suite

Tests that extends from `ESClientYamlSuiteTestCase` can override
`createRestTestExecutionContext` and pass in a predicate that skips
deprecated paths (or any other criteria), provided that it does not
skip _all_ paths in an API.
2023-08-15 13:03:16 +10:00
..
src/yamlRestTest Support path filtering in YAML test suite (#98430) 2023-08-15 13:03:16 +10:00
build.gradle [Test] Add SQL yaml tests to CCS common yaml test suite (#94416) 2023-03-11 06:54:57 -05:00