Nifi library for robotframework
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file robotframework_nifilibrary-2.1.4.tar.gz.
File metadata
- Download URL: robotframework_nifilibrary-2.1.4.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95237809d9603abfe4ba5c6601ecda044cfdf64a0f56fe76f4a9b8b707d07e8f
|
|
| MD5 |
5fed2e5c94b75d4ebb568781d8ead473
|
|
| BLAKE2b-256 |
56431d66008bbbce9ec927a7308ba8175a207de4f682398b93741586484a36ef
|
File details
Details for the file robotframework_nifilibrary-2.1.4-py3-none-any.whl.
File metadata
- Download URL: robotframework_nifilibrary-2.1.4-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45884d0cf19cf5a5351c5dc234f05c014e6ebe8a1d6aecc55ed30309d897594a
|
|
| MD5 |
1f2d0863f244a3a3f4e0d6481bf36912
|
|
| BLAKE2b-256 |
bfedb74166750409c63a1128d93c195c7ffd19b0c7be775ccfd1543d13da1721
|