[7.x] Convert second 1/2 x-pack plugins from integTest to [yaml | java]RestTest or internalClusterTest (#61802) (#61856)
For 1/2 the plugins in x-pack, the integTest
task is now a no-op and all of the tests are now executed via a test,
yamlRestTest, javaRestTest, or internalClusterTest.
This includes the following projects:
security, spatial, stack, transform, vecotrs, voting-only-node, and watcher.
A few of the more specialized qa projects within these plugins
have not been changed with this PR due to additional complexity which should
be addressed separately.
related: #60630
related: #56841
related: #59939
related: #55896
2020-09-02 12:20:55 -04:00
|
|
|
apply plugin: 'elasticsearch.yaml-rest-test'
|
|
|
|
apply plugin: 'elasticsearch.java-rest-test'
|
2016-07-13 10:08:13 -04:00
|
|
|
|
|
|
|
dependencies {
|
[7.x] Convert second 1/2 x-pack plugins from integTest to [yaml | java]RestTest or internalClusterTest (#61802) (#61856)
For 1/2 the plugins in x-pack, the integTest
task is now a no-op and all of the tests are now executed via a test,
yamlRestTest, javaRestTest, or internalClusterTest.
This includes the following projects:
security, spatial, stack, transform, vecotrs, voting-only-node, and watcher.
A few of the more specialized qa projects within these plugins
have not been changed with this PR due to additional complexity which should
be addressed separately.
related: #60630
related: #56841
related: #59939
related: #55896
2020-09-02 12:20:55 -04:00
|
|
|
yamlRestTestImplementation project(path: ':x-pack:plugin:watcher:qa:common')
|
|
|
|
javaRestTestImplementation project(path: ':x-pack:plugin:watcher:qa:common')
|
|
|
|
javaRestTestImplementation project(':x-pack:qa')
|
2020-02-26 16:57:10 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
artifacts {
|
[7.x] Convert second 1/2 x-pack plugins from integTest to [yaml | java]RestTest or internalClusterTest (#61802) (#61856)
For 1/2 the plugins in x-pack, the integTest
task is now a no-op and all of the tests are now executed via a test,
yamlRestTest, javaRestTest, or internalClusterTest.
This includes the following projects:
security, spatial, stack, transform, vecotrs, voting-only-node, and watcher.
A few of the more specialized qa projects within these plugins
have not been changed with this PR due to additional complexity which should
be addressed separately.
related: #60630
related: #56841
related: #59939
related: #55896
2020-09-02 12:20:55 -04:00
|
|
|
restXpackTests(new File(projectDir, "src/yamlRestTest/resources/rest-api-spec/test"))
|
2020-02-26 16:57:10 -05:00
|
|
|
}
|
|
|
|
|
2020-02-26 09:13:41 -05:00
|
|
|
restResources {
|
|
|
|
restApi {
|
2020-04-17 15:04:17 -04:00
|
|
|
includeCore '_common', 'cluster', 'nodes', 'search', 'get', 'indices',
|
2020-03-19 13:28:59 -04:00
|
|
|
'index', 'put_script', 'ingest', 'count'
|
2020-02-26 16:57:10 -05:00
|
|
|
includeXpack 'watcher', 'xpack'
|
2020-02-26 09:13:41 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
[7.x] Convert second 1/2 x-pack plugins from integTest to [yaml | java]RestTest or internalClusterTest (#61802) (#61856)
For 1/2 the plugins in x-pack, the integTest
task is now a no-op and all of the tests are now executed via a test,
yamlRestTest, javaRestTest, or internalClusterTest.
This includes the following projects:
security, spatial, stack, transform, vecotrs, voting-only-node, and watcher.
A few of the more specialized qa projects within these plugins
have not been changed with this PR due to additional complexity which should
be addressed separately.
related: #60630
related: #56841
related: #59939
related: #55896
2020-09-02 12:20:55 -04:00
|
|
|
testClusters.all {
|
2019-07-15 20:53:05 -04:00
|
|
|
testDistribution = 'DEFAULT'
|
2017-02-22 03:56:52 -05:00
|
|
|
setting 'xpack.security.enabled', 'false'
|
2017-03-02 12:01:05 -05:00
|
|
|
setting 'xpack.ml.enabled', 'false'
|
2018-02-12 14:57:04 -05:00
|
|
|
setting 'xpack.license.self_generated.type', 'trial'
|
2018-02-12 10:03:02 -05:00
|
|
|
setting 'logger.org.elasticsearch.xpack.watcher', 'DEBUG'
|
2019-11-14 06:01:23 -05:00
|
|
|
}
|