mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-07 13:38:49 +00:00
b7fd7cf154
Backport of #58924. Closes #46106. Introduce a mechanism for writing deprecation logs to a data stream as well as to disk.
28 lines
745 B
Groovy
28 lines
745 B
Groovy
apply plugin: 'elasticsearch.esplugin'
|
|
apply plugin: 'elasticsearch.java-rest-test'
|
|
|
|
esplugin {
|
|
description 'Deprecated query plugin'
|
|
classname 'org.elasticsearch.xpack.deprecation.TestDeprecationPlugin'
|
|
}
|
|
|
|
dependencies {
|
|
javaRestTestImplementation("com.fasterxml.jackson.core:jackson-annotations:${versions.jackson}")
|
|
javaRestTestImplementation("com.fasterxml.jackson.core:jackson-databind:${versions.jackson}")
|
|
// let the javaRestTest see the classpath of main
|
|
javaRestTestImplementation project.sourceSets.main.runtimeClasspath
|
|
}
|
|
|
|
restResources {
|
|
restApi {
|
|
includeCore '_common', 'indices', 'index'
|
|
}
|
|
}
|
|
|
|
testClusters.all {
|
|
testDistribution = 'DEFAULT'
|
|
setting 'xpack.security.enabled', 'false'
|
|
}
|
|
|
|
test.enabled = false
|