-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.yml
61 lines (53 loc) · 1.48 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
environments:
default: prod
#default environment if NODE_ENV is not defined
prod:
listen_port: 8088
dev:
listen_port: 9088
min_text_length: 1
cors:
origin: '*'
optionsSuccessStatus: 200
#some legacy browsers (IE11, various SmartTVs) choke on 2
#TODO cache_ttl: 0
default_lang: 'en'
min_text_length: 3
endpoints:
default:
hostname: tourism.opendatahub.bz.it
method: GET
port: 443
#hostname: localhost
#port: 9090
size: 5
#method: 'GET'
headers:
User-Agent: PeliasLite
Referer: https://journey.opendatahub.bz.it
layer: venue
# here:
# appId: ${HERE_APPID}
# appCode: ${HERE_APPCODE}
# apiKey: ${HERE_APIKEY}
# layer: address
# boundary:
# rect:
# minLon: 10.470121
# maxLon: 12.255011
# minLat: 46.188280
# maxLat: 47.088780
opentripplanner:
#TODO enabled: false
hostname: ${OTP_HOST}
#hostname: localhost
# docs http://dev.opentripplanner.org/apidoc/1.4.0/resource_GeocoderResource.html
path: /otp/routers/default/geocode?query={{text}}
port: ${OTP_PORT}
layer: stops
accommodations:
path: /v1/Accommodation?searchfilter={{text}}&pagesize={{size}}&language={{lang}}&poitype=447&active=true&fields=Id,AccoDetail.{{lang}}.Name,Latitude,Longitude
layer: venue
ODHActivityPoi:
path: /v1/ODHActivityPoi/?searchfilter={{text}}&pagesize={{size}}&language={{lang}}&poitype=447&active=true&fields=Id,Detail.{{lang}}.Title,GpsInfo
layer: venue