This is an automated email from the ASF dual-hosted git repository. martinzink pushed a commit to branch minifi-api-property in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git
commit 2f00b18039dd7e7bdf20b41b8f307f7ebda6ca5b Author: Martin Zink <[email protected]> AuthorDate: Tue Mar 18 10:54:44 2025 +0100 explicitly set EL support for dynamic properties --- utils/src/core/ConfigurableComponentImpl.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/src/core/ConfigurableComponentImpl.cpp b/utils/src/core/ConfigurableComponentImpl.cpp index 6469c062e..0ee1eb255 100644 --- a/utils/src/core/ConfigurableComponentImpl.cpp +++ b/utils/src/core/ConfigurableComponentImpl.cpp @@ -84,6 +84,7 @@ nonstd::expected<void, std::error_code> ConfigurableComponentImpl::setDynamicPro return nonstd::make_unexpected(PropertyErrorCode::DynamicPropertiesNotSupported); } Property& prop = dynamic_properties_[std::move(name)]; + prop.setSupportsExpressionLanguage(true); return prop.setValue(std::move(value)); } @@ -93,6 +94,7 @@ nonstd::expected<void, std::error_code> ConfigurableComponentImpl::appendDynamic return nonstd::make_unexpected(PropertyErrorCode::DynamicPropertiesNotSupported); } Property& prop = dynamic_properties_[std::string{name}]; + prop.setSupportsExpressionLanguage(true); return prop.appendValue(std::move(value)); }
