diff options
author | Rasmus Luha <rasmus.luha@ut.ee> | 2025-04-21 21:54:58 +0300 |
---|---|---|
committer | Rasmus Luha <rasmus.luha@ut.ee> | 2025-04-21 21:54:58 +0300 |
commit | 0190bb2cf61cf36906201445cbecc4a2b6b22af1 (patch) | |
tree | c4c0056b8473c11db7e0959ce601ee79c46862ef /config.py | |
parent | 5bbcd5b6bc8340eedb7e8dcd88e156a0987d42f6 (diff) |
add more config vars and option to opt in and out of interactive mode, other minor fixes
Diffstat (limited to 'config.py')
-rw-r--r-- | config.py | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -1,3 +1,5 @@ +INTERACTIVE_MODE=True + ## Nifi NIFI_USER="lab08nifiuser" NIFI_PASS="tartunifi2023" @@ -5,6 +7,8 @@ NIFI_PASS="tartunifi2023" NIFI_HOST="https://127.0.0.1.nip.io" NIFI_DEPLOY=False +NIFI_MEASUREMENT_NAME="test_measurementName" + ## Database DB_URL="http://influxdb:8086/write?db=nifi_weatherData" @@ -12,3 +16,17 @@ DB_USER="admin" ## TODO - somehow must be hidden inside the pipeline in the end DB_PASS="admin" + + + +############################### + + + +## Optional +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_URL_USERNAME="TODO" +API_URL_PASSWORD="TODO" +PIPELINE_SCHEDULING_PERIOD="5 sec" +PIPELINE_NAME="test_pipeline.json" |