chore: bump test NiFi to 2.10.0 and regenerate API clients#411
Merged
Conversation
Bump the default NIFI_VERSION used by the docker test profiles from 2.7.2 to 2.10.0, and make test_update_controller_auto_disable robust to a 2.10.0 change: the CSVReader's first descriptor is now the enum 'Schema Access Strategy', so the test selects a value valid for the descriptor (its default for enum-constrained properties) rather than an arbitrary string, keeping the controller valid so auto_disable can re-enable it.
Regenerate the generated NiFi and Registry API clients from the NiFi 2.10.0
OpenAPI spec (adds the Connectors API and related models). Adapt the
hand-written call sites to swagger-codegen's global operationId-collision
renumbering caused by the new ConnectorsApi getFlow/createAsset/getAssets/
updateRunStatus operations:
- FlowApi.get_flow -> get_flow1
- ParameterContextsApi.get_assets/create_asset -> get_assets1/create_asset1
- {ControllerServices,InputPorts,OutputPorts,Processors}Api.update_run_status
bump by one (1->2, 2->3, 3->4, 4->5)
Full test suite green on NiFi 2.10.0 (722 passed, 33 skipped).
3 tasks
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #411 +/- ##
==========================================
- Coverage 76.93% 76.89% -0.05%
==========================================
Files 41 41
Lines 4869 4877 +8
==========================================
+ Hits 3746 3750 +4
- Misses 1123 1127 +4 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
pvillard31
approved these changes
Jul 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Routine version-currency bump of the docker test NiFi/Registry to 2.10.0, with the generated API clients regenerated from the 2.10.0 OpenAPI spec.
NIFI_VERSION(docker test profiles) 2.7.2 → 2.10.0.FlowApi.get_flow→get_flow1ParameterContextsApi.get_assets/create_asset→get_assets1/create_asset1{ControllerServices,InputPorts,OutputPorts,Processors}Api.update_run_statusbump by one (1→2, 2→3, 3→4, 4→5)test_update_controller_auto_disablerobust to the 2.10.0 CSVReader descriptor reorder (its first property is now the enumSchema Access Strategy).Test plan