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

exceptionfactory pushed a commit to branch support/nifi-1.x
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/support/nifi-1.x by this push:
     new f2274f7c3c NIFI-11830 Set Entire FlowFile default strategy for 
JSLTTransformJSON
f2274f7c3c is described below

commit f2274f7c3c1974b7e6151953560d47890c297d44
Author: exceptionfactory <[email protected]>
AuthorDate: Mon Jul 24 15:33:52 2023 -0500

    NIFI-11830 Set Entire FlowFile default strategy for JSLTTransformJSON
    
    - Applying Entire FlowFile strategy on support branch to avoid changing 
existing behavior
---
 .../main/java/org/apache/nifi/processors/jslt/JSLTTransformJSON.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/nifi-nar-bundles/nifi-jslt-bundle/nifi-jslt-processors/src/main/java/org/apache/nifi/processors/jslt/JSLTTransformJSON.java
 
b/nifi-nar-bundles/nifi-jslt-bundle/nifi-jslt-processors/src/main/java/org/apache/nifi/processors/jslt/JSLTTransformJSON.java
index d1f3a9777b..312923926e 100644
--- 
a/nifi-nar-bundles/nifi-jslt-bundle/nifi-jslt-processors/src/main/java/org/apache/nifi/processors/jslt/JSLTTransformJSON.java
+++ 
b/nifi-nar-bundles/nifi-jslt-bundle/nifi-jslt-processors/src/main/java/org/apache/nifi/processors/jslt/JSLTTransformJSON.java
@@ -104,7 +104,7 @@ public class JSLTTransformJSON extends AbstractProcessor {
             .description("Whether to apply the JSLT transformation to the 
entire FlowFile contents or each JSON object in the root-level array")
             .required(true)
             .allowableValues(TransformationStrategy.class)
-            .defaultValue(EACH_OBJECT.getValue())
+            .defaultValue(ENTIRE_FLOWFILE.getValue())
             .build();
 
     public static final PropertyDescriptor PRETTY_PRINT = new 
PropertyDescriptor.Builder()

Reply via email to