diff options
author | Rasmus Luha <rasmus.luha@ut.ee> | 2025-04-23 21:55:24 +0300 |
---|---|---|
committer | Rasmus Luha <rasmus.luha@ut.ee> | 2025-04-23 21:55:24 +0300 |
commit | c341ab0ab1697a26f09cc8f9131ca1d9f158034e (patch) | |
tree | f5c1375e51a05731a8ebd4eac95bfe28f190e5b8 /config.py | |
parent | 1d41a08fe30bbb5b8a4cea7db14740109960b467 (diff) |
add nifi pipeline uploading, template cleanup
Diffstat (limited to 'config.py')
-rw-r--r-- | config.py | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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" |