Search in sources :

Example 1 with ProcessorFunctionsModule

use of org.graylog.plugins.pipelineprocessor.functions.ProcessorFunctionsModule in project graylog2-server by Graylog2.

the class PipelineProcessorModule method configure.

@Override
protected void configure() {
    addPeriodical(LegacyDefaultStreamMigration.class);
    addMessageProcessor(PipelineInterpreter.class, PipelineInterpreter.Descriptor.class);
    addPermissions(PipelineRestPermissions.class);
    addSystemRestResource(PipelineConnectionsResource.class);
    addSystemRestResource(PipelineResource.class);
    addSystemRestResource(RuleResource.class);
    addSystemRestResource(SimulatorResource.class);
    install(new ProcessorFunctionsModule());
    installSearchResponseDecorator(searchResponseDecoratorBinder(), PipelineProcessorMessageDecorator.class, PipelineProcessorMessageDecorator.Factory.class);
    install(new FactoryModuleBuilder().build(PipelineInterpreter.State.Factory.class));
    addAuditEventTypes(PipelineProcessorAuditEventTypes.class);
}
Also used : ProcessorFunctionsModule(org.graylog.plugins.pipelineprocessor.functions.ProcessorFunctionsModule) FactoryModuleBuilder(com.google.inject.assistedinject.FactoryModuleBuilder) PipelineInterpreter(org.graylog.plugins.pipelineprocessor.processors.PipelineInterpreter)

Aggregations

FactoryModuleBuilder (com.google.inject.assistedinject.FactoryModuleBuilder)1 ProcessorFunctionsModule (org.graylog.plugins.pipelineprocessor.functions.ProcessorFunctionsModule)1 PipelineInterpreter (org.graylog.plugins.pipelineprocessor.processors.PipelineInterpreter)1