OpenSearch/x-pack/plugin/enrich/qa/rest-with-security/build.gradle

18 lines
743 B
Groovy

apply plugin: 'elasticsearch.java-rest-test'
dependencies {
javaRestTestImplementation project(path: xpackModule('core'))
javaRestTestImplementation project(path: xpackModule('enrich:qa:common'))
}
testClusters.all {
testDistribution = 'DEFAULT'
extraConfigFile 'roles.yml', file('roles.yml')
user username: "test_admin", password: "x-pack-test-password", role: "superuser"
user username: "test_enrich", password: "x-pack-test-password", role: "enrich_user,integ_test_role"
user username: "test_enrich_no_privs", password: "x-pack-test-password", role: "enrich_no_privs"
setting 'xpack.license.self_generated.type', 'basic'
setting 'xpack.security.enabled', 'true'
setting 'xpack.monitoring.collection.enabled', 'true'
}