elasticsearch/x-pack
Jake Landis 26dfe02a0b
Update task names for rest compatiblity (#75267)
This commit updates two task names:
```
yamlRestCompatTest -> yamlRestTestV7CompatTest
transformV7RestTests -> yamlRestTestV7CompatTransform 
```

`7` is the N-1 version and calculated, such that when `8` is 
N-1 version the task names will be  `yamlRestTestV8CompatTest` and 
`yamlRestTestV8CompatTransform`

The motivation for `yamlRestCompatTest -> yamlRestTestV7CompatTest`  is that 
many projects have configured `yamlRestCompatTest` 
but that configuration is specific to the N-1 version. For example, 
if we blacklist tests when running compatibility with v7, we don't also
want to blacklist those tests when running compatibility with v8.

By introducing a version-specific identifier in the name, the task will not
even exist when bumping the version creating the need to (correctly) remove
the version-specific condition.

The motivation for `transformV7RestTests -> yamlRestTestV7CompatTransform` 
is to provide more consistent naming. 

The idea behind the naming is the main task people
are likely familiar with is :

`yamlRestTest` so we will use that as a base.
`yamlRestTestV7CompatTest` to run the version-specific compat tests
`yamlRestTestV7CompatTransform` to run the version-specific transformations for the compat tests

CI should be un-effected since since we introduced a lifecycle task 
name `checkRestCompat` which is what CI should be configured to use.
2021-09-03 11:26:11 -05:00
..
dev-tools
docs Remove ES_PATH_CONF (#77187) 2021-09-02 15:14:45 -04:00
license-tools Fix contents of license tools zip file (#75610) 2021-07-26 16:14:21 +10:00
plugin Update task names for rest compatiblity (#75267) 2021-09-03 11:26:11 -05:00
qa Add matching pattern to error in fields (#76903) 2021-09-01 12:15:54 -04:00
rest-resources-zip Consolidate REST API specifications and publish under Apache 2.0 license (#70036) 2021-03-26 16:20:14 -07:00
test Remove internal build logic from public build tool plugins (#72470) 2021-05-06 14:02:35 +02:00
NOTICE.txt
README.md Update sources with new SSPL+Elastic-2.0 license headers 2021-02-02 16:10:53 -08:00
build.gradle Move public build api into included build (#72861) 2021-06-01 11:19:30 +02:00

README.md

Elastic License Functionality

This directory tree contains files subject to the Elastic License. The files subject to the Elastic License are grouped in this directory to clearly separate them from files licensed under the Server Side Public License, v 1.