use of org.graylog.plugins.pipelineprocessor.ast.functions.Function in project graylog2-server by Graylog2.
the class PrecedenceTest method registerFunctions.
@BeforeClass
public static void registerFunctions() {
final Map<String, Function<?>> functions = commonFunctions();
functions.put(StringConversion.NAME, new StringConversion());
functionRegistry = new FunctionRegistry(functions);
}
use of org.graylog.plugins.pipelineprocessor.ast.functions.Function in project graylog2-server by Graylog2.
the class PipelineServiceHelperTest method setup.
@Before
public void setup() {
final Map<String, Function<?>> functions = ImmutableMap.of();
final PipelineRuleParser pipelineRuleParser = new PipelineRuleParser(new FunctionRegistry(functions));
underTest = new PipelineServiceHelper(pipelineRuleParser);
}
Aggregations