OpenSearch/x-pack/plugin/searchable-snapshots/qa/rest/build.gradle

28 lines
727 B
Groovy

apply plugin: 'elasticsearch.testclusters'
apply plugin: 'elasticsearch.standalone-rest-test'
apply plugin: 'elasticsearch.rest-test'
apply plugin: 'elasticsearch.rest-resources'
dependencies {
testImplementation project(path: xpackModule('searchable-snapshots'), configuration: 'testArtifacts')
}
final File repoDir = file("$buildDir/testclusters/repo")
integTest {
systemProperty 'tests.path.repo', repoDir
}
testClusters.integTest {
testDistribution = 'DEFAULT'
setting 'path.repo', repoDir.absolutePath
setting 'xpack.license.self_generated.type', 'trial'
}
restResources {
restApi {
includeCore 'indices', 'search', 'bulk', 'snapshot', 'nodes', '_common'
includeXpack 'searchable_snapshots'
}
}