nifi/nifi-nar-bundles/nifi-py4j-bundle/nifi-python-extension-api
Mark Payne 711f2f1188
NIFI-12137: This closes #7808. Fixed name of Expression Language Scope from LIMITED to ENVIRONMENT, ; fixed issue in which flowfiles routed to failure by FlowFileTransform were also being routed to original; defined 'identifier' and 'logger' as member variables for FlowFileTransform and RecordTransform so that IDEs know about them
Signed-off-by: Joseph Witt <joewitt@apache.org>
2023-10-04 09:16:04 -07:00
..
src/main/python NIFI-12137: This closes #7808. Fixed name of Expression Language Scope from LIMITED to ENVIRONMENT, ; fixed issue in which flowfiles routed to failure by FlowFileTransform were also being routed to original; defined 'identifier' and 'logger' as member variables for FlowFileTransform and RecordTransform so that IDEs know about them 2023-10-04 09:16:04 -07:00
README NIFI-11241 Initial implementation of Python-based Processor API with Py4J 2023-04-14 15:03:34 -05:00
pom.xml NIFI-12064 Upgraded Maven Plugin versions 2023-09-14 19:35:51 -05: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.