Skip to content

Stateless group and verify_config port fixes

Latest

Choose a tag to compare

@Chaffelson Chaffelson released this 24 Oct 15:09
· 3 commits to main since this release
v1.8.1
8969791

Patch release with two bug fixes. No public functions were added, removed or changed signature.

Bug Fixes

  • Stateless process groups in parameter provider fetch/apply (#419): AffectedComponentEntity.reference_type now accepts STATELESS_GROUP.
    • NiFi returns this value for components in stateless process groups. The NiFi 2.12.0 OpenAPI spec leaves it out of the entity, although AffectedComponentDTO has it (NIFI-16464, fixed upstream by apache/nifi#11811).
    • On a flow with stateless groups, fetching or applying a parameter provider therefore raised ValueError while deserialising the response.
    • A spec augmentation now mirrors the DTO enum into the entity. It will be removed when the client is regenerated from a NiFi release that includes the upstream fix.
  • verify_config() port failures (#418): port_results[*].failures now use the same {"step", "explanation"} shape as controller and processor failures.
    • Port failures have been plain strings since port validation was added in 1.7.0. They now match the controller and processor rows, so every row can be handled the same way.
    • Checks on verified, failed_count or a row's success are unaffected, and valid ports still return failures: [].
    • If your code reads the individual port failure strings, read explanation instead.

Full changelog: see docs/history.rst (1.8.1).