From ab4d535e4caf1d5fc1ed8097407b13bf8a0d98af Mon Sep 17 00:00:00 2001 From: Rasmus Luha Date: Mon, 5 May 2025 00:55:07 +0300 Subject: fix nifi pipeline deployment --- config.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'config.py') diff --git a/config.py b/config.py index a2911a5..e1a34e1 100644 --- a/config.py +++ b/config.py @@ -1,22 +1,22 @@ INTERACTIVE_MODE=False -#PLATFORM="Nifi" +PLATFORM="Nifi" #### Nifi #### NIFI_HOST="https://127.0.0.1.nip.io" -NIFI_DEPLOY=False +NIFI_DEPLOY=True NIFI_USER="lab08nifiuser" NIFI_PASS="tartunifi2023" -MEASUREMENT_NAME="test_measurementName" +MEASUREMENT_NAME="Ateena_ilm" ## Database #DB_URL="http://influxdb:8086/write?db=nifi_weatherData" DB_URL="http://influxdb:8086" #DB_NAME="nifi_weatherData" -DB_NAME="telegraf_weatherData" +DB_NAME="nifi_weatherData" DB_USER="admin" DB_PASS="admin" @@ -29,9 +29,9 @@ DB_PASS="admin" #### Over all #### ## Needed if Interactive mode turned off -API_URL="https://api.open-meteo.com/v1/forecast?latitude=58.38&longitude=26.72¤t_weather=true" +API_URL="https://api.open-meteo.com/v1/forecast?latitude=37.9838&longitude=23.7275¤t_weather=true" API_FIELDS={'temperature': '.current_weather.temperature', 'windspeed': '.current_weather.windspeed'} API_USERNAME="Placeholder" API_PASSWORD="Placehoder" PIPELINE_SCHEDULING_PERIOD="10" -PIPELINE_NAME="test_pipeline" +PIPELINE_NAME="Ateena" -- cgit v1.2.3