Joe Gresock created NIFI-9626:
---------------------------------
Summary: Allow unrecognized VersionedFlowSnapshot properties in
Stateless
Key: NIFI-9626
URL: https://issues.apache.org/jira/browse/NIFI-9626
Project: Apache NiFi
Issue Type: Improvement
Components: NiFi Stateless
Affects Versions: 1.15.3
Reporter: Joe Gresock
If a versioned flow snapshot JSON file is provided to Stateless NiFi with
elements unrecognized by the current version of NiFi, a JSON parsing exception
occurs:
{code:java}
Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException:
Unrecognized field "parameterProviders"
at
org.apache.nifi.stateless.config.PropertiesFileFlowDefinitionParser.readVersionedFlowSnapshot(PropertiesFileFlowDefinitionParser.java:617)
{code}
This can be remedied by adding support for the following Jackson configuration:
{noformat}
DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES
{noformat}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)