2019-08-14 17:35:10 -04: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'
|
|
|
|
apply plugin: 'elasticsearch.yaml-rest-test'
|
2019-08-14 17:35:10 -04:00
|
|
|
|
|
|
|
esplugin {
|
2019-11-14 06:01:23 -05:00
|
|
|
name 'spatial'
|
|
|
|
description 'A plugin for Basic Spatial features'
|
|
|
|
classname 'org.elasticsearch.xpack.spatial.SpatialPlugin'
|
|
|
|
extendedPlugins = ['x-pack-core']
|
2019-08-14 17:35:10 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
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')
|
[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: xpackModule('core'), configuration: 'testArtifacts')
|
2020-06-30 09:57:41 -04:00
|
|
|
api project(path: ':modules:geo', configuration: 'default')
|
2020-04-22 11:12:54 -04:00
|
|
|
restTestConfig project(path: ':modules:geo', configuration: 'restTests')
|
|
|
|
}
|
|
|
|
|
|
|
|
restResources {
|
|
|
|
restApi {
|
2020-04-27 15:16:10 -04:00
|
|
|
includeCore '_common', 'bulk', 'indices', 'index', 'search'
|
2020-04-22 11:12:54 -04:00
|
|
|
}
|
|
|
|
restTests {
|
|
|
|
includeCore 'geo_shape'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
[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 {
|
2020-04-27 15:16:10 -04:00
|
|
|
setting 'xpack.license.self_generated.type', 'trial'
|
2020-05-05 12:54:14 -04:00
|
|
|
setting 'indices.breaker.request.limit', '25kb'
|
2020-04-22 11:12:54 -04:00
|
|
|
testDistribution = 'DEFAULT'
|
2019-08-14 17:35:10 -04:00
|
|
|
}
|