This repository has been archived by the owner on Mar 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
typeahead.yml
85 lines (81 loc) · 1.73 KB
/
typeahead.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
76
77
78
79
80
81
82
83
84
web:
port: ${PORT:-8080}
baseurl: ${WEB_BASE_URL}
allow_cors: true
global_search_config:
default_read_timeout: 0.3
connect_timeout: 0.05
min_query_length: 3
max_results_per_endpoint: 12
results_type: equal_until_max
total_max_results: 15
search_endpoints:
- type: Typeahead
url: ${ENDPOINT_BAG}
- type: Typeahead
url: ${ENDPOINT_HANDELSREGISTER}
- type: Typeahead
url: ${ENDPOINT_BRK}
- type: Typeahead
url: ${ENDPOINT_GEBIEDEN}
- type: Typeahead
url: ${ENDPOINT_MEETBOUTEN}
- type: Typeahead
url: ${ENDPOINT_MONUMENTEN}
- type: Typeahead
url: ${ENDPOINT_CMS_SEARCH}
- type: DCATAms
url: ${ENDPOINT_DCATD}
logging:
formatters:
default:
format: '%(asctime)s %(levelname)-8s %(module)s:%(lineno)d: %(message)s'
handlers:
aiohttp.access:
class: logging.StreamHandler
console:
class: logging.StreamHandler
formatter: default
gelf:
class : graypy.GELFUDPHandler
formatter: default
host: ${LOGSTASH_HOST}
port: ${LOGSTASH_GELF_UDP_PORT}
loggers:
# See also: <http://aiohttp.readthedocs.io/en/stable/logging.html>
aiohttp:
propagate: true
aiohttp.*:
propagate: true
aiohttp.access:
handlers:
- aiohttp.access
level: WARNING
propagate: false
aiohttp_extras:
handlers:
- console
level: WARNING
propagate: false
config_loader:
handlers:
- console
level: WARNING
propagate: false
typeahead:
handlers:
- console
- gelf
level: WARNING
propagate: false
typeahead.downstream:
handlers:
- gelf
level: WARNING
propagate: false
root:
handlers:
- console
- gelf
level: WARNING
version: 1