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