nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marka...@apache.org
Subject incubator-nifi git commit: NIFI-484 EvaluateJsonPath: always overwrites content
Date Sun, 05 Apr 2015 18:27:44 GMT
Repository: incubator-nifi
Updated Branches:
  refs/heads/develop 2b21b4650 -> 4a1684530


NIFI-484 EvaluateJsonPath: always overwrites content

Signed-off-by: Mark Payne <markap14@hotmail.com>


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

Branch: refs/heads/develop
Commit: 4a16845309fce1f2cdbad3b31926563dd27b2c3c
Parents: 2b21b46
Author: Jon Anderson <andersoniii.jon@gmail.com>
Authored: Sat Apr 4 21:18:47 2015 -0400
Committer: Mark Payne <markap14@hotmail.com>
Committed: Sun Apr 5 14:22:46 2015 -0400

----------------------------------------------------------------------
 .../java/org/apache/nifi/processors/standard/EvaluateJsonPath.java  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/4a168453/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/EvaluateJsonPath.java
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/EvaluateJsonPath.java
b/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/EvaluateJsonPath.java
index 2634da2..229b342 100644
--- a/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/EvaluateJsonPath.java
+++ b/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/EvaluateJsonPath.java
@@ -269,6 +269,7 @@ public class EvaluateJsonPath extends AbstractJsonPathProcessor {
             switch (destination) {
                 case DESTINATION_ATTRIBUTE:
                     jsonPathResults.put(jsonPathAttrKey, resultRepresentation);
+                    break;
                 case DESTINATION_CONTENT:
                     flowFile = processSession.write(flowFile, new OutputStreamCallback()
{
                         @Override


Mime
View raw message