33 lines
994 B
Groovy
33 lines
994 B
Groovy
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
* 2.0; you may not use this file except in compliance with the Elastic License
|
|
* 2.0.
|
|
*/
|
|
import org.elasticsearch.gradle.internal.info.BuildParams
|
|
|
|
apply plugin: 'elasticsearch.yaml-rest-test'
|
|
apply plugin: 'elasticsearch.yaml-rest-compat-test'
|
|
|
|
dependencies {
|
|
yamlRestTestImplementation project(path: xpackModule('rollup'))
|
|
}
|
|
|
|
restResources {
|
|
restApi {
|
|
include '_common', 'bulk', 'cluster', 'indices', 'search', 'rollup'
|
|
}
|
|
}
|
|
|
|
testClusters.all {
|
|
testDistribution = 'DEFAULT'
|
|
setting 'xpack.license.self_generated.type', 'basic'
|
|
systemProperty 'es.rollup_v2_feature_flag_enabled', 'true'
|
|
setting 'xpack.security.enabled', 'false'
|
|
}
|
|
|
|
if (BuildParams.inFipsJvm){
|
|
// This test cluster is using a BASIC license and FIPS 140 mode is not supported in BASIC
|
|
tasks.named("yamlRestTest").configure{enabled = false }
|
|
}
|