From 6b647a41a1eb508710de1bc583fd7d404078c744 Mon Sep 17 00:00:00 2001 From: Rasmus Luha Date: Thu, 15 May 2025 00:22:14 +0300 Subject: cleanup --- README.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index aa3f99c..095dfc6 100644 --- a/README.md +++ b/README.md @@ -14,17 +14,6 @@ Configuration variables are defined in `config.py`, where sample variables are a WIP ### Variables - -#### Nifi - -| Variable Name | Description | Example Value | -|---------------------|----------------------------------------------|----------------------------| -| `NIFI_HOST` | Base URL of the Apache NiFi instance | `https://127.0.0.1.nip.io` | -| `NIFI_USER` | Username for authenticating in Nifi | `nifi_username` | -| `NIFI_PASS` | Username for authenticating in Nifi | `nifi_password` | -| `NIFI_DEPLOY` | Automatically delpoy pipeline to Nifi | `True` | -| `INTERACTIVE_MODE` | If False you can parse through api call data | `True` | - In interactive mode you can manually give the API url, credentials and data fields for the pipeline from API response If you opt out the interactive mode you have to define needed variables in the config.py file before using the tool. @@ -34,8 +23,8 @@ The following variables have to be defined if interactive mode is tured to `Fals |-------------------------------|-------------------------------------------|-----------------------------------------------------------------------------------------------| | API_URL | API url that returens JSON data | `https://api.open-meteo.com/v1/forecast?latitude=58.38&longitude=26.72¤t_weather=true"` | | API_FIELDS | Data fields for pipeline, with json paths | `{'temperature': '.current_weather.temperature', 'windspeed': '.current_weather.windspeed'}` | -| API_USERNAME | Api username, if required | `"Placeholder"` | -| API_PASSWORD | Api username, if required | `"Placeholder"` | +| API_USERNAME | Api username, if required by API | `"Placeholder"` | +| API_PASSWORD | Api username, if required by API | `"Placeholder"` | | PIPELINE_SCHEDULING_PERIOD | How often the pipeline should run | `"5 sec"` | | PIPELINE_NAME | Name of the pipeline | `"test_pipeline.json"` | @@ -50,6 +39,17 @@ Database variales have to be filled out before using the tool as currently there | `DB_PASS` | Database passwod | `admin` | +#### Nifi +Here Nifi Host, Username and Password are needed for deploying the pipeline to the Nifi Host. + +| Variable Name | Description | Example Value | +|---------------------|----------------------------------------------|----------------------------| +| `NIFI_HOST` | Base URL of the Apache NiFi instance | `https://127.0.0.1.nip.io` | +| `NIFI_USER` | Username for authenticating in Nifi | `nifi_username` | +| `NIFI_PASS` | Username for authenticating in Nifi | `nifi_password` | +| `NIFI_DEPLOY` | Automatically delpoy pipeline to Nifi | `True` | +| `INTERACTIVE_MODE` | If False you can parse through api call data | `True` | + ## Current Repo structure ``` -- cgit v1.2.3