[
https://issues.apache.org/jira/browse/NIFI-3726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15985738#comment-15985738
]
ASF GitHub Bot commented on NIFI-3726:
--------------------------------------
Github user trixpan commented on a diff in the pull request:
https://github.com/apache/nifi/pull/1692#discussion_r113585955
--- Diff:
nifi-nar-bundles/nifi-cybersecurity-bundle/nifi-cybersecurity-processors/src/main/java/org/apache/nifi/processors/cybersecurity/CompareFuzzyHash.java
---
@@ -110,24 +107,25 @@
public static final PropertyDescriptor MATCHING_MODE = new
PropertyDescriptor.Builder()
.name("MATCHING_MODE")
.displayName("Matching mode")
- .description("The ")
+ .description("Defines if the Processor should try to match as
many entries as possible (" + multiMatch.getDisplayName() +
+ ") or if it should stio after the first match (" +
singleMatch.getDisplayName() + ")")
.required(true)
.allowableValues(singleMatch,multiMatch)
.defaultValue(singleMatch.getValue())
.build();
- public static final Relationship REL_MATCH = new Relationship.Builder()
- .name("Matched")
+ public static final Relationship REL_FOUND = new Relationship.Builder()
+ .name("found")
.description("Any FlowFile that is successfully matched to an
existing hash will be sent to this Relationship.")
.build();
- public static final Relationship REL_NON_MATCH = new
Relationship.Builder()
- .name("non-match")
+ public static final Relationship REL_NOT_FOUND = new
Relationship.Builder()
+ .name("not found")
--- End diff --
sounds like good practice to me. Fixed
> Create FuzzyHash comparison processor
> -------------------------------------
>
> Key: NIFI-3726
> URL: https://issues.apache.org/jira/browse/NIFI-3726
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Andre F de Miranda
> Assignee: Andre F de Miranda
>
> Now that NiFi cyber-security package supports "Fuzzy Hashing" it may be a
> good idea to support a processor that makes use of it for comparison and
> routing of matches
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)