You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by pv...@apache.org on 2023/11/29 10:22:18 UTC

(nifi) branch support/nifi-1.x updated: NIFI-12404 Added documentation indicating this controller service does not resolve YAML aliases.

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

pvillard 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 d54f2d00cb NIFI-12404 Added documentation indicating this controller service does not resolve YAML aliases.
d54f2d00cb is described below

commit d54f2d00cbdd67e5c1a8b45a2153c1573b55c7b5
Author: dan-s1 <ds...@gmail.com>
AuthorDate: Mon Nov 27 17:07:16 2023 +0000

    NIFI-12404 Added documentation indicating this controller service does not resolve YAML aliases.
    
    This closes #8070.
    
    Signed-off-by: Pierre Villard <pi...@gmail.com>
---
 .../src/main/java/org/apache/nifi/yaml/YamlTreeReader.java               | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nifi-nar-bundles/nifi-standard-services/nifi-record-serialization-services-bundle/nifi-record-serialization-services/src/main/java/org/apache/nifi/yaml/YamlTreeReader.java b/nifi-nar-bundles/nifi-standard-services/nifi-record-serialization-services-bundle/nifi-record-serialization-services/src/main/java/org/apache/nifi/yaml/YamlTreeReader.java
index ab1a5682ed..5b8ee2c0c0 100644
--- a/nifi-nar-bundles/nifi-standard-services/nifi-record-serialization-services-bundle/nifi-record-serialization-services/src/main/java/org/apache/nifi/yaml/YamlTreeReader.java
+++ b/nifi-nar-bundles/nifi-standard-services/nifi-record-serialization-services-bundle/nifi-record-serialization-services/src/main/java/org/apache/nifi/yaml/YamlTreeReader.java
@@ -43,6 +43,7 @@ import java.util.List;
         + "If an array is encountered, each element in that array will be treated as a separate record. "
         + "If the schema that is configured contains a field that is not present in the YAML, a null value will be used. If the YAML contains "
         + "a field that is not present in the schema, that field will be skipped. "
+        + "Please note this controller service does not support resolving the use of YAML aliases. Any alias present will be treated as a string. "
         + "See the Usage of the Controller Service for more information and examples.")
 public class YamlTreeReader extends JsonTreeReader {