-
Notifications
You must be signed in to change notification settings - Fork 75
Comparing changes
Open a pull request
base repository: Chaffelson/nipyapi
base: v0.17.1
head repository: Chaffelson/nipyapi
compare: main
Commits on Nov 29, 2021
-
* Update base clients to 1.15.0 Add new mandatory version parameter for delete_bucket set default_headers to be an explicit dictionary to avoid TypeError Update test_setup script Update requirements to pin ruamel.yaml to <=0.18, which is the last version expected to work with Python2 Signed-off-by: Daniel Chaffelson <chaffelson@gmail.com> * Update security and versioning functions to also supply revision version when deleting objects Correct comment in utils version check function Signed-off-by: Daniel Chaffelson <chaffelson@gmail.com> * NiFi 1.15 requires a password of at least 12chars, updating to supersecret1! as an example Added separate option to config to disable_insecure_request_warnings in urllib3 Updated service_login to correctly check for None explicitly instead of implicit Updated set_endpoint to also accept username and password for login behavior Updated docker-compose configurations for NiFi-1.15, this includes setting default single user credential and port updates for https Updated conftest to explicitly set login/ssl/username/password from tuples per test permutation rather than implicitly pulling them from config.py defaults Updated conftest service cleanup actions to be more concise and readable Corrected test for updating a parameter context to not duplicate keys which is now a testable fault Updated test_security.py to correctly have the manual testing helper commented out by default Signed-off-by: Daniel Chaffelson <chaffelson@gmail.com> * Update History and Readme for release 0.18.0 Signed-off-by: Daniel Chaffelson <chaffelson@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for f6a2221 - Browse repository at this point
Copy the full SHA f6a2221View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3b186f - Browse repository at this point
Copy the full SHA d3b186fView commit details
Commits on May 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 19ab0b3 - Browse repository at this point
Copy the full SHA 19ab0b3View commit details
Commits on May 12, 2022
-
Allow version validation to ignore NiFi or Registry when checking for…
… parameter support (#304) * Allow version validation to ignore NiFi or Registry when checking for parameter support * Refactor if-else statement format
Configuration menu - View commit details
-
Copy full SHA for 14028a0 - Browse repository at this point
Copy the full SHA 14028a0View commit details
Commits on May 13, 2022
-
Adds child cascading to assign_context_to_process_group (#267)
* Adds direct-child cascading to assign_context_to_process_group Adds an optional bool to assign_context_to_process_group that, when True, will cascade the assigned Parameter Context down to the direct children Process Groups of the named Process Group. Does not recur down to nested-children. * Updates cascade to recur to all children rather than immediate only * removed pprint import oops Co-authored-by: abrown <abrown@cloudera.com>
Configuration menu - View commit details
-
Copy full SHA for a6e4f79 - Browse repository at this point
Copy the full SHA a6e4f79View commit details -
Update to NiFi release 1.16.1 and fixes (#306)
* modify utils.check_version to accept a default version to check against, and remove nested error when version check fails as it is overzealous Update test file paths in test_utils in case someone runs tests as root which actually can write to fake devices and therefore break the tests * Updated clients for 1.16 Added pylint exclusions for known but unimportant complaints Added workaround for NiFi 9470 by providing default inherited_parameter_contexts per advice from Chris Sampson in NiPyAPI Issue #305 Fixes #305 Updated NiFi and Registry versions in Docker compose configs to use latest 1.16.1 builds Signed-off-by: Daniel Chaffelson <chaffelson@gmail.com> * Bump version: 0.18.0 → 0.19.0
Configuration menu - View commit details
-
Copy full SHA for 9f037e0 - Browse repository at this point
Copy the full SHA 9f037e0View commit details
Commits on Aug 8, 2022
-
Fix bug in security.bootstrap_security_policies (#261)
Co-authored-by: Pieter De Maeyer <pieter.de.maeyer@telenetgroup.be>
Configuration menu - View commit details
-
Copy full SHA for bd271ec - Browse repository at this point
Copy the full SHA bd271ecView commit details -
Update NiFi and NiFi-Registry clients to the 1.17.0 release (#313)
* Update NiFi and NiFi-Registry clients to the 1.17.0 release Update docker resources to the latest 1.17 container image Fix issue in docker volume mounts where certificates were not readable in new versions of Docker Fix issue in test_get_processor_type where new Twitter processor broke existing logic assumptions Update readme to note issues with Python 3.10 and removing reference to python 3.5 testing Signed-off-by: Daniel Chaffelson <chaffelson@gmail.com> * Update patchnotes in history.rst Remove pytest-runner from development dependencies as it has been deprecated upstream and no longer seems to be required to run pytest with tox Signed-off-by: Daniel Chaffelson <chaffelson@gmail.com> * Bump version: 0.19.0 → 0.19.1
Configuration menu - View commit details
-
Copy full SHA for 12dd615 - Browse repository at this point
Copy the full SHA 12dd615View commit details
Commits on Nov 10, 2022
-
Update get_access_policy_for_resource no policy test (#317)
* Update get_access_policy_for_resource no policy test to account for Registry body on no policy * Change PUT to POST for update_flow_version_with_http_info
Configuration menu - View commit details
-
Copy full SHA for d32098c - Browse repository at this point
Copy the full SHA d32098cView commit details -
Update README with NiFi 1.17 support (#314)
Quick change on the readme. Raffaele
Configuration menu - View commit details
-
Copy full SHA for 1551ec8 - Browse repository at this point
Copy the full SHA 1551ec8View commit details
Commits on Dec 1, 2022
-
* Updated clients and Docker for 1.19 RegistryClientEntity is renamed to FlowRegistryClientEntity for clarity in NiFi-1.19, along with other related classes - consequently ControllerApi().create_registry_client is now ControllerApi().create_flow_registry_client, etc. urllib3 advises that HTTPResponse.getheaders() will soon be deprecated, moving to HTTPResponse.headers as advised The NiFi API call to create a registry client no longer errors when a duplicate name is requested, however it still errors if you attempt to update a registry client with a non-unique name. Commenting out this test for now as it is not a critical requirement. The NiFi API no longer removes the Registry URI when deleting the object, removing this test from the set and replacing with a test that ensures the client can no longer be retrieved once deleted. Signed-off-by: Daniel Chaffelson <chaffelson@gmail.com> * Fix linelength in security.py to satisfy python linting Ensure newer versions of flake8 exclude autogenerated client files from tests Signed-off-by: Daniel Chaffelson <chaffelson@gmail.com> Signed-off-by: Daniel Chaffelson <chaffelson@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c687fb8 - Browse repository at this point
Copy the full SHA c687fb8View commit details
Commits on Oct 22, 2023
-
* fix(swagger_templates): http headers were incorrectly accessed from RESTResponse object Signed-off-by: Hexoplon <github@zackeus.no> * feat(nifi-client): update to 1.23.2 swagger defenitions Signed-off-by: Hexoplon <github@zackeus.no> * feat(registry-client): update to 1.23.2 swagger defenitions Signed-off-by: Hexoplon <github@zackeus.no> * test: update nifi and registry images to 1.23.2 Signed-off-by: Hexoplon <github@zackeus.no> * build: update dependencies based on Snyk security recommendation Signed-off-by: Hexoplon <github@zackeus.no> * chore: v0.20.0 Signed-off-by: Hexoplon <github@zackeus.no> --------- Signed-off-by: Hexoplon <github@zackeus.no>
Configuration menu - View commit details
-
Copy full SHA for 8a2aec3 - Browse repository at this point
Copy the full SHA 8a2aec3View commit details
Commits on Apr 9, 2024
-
feat(config): add ReportingTaskEntity to registered filters (#337)
Signed-off-by: Hexoplon <github@zackeus.no>
Configuration menu - View commit details
-
Copy full SHA for eeeee30 - Browse repository at this point
Copy the full SHA eeeee30View commit details -
remove library setting root logger configuration (#340)
Co-authored-by: Dan Chaffelson <chaffelson@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for b479a43 - Browse repository at this point
Copy the full SHA b479a43View commit details
Commits on Apr 14, 2024
-
Fix ruamel.yaml pinning. Fixes docs and test process for EC2. (#346)
* fixes #345 * Fix pyenv python versions mapping in tox. * deprecate version statement in docker-compose files * Updated devnotes with new EC2 process. Updated sphinx build for newer version.
Configuration menu - View commit details
-
Copy full SHA for 5bf9873 - Browse repository at this point
Copy the full SHA 5bf9873View commit details -
Configuration menu - View commit details
-
Copy full SHA for abd391b - Browse repository at this point
Copy the full SHA abd391bView commit details
Commits on Apr 15, 2024
-
Update Python and NiFi supported versions (#348)
* Update readme for version support * update python support to 3.7 through 3.11
Configuration menu - View commit details
-
Copy full SHA for e3f0ae3 - Browse repository at this point
Copy the full SHA e3f0ae3View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5e82b9 - Browse repository at this point
Copy the full SHA b5e82b9View commit details -
File was supposed to be a dot file, Visual Studio decided I didn't need it.
Configuration menu - View commit details
-
Copy full SHA for 1d52262 - Browse repository at this point
Copy the full SHA 1d52262View commit details
Commits on Jun 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for cef094c - Browse repository at this point
Copy the full SHA cef094cView commit details -
issue-360: handle -9 error messages better (#361)
closes 360 from https://github.com/JiKeidan
Configuration menu - View commit details
-
Copy full SHA for ca5cdc8 - Browse repository at this point
Copy the full SHA ca5cdc8View commit details
Commits on Oct 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6907d86 - Browse repository at this point
Copy the full SHA 6907d86View commit details
Commits on Oct 3, 2024
-
* regenerate pylintrc for newer standards. * Remove outdated setattr usages. * Remove outdated todo statements. * Fix whitespace and line length linting. * Update ruamel.yaml usage to avoid deprecation warnings. * add default timeout to requets calls for registry swagger. * Fixes #351 * Fixes #342 * Fix HTTPResponse.getheaders() deprecation warning with py2/py3 compatitbility * Call Configuration() once in rest clients * added explanation about safe yaml loader * ensure latest flow version by sorting. Fixes #326 * set py>-1.11.0 to avoid false positive cve warning * bump pytest>=7.2.0 to remove py dependency
Configuration menu - View commit details
-
Copy full SHA for 93514f7 - Browse repository at this point
Copy the full SHA 93514f7View commit details
Commits on Oct 6, 2024
-
update clients to 1.27.0 (#365)
* update clients to 1.27.0 * deprecate py.test in favour of newer pytest * move docker requirement to extras * linting fixes * set latest python version to 3.12
Configuration menu - View commit details
-
Copy full SHA for 6a94c6b - Browse repository at this point
Copy the full SHA 6a94c6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a8adb27 - Browse repository at this point
Copy the full SHA a8adb27View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac9898e - Browse repository at this point
Copy the full SHA ac9898eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fabcdb - Browse repository at this point
Copy the full SHA 0fabcdbView commit details -
simplify yaml dump to remove duplicate round trip via json fix py2/3 compatibility on use of yield statements. remove automated py2 testing from tox due to compatibility issues move pytest version picker to setup.py to allow additional logic. remove extraneous settings from setup.cfg set different yaml parser rules for py2/3 to better handle compatibility remove py2 limitation on development versions, greatly simplifying setup update pylintrc for new standards retire travisCI and coveralls from automated testing. Set simple coverage report, exclude from commits.
Configuration menu - View commit details
-
Copy full SHA for 18214fd - Browse repository at this point
Copy the full SHA 18214fdView commit details -
set min version for ruamel.yaml for safety
update devnotes with py2 manual testing deprecate removed models from nifi client docs
Configuration menu - View commit details
-
Copy full SHA for f2ccf64 - Browse repository at this point
Copy the full SHA f2ccf64View commit details
Commits on Oct 7, 2024
-
Merge pull request #366 from Chaffelson/retirePy2Automation
Prepare v0.21.0 with py2 semi-retirement
Configuration menu - View commit details
-
Copy full SHA for f17ed60 - Browse repository at this point
Copy the full SHA f17ed60View commit details
Commits on Oct 8, 2024
-
Update NiPyAPI to be roughly forward compatible with NiFi-2.x line. (#…
…368) * Instruct pyup to ignore pytest in requirements txt * instruct pytest to not report insecure http requests to localhost for docker testing * Templates are deprecated in nifi-2x, remove from tests for newer versions * add function to check registry version using newer aboutapi() call * update utils.check_version to ignore any non-semver elements of a version string and use newer registry version api call if available * Update registry client creation to handle nifi-2x structure * Update Testing to treat NiFI-2.x as regression target * Deprecate very old nifi-1x versions from regression testing * Fix get processor test to use a processor available in all nifi versions, GenerateFlowfile * Update readme about NiFi2.x support. * Switch 'latest' dockerfile to use 'latest' nifi tags.
Configuration menu - View commit details
-
Copy full SHA for 3010452 - Browse repository at this point
Copy the full SHA 3010452View commit details
Commits on Feb 25, 2025
-
Updates to supported versions, handing Template deprecation in NiFi-2…
….x, and Windows development support. Tested against NiFi-1.28.1 and 2.2.0. Bumped minimum Python3 version to 3.9 in line with Python retirement dates. Minor linting fixes. Corrected version checks for Templates deprecation in NiFi-2.x Added catcher for attempting to call Template functions against NiFi-2.x throwing new nipyapi.utils.VersionError, updated tests to match. Library should now throw VersionError for client-server mismatch instead of generic ValueError with a 404 Not Found inherited from Requests. Resolved fixture issues related to template create/destroy operations during pytest execution. Switched default Controller Service Type to CSVReader from DistributedMapCacheClientService as it is present in all tested versions.
Configuration menu - View commit details
-
Copy full SHA for 16fede7 - Browse repository at this point
Copy the full SHA 16fede7View commit details
Commits on Feb 26, 2025
-
Merge pull request #381 from Chaffelson/20250224_updates
Updates to supported versions, handing Template deprecation in NiFi-2.x, and Windows development support
Configuration menu - View commit details
-
Copy full SHA for c7d2564 - Browse repository at this point
Copy the full SHA c7d2564View commit details
Commits on Mar 4, 2025
-
* Add support for mTLS. * Added Python3.10 as it historically had urllib3 changes that caused issues. * renamed the 'secure' test mode to 'secure-ldap' distinguish it from 'secure-mtls'. * Added 'secure-mtls' test mode with docker configuration and pytest setup. * Added including 'reporting tasks' to some controller functions as the management controllers fall into that group and the SSL Context controller required for secure registry falls into that category. * Changed the default_proxy_user in config.py to user1 instead of localhost to match the certs. * Added optional 'purpose' overide to security/set_service_ssl_context to handle certificates needing to be either CLIENT or SERVER auth. Should fix issue #370. * bootstrap_security_policies changed to read system_diagnostics and policies by default. Added mtls handling. Added default registry policy setup for the nifi proxy user. * Added security.py function to create_ssl_context_controller_service which is required to create the registry client in an mTLS environment. * Updated utils/set_endpoint to handle correctly setting the SSL Context for mTLS when login is not requested, and not just LDAPS. This allows easy mTLS usage as shown in conftest. * updated versioning/create_registry_client to accept an SSL Context Service to setup the secure registry connection under mTLS. * Locked latest for testing to be 1.28.1 for this branch of NiPyAPI as testing against 2.x is not a full test suite. * pytest now has an additional mode secure_mtls, which clones the secure_ldap setup. You can only use either mtls or ldap concurrently as they share network names in the certificates. * Added include_reporting_tasks option to get_controller * adopted recommended SSLContextService type from NiFI docs
Configuration menu - View commit details
-
Copy full SHA for 18d3afd - Browse repository at this point
Copy the full SHA 18d3afdView commit details
Commits on Mar 6, 2025
-
Updated nifi and registry low level clients to v1.28.1
Fixedup docs for swagger-codegen-cli to point at version 2.4.41 Fixed linting in primary client
Configuration menu - View commit details
-
Copy full SHA for ab98de8 - Browse repository at this point
Copy the full SHA ab98de8View commit details
Commits on Mar 7, 2025
-
Merge pull request #383 from Chaffelson/1281update
Updated nifi and registry low level clients to v1.28.1
Configuration menu - View commit details
-
Copy full SHA for 58b5d30 - Browse repository at this point
Copy the full SHA 58b5d30View commit details
Commits on Mar 25, 2025
-
* Update history for release * Bump version: 0.21.0 → 0.22.0
Configuration menu - View commit details
-
Copy full SHA for e14d2f5 - Browse repository at this point
Copy the full SHA e14d2f5View commit details
There are no files selected for viewing