2011-01-13 16:20:31 +02:00
|
|
|
/*
|
2014-01-06 22:48:02 +01:00
|
|
|
* Licensed to Elasticsearch under one or more contributor
|
|
|
|
* license agreements. See the NOTICE file distributed with
|
|
|
|
* this work for additional information regarding copyright
|
|
|
|
* ownership. Elasticsearch licenses this file to you under
|
|
|
|
* the Apache License, Version 2.0 (the "License"); you may
|
|
|
|
* not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
2011-01-13 16:20:31 +02:00
|
|
|
*
|
2014-01-10 21:27:01 +01:00
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
2011-01-13 16:20:31 +02:00
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing,
|
|
|
|
* software distributed under the License is distributed on an
|
|
|
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
|
|
* KIND, either express or implied. See the License for the
|
|
|
|
* specific language governing permissions and limitations
|
|
|
|
* under the License.
|
|
|
|
*/
|
2020-07-13 13:53:05 -05:00
|
|
|
apply plugin: 'elasticsearch.yaml-rest-test'
|
2011-01-13 16:20:31 +02:00
|
|
|
|
2016-05-20 23:53:51 +02:00
|
|
|
esplugin {
|
2019-11-14 11:01:23 +00:00
|
|
|
description 'Percolator module adds capability to index queries and query these queries by specifying documents'
|
|
|
|
classname 'org.elasticsearch.percolator.PercolatorPlugin'
|
|
|
|
hasClientJar = true
|
2011-01-13 16:20:31 +02:00
|
|
|
}
|
2016-05-20 23:53:51 +02:00
|
|
|
|
2017-05-12 15:58:06 +02:00
|
|
|
dependencies {
|
2020-06-30 15:57:41 +02:00
|
|
|
testImplementation project(':modules:parent-join')
|
|
|
|
testImplementation project(':modules:geo')
|
2020-04-07 16:30:58 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
tasks.named('integTestRunner').configure {
|
|
|
|
exclude '**/PercolatorQuerySearchIT.class'
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.register('internalClusterTest', Test) {
|
|
|
|
include '**/PercolatorQuerySearchIT.class'
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.named('check').configure {
|
|
|
|
dependsOn 'internalClusterTest'
|
2017-05-12 15:58:06 +02:00
|
|
|
}
|
2017-09-13 17:58:53 +02:00
|
|
|
|
2020-03-19 12:28:59 -05:00
|
|
|
restResources {
|
|
|
|
restApi {
|
2020-04-07 16:30:58 -07:00
|
|
|
includeCore '_common', 'indices', 'index', 'search', 'msearch'
|
2020-03-19 12:28:59 -05:00
|
|
|
}
|
|
|
|
}
|
2020-07-13 13:53:05 -05:00
|
|
|
|
|
|
|
integTest.enabled = false
|