OpenSearch/x-pack/plugin/eql/qa/security/build.gradle

18 lines
644 B
Groovy

apply plugin: 'elasticsearch.java-rest-test'
dependencies {
javaRestTestImplementation project(path: xpackModule('eql:qa:common'))
}
testClusters.all {
testDistribution = 'DEFAULT'
setting 'xpack.license.self_generated.type', 'basic'
setting 'xpack.monitoring.collection.enabled', 'true'
setting 'xpack.security.enabled', 'true'
numberOfNodes = 2
extraConfigFile 'roles.yml', file('roles.yml')
user username: "test-admin", password: 'x-pack-test-password', role: "test-admin"
user username: "user1", password: 'x-pack-test-password', role: "user1"
user username: "user2", password: 'x-pack-test-password', role: "user2"
}