summaryrefslogtreecommitdiff
path: root/config.py
diff options
context:
space:
mode:
authorRasmus Luha <rasmus.luha@ut.ee>2025-04-23 21:55:24 +0300
committerRasmus Luha <rasmus.luha@ut.ee>2025-04-23 21:55:24 +0300
commitc341ab0ab1697a26f09cc8f9131ca1d9f158034e (patch)
treef5c1375e51a05731a8ebd4eac95bfe28f190e5b8 /config.py
parent1d41a08fe30bbb5b8a4cea7db14740109960b467 (diff)
add nifi pipeline uploading, template cleanup
Diffstat (limited to 'config.py')
-rw-r--r--config.py8
1 files changed, 3 insertions, 5 deletions
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&current_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"