37 lines
1.5 KiB
Groovy
37 lines
1.5 KiB
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 and the Server Side Public License, v 1; you may not use this file except
|
|
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
* Side Public License, v 1.
|
|
*/
|
|
apply plugin: 'elasticsearch.internal-yaml-rest-test'
|
|
apply plugin: 'elasticsearch.yaml-rest-compat-test'
|
|
apply plugin: 'elasticsearch.internal-cluster-test'
|
|
|
|
esplugin {
|
|
description 'Adds "built in" analyzers to Elasticsearch.'
|
|
classname 'org.elasticsearch.analysis.common.CommonAnalysisPlugin'
|
|
extendedPlugins = ['lang-painless']
|
|
}
|
|
|
|
restResources {
|
|
restApi {
|
|
include '_common', 'indices', 'index', 'cluster', 'search', 'nodes', 'bulk', 'termvectors', 'explain', 'count'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly project(':modules:lang-painless')
|
|
}
|
|
|
|
tasks.named("yamlRestTestV7CompatTest").configure {
|
|
systemProperty 'tests.rest.blacklist', [
|
|
//marked as not needing compatible api
|
|
'indices.analyze/10_analyze/htmlStrip_deprecated', // Cleanup versioned deprecations in analysis #41560
|
|
'analysis-common/40_token_filters/delimited_payload_filter_error', //Remove preconfigured delimited_payload_filter #43686
|
|
'analysis-common/20_analyzers/standard_html_strip', // Cleanup versioned deprecations in analysis #41560
|
|
'search.query/50_queries_with_synonyms/Test common terms query with stacked tokens', // #42654 - `common` query throws an exception
|
|
].join(',')
|
|
}
|