What's New
GitHub Flow Registry Support
Native support for NiFi's GitHub Flow Registry Client, enabling CI/CD workflows for versioned NiFi flows:
- Git-specific versioning helpers:
list_git_registry_buckets,get_git_registry_bucket,list_git_registry_flows,get_git_registry_flow,list_git_registry_flow_versions,deploy_git_registry_flow,update_git_flow_ver - Registry client management:
ensure_registry_clientandupdate_registry_clientfor idempotent configuration - Enhanced revert:
revert_flow_vernow acceptswait=Truefor synchronous operation
Profile System Enhancements
-
"env" profile: Configure nipyapi entirely from environment variables - no profiles file required
nipyapi.profiles.switch('env') # Reads NIFI_API_ENDPOINT, NIFI_BEARER_TOKEN, etc.
- Bearer token authentication: Simplest auth method - just URL + token
export NIFI_API_ENDPOINT=https://nifi.example.com/nifi-api
export NIFI_BEARER_TOKEN=eyJhbGciOiJSUzI1NiIs...
Canvas Improvements
- Bearer token authentication: Simplest auth method - just URL + token
-
Bulk controller service operations:
schedule_all_controllers(pg_id, scheduled)for enabling/disabling all controller services -
Processor updates:
update_processornow acceptsnameparam andauto_stopfor handling running processors
Bug Fixes
- Fixed
test_create_controllerleaving orphaned controller services revert_flow_vernow refreshes revision internally to prevent stale errors
Installation
pip install --upgrade nipyapi
Related Projects
- nipyapi-actions - GitHub Action for NiFi CI/CD workflows
Full Changelog: v1.0.1...v1.1.0