-
Notifications
You must be signed in to change notification settings - Fork 0
/
tunaatlas_qa_dbmodel+codelists.json
83 lines (83 loc) · 1.93 KB
/
tunaatlas_qa_dbmodel+codelists.json
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
76
77
78
79
80
81
82
83
{
"profile": {
"id": "tunaatlas-qa",
"mode": "entity",
"project": "FIRMS Tuna Atlas",
"organization": "FIRMS Tuna Atlas",
"logos": [
"http://firms.fao.org/figis/website/assets/images/templates/firms/firms_banner.gif",
"http://www.fao.org/fileadmin/templates/family-farming-decade/images/FAO-IFAD-Logos/FAO-Logo-EN.svg",
"http://www.umr-marbec.fr/images/logo-ird-en.png"
],
"options": {
"line_separator": "_\n"
}
},
"metadata": {
"entities": [
{
"handler": "gsheet",
"source": "https://docs.google.com/spreadsheets/d/12zi49c5wd9Nc7N1anv3lCM4f66L-5x3-Xsh6ZGGc-ns/edit?usp=sharing"
}
],
"contacts" : [
{
"handler": "gsheet",
"source": "https://docs.google.com/spreadsheets/d/1DtGR8cHAkro12DOFZn40cehfU9LoI9l7wVUCHfHH-xY/edit?usp=sharing"
}
]
},
"software": [
{
"id": "tunaatlas-db-write",
"type": "output",
"software_type": "dbi",
"parameters": {
"drv": "PostgreSQL",
"user": "{{DB_USER}}",
"password": "{{DB_PASSWORD}}",
"host": "{{DB_HOST}}",
"port": "5432",
"dbname": "{{DB_NAME}}"
},
"properties" : {
"user_readonly": "{{DB_USER}}",
"onstart_r": {
"script": "https://raw.githubusercontent.com/eblondel/geoflow-tunaatlas/master/tunaatlas_scripts/deploy_database_model.R",
"fun": "deploy_database_model"
}
}
},
{
"id": "tunaatlas-db-read",
"type": "input",
"software_type": "dbi",
"parameters": {
"drv": "PostgreSQL",
"user": "{{DB_USER}}",
"password": "{{DB_PASSWORD}}",
"host": "{{DB_HOST}}",
"port": "5432",
"dbname": "{{DB_NAME}}"
},
"properties" : {
}
},
{
"id": "googledrive",
"type": "input",
"software_type": "googledrive",
"parameters": {
"email": "{{GMAIL_USER}}",
"token": "{{GMAIL_TOKEN}}"
},
"properties" : {}
}
],
"actions": [
{
"id": "load_codelist",
"script": "https://raw.githubusercontent.com/eblondel/geoflow-tunaatlas/master/tunaatlas_actions/load_codelist.R",
"run": true}
]
}