mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 09:28:55 -04:00
Fix compilation and tests for customAuthzEngine (#125469)
Relates: #123812
This commit is contained in:
parent
59a55c85f3
commit
6c04abc68c
3 changed files with 68 additions and 52 deletions
|
@ -1,5 +1,6 @@
|
|||
package org.elasticsearch.example.customprocessor;
|
||||
|
||||
import org.elasticsearch.cluster.metadata.ProjectId;
|
||||
import org.elasticsearch.ingest.AbstractProcessor;
|
||||
import org.elasticsearch.ingest.ConfigurationUtils;
|
||||
import org.elasticsearch.ingest.IngestDocument;
|
||||
|
@ -44,7 +45,8 @@ public class ExampleRepeatProcessor extends AbstractProcessor {
|
|||
Map<String, Processor.Factory> registry,
|
||||
String tag,
|
||||
String description,
|
||||
Map<String, Object> config
|
||||
Map<String, Object> config,
|
||||
ProjectId projectId
|
||||
) {
|
||||
String field = ConfigurationUtils.readStringProperty(TYPE, tag, config, FIELD_KEY_NAME);
|
||||
return new ExampleRepeatProcessor(tag, description, field);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue