-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
75 lines (73 loc) · 2.24 KB
/
config.yml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
default:
ingestion:
koboform:
asset1: !expr Sys.getenv('MALAWI_SSF')
asset2: !expr Sys.getenv('FISHERIES_ECAS')
asset3: !expr Sys.getenv('FIELDDATAAPP_2024')
asset4: !expr Sys.getenv('FIELDDATAAPP_2024A')
asset5: !expr Sys.getenv('FIELDDATAAPP_2023F')
username: !expr Sys.getenv('KOBO_USERNAME')
password: !expr Sys.getenv('KOBO_PASSWORD')
pds:
token: !expr Sys.getenv('PDS_TOKEN')
secret: !expr Sys.getenv('PDS_SECRET')
storage:
mongodb:
connection_string: !expr Sys.getenv('MONGODB_CONNECTION_STRING')
database:
pipeline:
name: pipeline
collection_name:
raw: raw
preprocessed: preprocessed
validated: validated
merged: merged_trips
app:
name: app
collection_name:
summary: DataSummaries
matched_tracks: matched_trips_gps
google:
key: gcs
options:
project: peskas
bucket: kenya-dev
service_account_key: !expr Sys.getenv('GCP_SA_KEY')
metadata:
google_sheets:
name: metadata-tables
sheet_id: !expr Sys.getenv("GOOGLE_SHEET_ID")
tables:
- devices
validation:
k_nboats: 3
k_nfishers: 3
k_catch: 2.5
k_pricekg: 9
production:
storage:
mongodb:
connection_string: !expr Sys.getenv('MONGODB_CONNECTION_STRING')
local:
inherits: development
ingestion:
koboform:
asset1: !expr readLines("auth/ASSET-malawi-ssf")
asset2: !expr readLines("auth/ASSET-fisheries-ecas")
asset3: !expr readLines("auth/ASSET-fielddataapp-2024")
asset4: !expr readLines("auth/ASSET-fielddataapp-2024A")
asset5: !expr readLines("auth/ASSET-fielddataapp-2023F")
username: !expr readLines("auth/kobo-username")
password: !expr readLines("auth/kobo-password")
pds:
token: !expr readLines('auth/pds-token')
secret: !expr readLines('auth/pds-secret')
storage:
mongodb:
connection_string: !expr readLines("auth/mongodb-connection-string")
google:
options:
service_account_key: !expr readLines("auth/gcp-sa-peskas_ingestion-key.json")
metadata:
google_sheets:
sheet_id: !expr readLines("auth/metadata-sheet-id")