nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joew...@apache.org
Subject [36/50] [abbrv] incubator-nifi git commit: Adding missing subject property on the JsonPath validator.
Date Mon, 02 Mar 2015 04:04:15 GMT
Adding missing subject property on the JsonPath validator.


Project: http://git-wip-us.apache.org/repos/asf/incubator-nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-nifi/commit/caed7f84
Tree: http://git-wip-us.apache.org/repos/asf/incubator-nifi/tree/caed7f84
Diff: http://git-wip-us.apache.org/repos/asf/incubator-nifi/diff/caed7f84

Branch: refs/heads/develop
Commit: caed7f8468bfee4db47c892bd17d2e36908fc8d2
Parents: d694860
Author: Aldrin Piri <aldrinpiri@gmail.com>
Authored: Sat Feb 28 12:36:30 2015 -0500
Committer: Aldrin Piri <aldrinpiri@gmail.com>
Committed: Sat Feb 28 12:36:30 2015 -0500

----------------------------------------------------------------------
 .../apache/nifi/processors/standard/AbstractJsonPathProcessor.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/caed7f84/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/AbstractJsonPathProcessor.java
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/AbstractJsonPathProcessor.java
b/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/AbstractJsonPathProcessor.java
index 54edc70..70efe38 100644
--- a/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/AbstractJsonPathProcessor.java
+++ b/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/AbstractJsonPathProcessor.java
@@ -57,7 +57,7 @@ public abstract class AbstractJsonPathProcessor extends AbstractProcessor
{
             } catch (InvalidPathException ipe) {
                 error = ipe.toString();
             }
-            return new ValidationResult.Builder().valid(error == null).explanation(error).build();
+            return new ValidationResult.Builder().subject("JsonPath expression " + subject).valid(error
== null).explanation(error).build();
         }
     };
 


Mime
View raw message