-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathapp.config.json
90 lines (90 loc) · 2.09 KB
/
app.config.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
84
85
86
87
88
89
90
{
"portal": {
"siteName": "Data.gov.sg",
"siteUrl": "https://data.gov.sg/dataset/",
"packageApiUrl": "https://data.gov.sg/api/3/action/package_search",
"fileDownloaderConcurrency": 10
},
"mongodb": {
"uri": "mongodb://localhost:27017",
"db": "datagovsg",
"metadataIndexFields": {
"title": "text",
"notes": "text",
"name": "text",
"organization.title": "text",
"organization.description": "text",
"topic": "text",
"resources.name": "text",
"resources.description": "text",
"resources.fields.name": "text"
}
},
"elasticsearch": {
"uri": "http://localhost:9200",
"index": "datagovsg",
"token": ""
},
"frontend": {
"search": {
"fields": [
{
"fieldName": "metadata_modified",
"displayName": "Last Updated",
"type": "date"
},
{
"fieldName": "frequency",
"displayName": "Publication Frequency",
"type": "text"
},
{
"fieldName": "organization.title",
"displayName": "Organization",
"type": "text"
},
{
"fieldName": "topics",
"displayName": "Topics",
"type": "list"
}
],
"resourcesFields": [
{
"fieldName": "coverage_start",
"displayName": "Coverage Start Date",
"type": "date"
},
{
"fieldName": "coverage_end",
"displayName": "Coverage End Date",
"type": "date"
}
]
},
"preview": {
"fields": [
{
"fieldName": "metadata_modified",
"displayName": "Last Updated",
"type": "date"
},
{
"fieldName": "frequency",
"displayName": "Publication Frequency",
"type": "text"
},
{
"fieldName": "organization.title",
"displayName": "Organization",
"type": "text"
},
{
"fieldName": "topics",
"displayName": "Topics",
"type": "list"
}
]
}
}
}