summaryrefslogtreecommitdiff
path: root/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'config.py')
-rw-r--r--config.py13
1 files changed, 8 insertions, 5 deletions
diff --git a/config.py b/config.py
index 86c43aa..a2911a5 100644
--- a/config.py
+++ b/config.py
@@ -1,5 +1,5 @@
-INTERACTIVE_MODE=True
-#PLATFORM="Nifiaskdjas"
+INTERACTIVE_MODE=False
+#PLATFORM="Nifi"
#### Nifi ####
@@ -10,10 +10,13 @@ NIFI_DEPLOY=False
NIFI_USER="lab08nifiuser"
NIFI_PASS="tartunifi2023"
-NIFI_MEASUREMENT_NAME="test_measurementName"
+MEASUREMENT_NAME="test_measurementName"
## Database
-DB_URL="http://influxdb:8086/write?db=nifi_weatherData"
+#DB_URL="http://influxdb:8086/write?db=nifi_weatherData"
+DB_URL="http://influxdb:8086"
+#DB_NAME="nifi_weatherData"
+DB_NAME="telegraf_weatherData"
DB_USER="admin"
DB_PASS="admin"
@@ -30,5 +33,5 @@ API_URL="https://api.open-meteo.com/v1/forecast?latitude=58.38&longitude=26.72&c
API_FIELDS={'temperature': '.current_weather.temperature', 'windspeed': '.current_weather.windspeed'}
API_USERNAME="Placeholder"
API_PASSWORD="Placehoder"
-PIPELINE_SCHEDULING_PERIOD="10 sec"
+PIPELINE_SCHEDULING_PERIOD="10"
PIPELINE_NAME="test_pipeline"