and now make use of the lifecycle infrastructure

This commit is contained in:
Martijn van Groningen 2015-12-01 18:20:07 +01:00
parent 8e4c288b5c
commit 15b6708a5d
1 changed files with 9 additions and 0 deletions

View File

@ -82,6 +82,15 @@ public class IngestPlugin extends Plugin {
}
}
@Override
public Collection<Class<? extends LifecycleComponent>> nodeServices() {
if (transportClient) {
return Collections.emptyList();
} else {
return Collections.singletonList(PipelineStore.class);
}
}
@Override
public Settings additionalSettings() {
return settingsBuilder()