[
https://issues.apache.org/jira/browse/MINIFICPP-1053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nghia Le reassigned MINIFICPP-1053:
-----------------------------------
Assignee: Nghia Le
> 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: Dániel Bakai
> Assignee: Nghia Le
> Priority: Major
> 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 are 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)