[CASSANDRA] Change values to makre Cassandra instances more stable
[oom.git] / kubernetes / dcaegen2 / components / dcae-inventory-api / resources / config / config.json
1 {
2     "database": {
3       "driverClass": "org.postgresql.Driver",
4       "user": "${PG_USER}",
5       "password": "${PG_PASSWORD}",
6       "url": "jdbc:postgresql://{{ .Values.postgres.service.name2 }}:5432/{{ .Values.postgres.config.pgDatabase }}",
7       "properties": {
8         "charSet": "UTF-8"
9       },
10       "maxWaitForConnection": "1s",
11       "validationQuery": "/* MyService Health Check */ SELECT 1",
12       "minSize": 2,
13       "maxSize": 8,
14       "initialSize": 2,
15       "checkConnectionWhileIdle": false,
16       "evictionInterval": "10s",
17       "minIdleTime": "1 minute"
18     },
19     "databusControllerConnection": {
20       "host": "databus-controller-hostname",
21       "port": 8443,
22       "mechId": null,
23       "password": null,
24       "required": false
25     },
26     "httpClient": {
27       "minThreads": 1,
28       "maxThreads": 128,
29       "gzipEnabled": false,
30       "gzipEnabledForRequests": false,
31       "timeout": "5000milliseconds",
32       "connectionTimeout": "5000milliseconds"
33     },
34     "server": {
35         "applicationConnectors": [{
36           "type": "https",
37           "port": 8080,
38           "keyStorePath": "/opt/cert/cert.jks",
39           "keyStorePassword": "/opt/cert/jks.pass",
40           "keyStoreType": "JKS"
41         }]
42     }
43   }