From c341ab0ab1697a26f09cc8f9131ca1d9f158034e Mon Sep 17 00:00:00 2001 From: Rasmus Luha Date: Wed, 23 Apr 2025 21:55:24 +0300 Subject: add nifi pipeline uploading, template cleanup --- config.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'config.py') diff --git a/config.py b/config.py index b171425..780bc9b 100644 --- a/config.py +++ b/config.py @@ -1,4 +1,4 @@ -INTERACTIVE_MODE=True +INTERACTIVE_MODE=False ## Nifi NIFI_USER="lab08nifiuser" @@ -13,8 +13,6 @@ NIFI_MEASUREMENT_NAME="test_measurementName" ## Database DB_URL="http://influxdb:8086/write?db=nifi_weatherData" DB_USER="admin" - -## TODO - somehow must be hidden inside the pipeline in the end DB_PASS="admin" @@ -26,7 +24,7 @@ DB_PASS="admin" ## 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_FIELDS={'temperature': '.current_weather.temperature', 'windspeed': '.current_weather.windspeed'} -API_USERNAME="TODO" -API_PASSWORD="TODO" +API_USERNAME="Placeholder" +API_PASSWORD="Placehoder" PIPELINE_SCHEDULING_PERIOD="5 sec" PIPELINE_NAME="test_pipeline.json" -- cgit v1.2.3