New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NIFI-12616: Added some Use Case docs for Python processors and update… #8253
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good, verified the python processors are in the runtime manifest retrieved from the REST API, just one minor thing...
After building with tests I noticed git was showing these as untracked:
nifi-nar-bundles/nifi-py4j-bundle/nifi-python-extension-api/src/main/python/src/nifiapi/__pycache__/
nifi-nar-bundles/nifi-py4j-bundle/nifi-python-framework/src/main/python/framework/__pycache__/
nifi-nar-bundles/nifi-py4j-bundle/nifi-python-framework/src/test/python/framework/__pycache__/
I'm assuming they got created as part of running some tests, can we update .gitignore
and add __pycache__
?
@markap14 it seems like there is a consistent failure in the Windows build for this python related test...
|
…d Runtime Manifests to include Python based processors as well as Use Case/MultiProcessorUseCase documentation elements. Refactored/cleaned up some of the Python code and added unit tests.
…ile on ubuntu and macos builds
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<goal>exec</goal> | ||
</goals> | ||
<configuration> | ||
<executable>python3</executable> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewing these changes in light of the recent build failures, it looks like this plugin execution should be optional so that it does not result in failures on systems that do not have the python3
executable installed.
…d Runtime Manifests to include Python based processors as well as Use Case/MultiProcessorUseCase documentation elements. Refactored/cleaned up some of the Python code and added unit tests.
Summary
NIFI-00000
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking
Pull Request Tracking
NIFI-00000
NIFI-00000
Pull Request Formatting
main
branchVerification
Please indicate the verification steps performed prior to pull request creation.
Build
mvn clean install -P contrib-check
Licensing
LICENSE
andNOTICE
filesDocumentation