first commit

This commit is contained in:
Martijn van Groningen 2019-04-03 13:19:29 +02:00
parent 920024e06d
commit e6bdfea474
No known key found for this signature in database
GPG Key ID: AB236F4FCF2AF12A
3 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,25 @@
evaluationDependsOn(xpackModule('core'))
apply plugin: 'elasticsearch.esplugin'
esplugin {
name 'x-pack-enrich'
description 'Elasticsearch Expanded Pack Plugin - Enrich'
classname 'org.elasticsearch.xpack.enrich.EnrichPlugin'
extendedPlugins = ['x-pack-core']
}
archivesBaseName = 'x-pack-enrich'
dependencies {
compileOnly "org.elasticsearch:elasticsearch:${version}"
compileOnly project(path: xpackModule('core'), configuration: 'default')
testCompile project(path: xpackModule('core'), configuration: 'testArtifacts')
}
run {
plugin xpackModule('core')
}
// No tests yet:
integTest.enabled = false
unitTest.enabled = false

View File

@ -0,0 +1,21 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.enrich;
import org.elasticsearch.ingest.Processor;
import org.elasticsearch.plugins.IngestPlugin;
import org.elasticsearch.plugins.Plugin;
import java.util.Collections;
import java.util.Map;
public class EnrichPlugin extends Plugin implements IngestPlugin {
@Override
public Map<String, Processor.Factory> getProcessors(Processor.Parameters parameters) {
return Collections.emptyMap();
}
}

View File

@ -16,6 +16,7 @@
- contains: { nodes.$master.modules: { name: x-pack-ccr } }
- contains: { nodes.$master.modules: { name: x-pack-core } }
- contains: { nodes.$master.modules: { name: x-pack-deprecation } }
- contains: { nodes.$master.modules: { name: x-pack-enrich } }
- contains: { nodes.$master.modules: { name: x-pack-graph } }
- contains: { nodes.$master.modules: { name: x-pack-ilm } }
- contains: { nodes.$master.modules: { name: x-pack-logstash } }