Daniel Bakai created MINIFICPP-1053:
---------------------------------------

             Summary: An error is logged when loading a YAML configuration with 
'type' instead of 'class'
                 Key: MINIFICPP-1053
                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1053
             Project: Apache NiFi MiNiFi C++
          Issue Type: Bug
            Reporter: Daniel Bakai
             Fix For: 0.7.0


In YamlConfiguration::parseControllerServices we try to first find `class` and 
fall back to `type` if it does not exist, but we log a scary error during the 
process, which might confuse users, since despite it, we were able to 
successfully parse the configuration:

`[2019-10-04 16:23:48.093] [org::apache::nifi::minifi::core::YamlConfiguration] 
[error] Unable to parse configuration file for component named 
'SSLContextService' as required field 'class' is missing [in 'Controller 
Services' section of configuration file]`



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to