You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ex...@apache.org on 2024/02/21 04:15:08 UTC

(nifi) branch main updated: NIFI-12784 Set Path Not Found as a Dependent Property in EvaluateJsonPath

This is an automated email from the ASF dual-hosted git repository.

exceptionfactory pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/main by this push:
     new 0a2ba317c0 NIFI-12784 Set Path Not Found as a Dependent Property in EvaluateJsonPath
0a2ba317c0 is described below

commit 0a2ba317c0dc0db3a45a904d88802dde1a68304e
Author: dan-s1 <ds...@gmail.com>
AuthorDate: Fri Feb 16 19:28:18 2024 +0000

    NIFI-12784 Set Path Not Found as a Dependent Property in EvaluateJsonPath
    
    This closes #8420
    
    Signed-off-by: David Handermann <ex...@apache.org>
---
 .../main/java/org/apache/nifi/processors/standard/EvaluateJsonPath.java  | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/EvaluateJsonPath.java b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/EvaluateJsonPath.java
index bc5871a72d..11b466eda2 100644
--- a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/EvaluateJsonPath.java
+++ b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/EvaluateJsonPath.java
@@ -123,6 +123,7 @@ public class EvaluateJsonPath extends AbstractJsonPathProcessor {
             .required(true)
             .allowableValues(PATH_NOT_FOUND_WARN, PATH_NOT_FOUND_IGNORE, PATH_NOT_FOUND_SKIP)
             .defaultValue(PATH_NOT_FOUND_IGNORE)
+            .dependsOn(DESTINATION, DESTINATION_ATTRIBUTE)
             .build();
 
     public static final Relationship REL_MATCH = new Relationship.Builder()