and now make use of the lifecycle infrastructure
This commit is contained in:
parent
8e4c288b5c
commit
15b6708a5d
|
@ -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
|
@Override
|
||||||
public Settings additionalSettings() {
|
public Settings additionalSettings() {
|
||||||
return settingsBuilder()
|
return settingsBuilder()
|
||||||
|
|
Loading…
Reference in New Issue