Skip to content

chore: bump test NiFi to 2.10.0 and regenerate API clients#411

Merged
Chaffelson merged 3 commits into
mainfrom
feat/nifi-2.10.0
Jul 20, 2026
Merged

chore: bump test NiFi to 2.10.0 and regenerate API clients#411
Chaffelson merged 3 commits into
mainfrom
feat/nifi-2.10.0

Conversation

@Chaffelson

Copy link
Copy Markdown
Owner

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.

  • Bump default NIFI_VERSION (docker test profiles) 2.7.2 → 2.10.0.
  • Regenerate the NiFi + Registry clients from the 2.10.0 spec (adds the Connectors API and related models).
  • Adapt hand-written call sites to swagger-codegen's operationId-collision renumbering introduced by the new ConnectorsApi operations:
    • FlowApi.get_flowget_flow1
    • ParameterContextsApi.get_assets/create_assetget_assets1/create_asset1
    • {ControllerServices,InputPorts,OutputPorts,Processors}Api.update_run_status bump by one (1→2, 2→3, 3→4, 4→5)
  • Make test_update_controller_auto_disable robust to the 2.10.0 CSVReader descriptor reorder (its first property is now the enum Schema Access Strategy).

Test plan

  • Full suite green on NiFi 2.10.0 (single-user): 722 passed, 33 skipped
  • flake8 + pylint 10.00/10

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).
@codecov

codecov Bot commented Jul 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.89%. Comparing base (ba54425) to head (3385f66).
⚠️ Report is 1 commits behind head on main.

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Chaffelson Chaffelson self-assigned this Jul 18, 2026
@Chaffelson
Chaffelson merged commit ea7070c into main Jul 20, 2026
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants