summaryrefslogtreecommitdiff
path: root/config.py
blob: 684349c326cc9d1563da24cc135aefe9b019373d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
INTERACTIVE_MODE=False


#### Nifi ####

NIFI_HOST="https://127.0.0.1.nip.io"
NIFI_DEPLOY=False

NIFI_USER="lab08nifiuser"
NIFI_PASS="tartunifi2023"

NIFI_MEASUREMENT_NAME="test_measurementName"

## Database
DB_URL="http://influxdb:8086/write?db=nifi_weatherData"
DB_USER="admin"
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="Placeholder"
API_PASSWORD="Placehoder"
PIPELINE_SCHEDULING_PERIOD="5 sec"
PIPELINE_NAME="test_pipeline"



#### Telegraf ####