Chaffelson / nipyapi

A convenient Python wrapper for Apache NiFi
Other
245 stars 76 forks source link

Add support for Parameters, plus minor fixes #239

Closed Chaffelson closed 3 years ago

Chaffelson commented 3 years ago

Add support for Parameter Contexts in parameters.py with appropriate tests and fixtures Update release process in devnotes.rst with additional checks Rework error raising to provide raise_from support inline with newer Python best practices, added future to requirements.txt in support of this for Py2 and Py3 intercompatibility Add greedy control support to canvas.get_processor_type Add checks to canvas.create_processor for correct user submissions Improve get by ID behavior to correctly return None when an invalid ID is submitted (previously raised a 404) Add canvas.get_controller_type to fetch a single controller type, previously only a listing option was provided Add utils.enforce_min_version to improve controls when a feature is not available in older versions of NiFi as Paramter Contexts were only introduced in 1.10.0 Minor test case and style improvements Add refresh default to canvas.update_process_group Add convenience methods to parameters.py to assign and remove a Parameter Context to a Process Group, with appropriate tests Minor coding style improvements