Github user jtstorck commented on a diff in the pull request:
https://github.com/apache/nifi/pull/1276#discussion_r90133302
--- Diff:
nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-processors/src/main/java/org/apache/nifi/processors/elasticsearch/AbstractElasticsearchProcessor.java
---
@@ -28,14 +29,20 @@
import java.util.Collection;
import java.util.HashSet;
-import java.util.Map;
import java.util.Set;
/**
* A base class for all Elasticsearch processors
*/
public abstract class AbstractElasticsearchProcessor extends
AbstractProcessor {
+ protected static final Validator NON_EMPTY_EL_VALIDATOR = (subject,
value, context) -> {
--- End diff --
Assuming that this validator would provide value in other processors, it
might make sense to move this into StandardValidators?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---