nifi/nifi-nar-bundles/nifi-py4j-bundle/nifi-python-extension-api
Mark Payne a587bad711
NIFI-12675 Fixed custom Relationships with Python Processors
Fixed bug that caused custom Relationships not to work on Python Processors. Added unit test to verify. Also addressed issue in PythonControllerInteractionIT where it did not wait for Processors to become valid (originally this wasn't necessary but when we refactored Processors to initialize in the background this was overlooked).

This closes #8316

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-02-01 11:55:24 -06:00
..
src/main/python NIFI-12675 Fixed custom Relationships with Python Processors 2024-02-01 11:55:24 -06:00
README NIFI-11241 Initial implementation of Python-based Processor API with Py4J 2023-04-14 15:03:34 -05:00
pom.xml NIFI-12361-RC6 prepare for next development iteration 2023-11-22 18:35:27 -06:00

README

To build the extension API Project:

First, update the version in the pyproject.toml file. After deploying to the pypi repository,
the version cannot be overwritten. So you will need to create a unique version.

Build the distribution artifacts:
```
cd ${nifi-python-extension-api-dir}/src/main/python
rm -rf dist/*
python3 -m build
```

This will create several files in the dist/ directory.
These can then be uploaded to the testpypi repository:

```
python3 -m twine upload --repository testpypi dist/*
```

You will be prompted for a username and password. For the username, use __token__. For the password, use the token value, including the pypi- prefix.