This repository has been archived by the owner on Oct 18, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
locateApiFrontendConfiguration.yml
117 lines (78 loc) · 3.18 KB
/
locateApiFrontendConfiguration.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
###
### Locate API configuration
###
# override in prod!!
username: username
password: password
http:
rootPath: "/*"
port: 9800
adminPort: 9801
requestLog:
# Settings for logging to stdout.
console:
# If true, write log statements to stdout.
enabled: true
# Settings for logging to a file.
file:
# If true, write log statements to a file.
enabled: true
# The file to which statements will be logged.
currentLogFilename: /var/log/ier/locate-api-frontend.log
# Turn off archiving
archive: false
logFormat: '%date{ISO8601} level=[%level] logger=[%logger] thread=[%thread] message=[%message] %replace(exception=[%xException]){''^exception=\[\]$'',''''}%n%nopex'
logging:
loggers:
"uk.gov": INFO
# Settings for logging to stdout.
console:
# If true, write log statements to stdout.
enabled: true
# Do not display log statements below this threshold to stdout.
threshold: INFO
logFormat: '%date{ISO8601} level=[%level] logger=[%logger] thread=[%thread] message=[%message] %replace(exception=[%xException]){''^exception=\[\]$'',''''}%n%nopex'
# Settings for logging to a file.
file:
# If true, write log statements to a file.
enabled: true
# Do not write log statements below this threshold to the file.
threshold: INFO
# The file to which current statements will be logged.
currentLogFilename: /var/log/ier/locate-api-frontend.log
# Turn off archiving
archive: false
logFormat: '%date{ISO8601} level=[%level] logger=[%logger] thread=[%thread] message=[%message] %replace(exception=[%xException]){''^exception=\[\]$'',''''}%n%nopex'
mongoConfiguration:
# CSV string of host names, e.g. "vm-db-1,vm-db-2,vm-db-3"
hosts: localhost
port: 27017
credentialsDatabase: locate-credentials
username:
password:
httpClientConfiguration:
# The socket timeout value. If a read or write to the underlying
# TCP/IP connection hasn't succeeded after this duration, a
# timeout exception is thrown.
timeout: 100ms
# The connection timeout value. If a TCP/IP connection cannot be
# established in this time, a timeout exception is thrown.
connectionTimeout: 100ms
# The time a TCP/IP connection to the server is allowed to
# persist before being explicitly closed.
timeToLive: 1 hour
# If true, cookies will be persisted in memory for the duration
# of the client's lifetime. If false, cookies will be ignored
# entirely.
cookiesEnabled: false
# The maximum number of connections to be held in the client's
# connection pool.
maxConnections: 1024
# The maximum number of connections per "route" to be held in
# the client's connection pool. A route is essentially a
# combination of hostname, port, configured proxies, etc.
maxConnectionsPerRoute: 1024
# The default value for a persistent connection's keep-alive.
# A value of 0 will result in connections being immediately
# closed after a response.
keepAlive: 0s