summaryrefslogtreecommitdiff
path: root/config.py
diff options
context:
space:
mode:
authorRasmus Luha <rasmus.luha@ut.ee>2025-05-12 13:13:22 +0300
committerRasmus Luha <rasmus.luha@ut.ee>2025-05-12 13:13:22 +0300
commit6cb9f3eb1614f097992e27f2309bf6ca1cd37238 (patch)
treef4f2ca7739d98e10ed8dda201f2e088558ed9796 /config.py
parentaad1cf42f85eb1a2e2a34bf997a03f2941ec99de (diff)
update README.md, cleanup
Diffstat (limited to 'config.py')
-rw-r--r--config.py24
1 files changed, 12 insertions, 12 deletions
diff --git a/config.py b/config.py
index 3c5ec72..26ed10a 100644
--- a/config.py
+++ b/config.py
@@ -7,27 +7,27 @@ INTERACTIVE_MODE=True
NIFI_HOST="https://127.0.0.1.nip.io"
NIFI_DEPLOY=True
-NIFI_USER="lab08nifiuser"
-NIFI_PASS="tartunifi2023"
+NIFI_USER="nifi_user"
+NIFI_PASS="nifi_passwod"
-MEASUREMENT_NAME="EurDol_kurss"
+MEASUREMENT_NAME="measurement_name"
-## Database
+
+
+##j## Database ####
DB_URL="http://influxdb:8086"
-#DB_NAME="nifi_weatherData"
-DB_NAME="nifi_valuuta"
+DB_NAME="nifi_weatherData"
DB_USER="admin"
DB_PASS="admin"
+
#### Over all ####
## Needed if Interactive mode turned off
-#API_URL="https://api.open-meteo.com/v1/forecast?latitude=37.9838&longitude=23.7275&current_weather=true"
-API_URL="https://v6.exchangerate-api.com/v6/78660310eae8ed2c9ab662f8/latest/USD"
-#API_FIELDS={'temperature': '.current_weather.temperature', 'windspeed': '.current_weather.windspeed'}
-API_FIELDS={'temp': '.main.temp', 'winds': '.wind.speed'}
-API_USERNAME="rasmus.luha"
+API_URL="https://api.open-meteo.com/v1/forecast?latitude=37.9838&longitude=23.7275&current_weather=true"
+API_FIELDS={'temperature': '.current_weather.temperature', 'windspeed': '.current_weather.windspeed'}
+API_USERNAME="Placeholder"
API_PASSWORD="Placeholder"
PIPELINE_SCHEDULING_PERIOD="10"
-PIPELINE_NAME="ExchangeRate_pipeline"
+PIPELINE_NAME="pipelineName"