NifiLibrary
NifiLibrary is a Robot Framework library that simplifies interactions with the Apache NiFi API, leveraging the powerful Nipyapi SDK to provide keywords for managing NiFi components, controlling data flows, and automating tasks. This makes it easier to test and automate NiFi workflows directly within Robot Framework.
Usage
Install robotframework-nifilibrary via pip command
pip install -U robotframework-nifilibrary
Example Test Case
| *** Settings *** | ||||||
|---|---|---|---|---|---|---|
| Library | NifiLibrary | |||||
| Library | OperatingSystem | |||||
| *** Test Cases *** | ||||||
| Rename File - Success | ||||||
| ${token} | Create Nifi Session | ${host} | ${port} | ${username} | ${password} | |
| Update Parameter Value Without Stopped Component | ${parameter_context_id} | ${file_filter_param} | ${file_filter_name} | |||
| Start Processor | ${get_file_processor_id} | |||||
| List Directory | ${local_folder_path}/ | |||||
| Wait Until Keyword Succeeds | 3x | 5s | File Should Exist | ${local_folder_path}/${file_name_value} |
Documentation
Metadata
Release files for robotframework-nifilibrary 2.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| robotframework_nifilibrary-2.1.4.tar.gz | 9.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| robotframework_nifilibrary-2.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.3 kB
Release files / robotframework_nifilibrary-2.1.4.tar.gz
| Download URL | robotframework_nifilibrary-2.1.4.tar.gz |
|---|---|
| Size | 9.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
95237809d9603abfe4ba5c6601ecda044cfdf64a0f56fe76f4a9b8b707d07e8f
|
|
BLAKE2b-256 checksum How to use checksums |
56431d66008bbbce9ec927a7308ba8175a207de4f682398b93741586484a36ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.0
|
Release files / robotframework_nifilibrary-2.1.4-py3-none-any.whl
| Download URL | robotframework_nifilibrary-2.1.4-py3-none-any.whl |
|---|---|
| Size | 12.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
45884d0cf19cf5a5351c5dc234f05c014e6ebe8a1d6aecc55ed30309d897594a
|
|
BLAKE2b-256 checksum How to use checksums |
bfedb74166750409c63a1128d93c195c7ffd19b0c7be775ccfd1543d13da1721
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.0
|