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:21:27 UTC

(nifi) branch main 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 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 9154b708cc NIFI-12404 Added documentation indicating this controller service does not resolve YAML aliases.
9154b708cc is described below

commit 9154b708cc8701674450fc66668ca66fa27d0087
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 {