Github user pvillard31 commented on a diff in the pull request:
https://github.com/apache/nifi/pull/2973#discussion_r213933585
--- Diff:
nifi-nar-bundles/nifi-site-to-site-reporting-bundle/nifi-site-to-site-reporting-task/src/main/java/org/apache/nifi/reporting/SiteToSiteProvenanceReportingTask.java
---
@@ -151,6 +151,25 @@
.addValidator(StandardValidators.NON_EMPTY_VALIDATOR)
.build();
+ static final PropertyDescriptor FILTER_COMPONENT_NAME = new
PropertyDescriptor.Builder()
+ .name("s2s-prov-task-name-filter")
+ .displayName("Component Name to Include")
+ .description("Regular expression to filter the provenance events
based on the component name. Only the events matching the regular "
+ + "expression will be sent. If no filter is set, all the
events are sent. If multiple filters are set, the filters are cumulative.")
+ .required(false)
+ .addValidator(StandardValidators.REGULAR_EXPRESSION_VALIDATOR)
--- End diff --
Since it's a reporting task, it won't access the variable registries
defined at UI-level. I believe this will only access the global file-based
variable registry (defined in nifi.properties) and the environment/jvm
variables. Not sure this provides much value but on the other hand it's easy to
add. Thoughts?
---