2019-02-18 11:07:29 +01:00
|
|
|
apply plugin: 'elasticsearch.esplugin'
|
[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 11:20:55 -05:00
|
|
|
apply plugin: 'elasticsearch.internal-cluster-test'
|
2019-02-18 11:07:29 +01:00
|
|
|
esplugin {
|
2019-09-11 14:50:08 +02:00
|
|
|
name 'transform'
|
|
|
|
description 'A plugin to transform data'
|
2019-09-20 10:43:00 +02:00
|
|
|
classname 'org.elasticsearch.xpack.transform.Transform'
|
2019-02-18 11:07:29 +01:00
|
|
|
extendedPlugins = ['x-pack-core']
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2019-11-14 11:01:23 +00:00
|
|
|
compileOnly project(":server")
|
2019-02-18 11:07:29 +01:00
|
|
|
|
2019-11-14 11:01:23 +00:00
|
|
|
compileOnly project(path: xpackModule('core'), configuration: 'default')
|
2020-06-14 22:30:44 +02:00
|
|
|
testImplementation project(path: xpackModule('core'), configuration: 'testArtifacts')
|
2020-06-30 15:57:41 +02:00
|
|
|
testImplementation project(path: xpackModule('analytics'))
|
|
|
|
testImplementation project(path: ':modules:aggs-matrix-stats')
|
2019-02-18 11:07:29 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// add all sub-projects of the qa sub-project
|
|
|
|
gradle.projectsEvaluated {
|
2019-11-14 11:01:23 +00:00
|
|
|
project.subprojects
|
|
|
|
.find { it.path == project.path + ":qa" }
|
|
|
|
.subprojects
|
|
|
|
.findAll { it.path.startsWith(project.path + ":qa") }
|
|
|
|
.each { check.dependsOn it.check }
|
2019-02-18 11:07:29 +01:00
|
|
|
}
|