summaryrefslogtreecommitdiffstats
path: root/kubernetes/dcaegen2/components/dcae-inventory-api/resources/config/config.json
blob: 4be8c195d2763d5b15dcca31a435eaacb8fe9568 (plain)
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
{
    "database": {
      "driverClass": "org.postgresql.Driver",
      "user": "${PG_USER}",
      "password": "${PG_PASSWORD}",
      "url": "jdbc:postgresql://{{ .Values.postgres.service.name2 }}:5432/{{ .Values.postgres.config.pgDatabase }}",
      "properties": {
        "charSet": "UTF-8"
      },
      "maxWaitForConnection": "1s",
      "validationQuery": "/* MyService Health Check */ SELECT 1",
      "minSize": 2,
      "maxSize": 8,
      "initialSize": 2,
      "checkConnectionWhileIdle": false,
      "evictionInterval": "10s",
      "minIdleTime": "1 minute"
    },
    "databusControllerConnection": {
      "host": "databus-controller-hostname",
      "port": 8443,
      "mechId": null,
      "password": null,
      "required": false
    },
    "httpClient": {
      "minThreads": 1,
      "maxThreads": 128,
      "gzipEnabled": false,
      "gzipEnabledForRequests": false,
      "timeout": "5000milliseconds",
      "connectionTimeout": "5000milliseconds"
    },
    "server": {
        "applicationConnectors": [{
          "type": "https",
          "port": 8080,
          "keyStorePath": "/opt/cert/cert.jks",
          "keyStorePassword": "/opt/cert/jks.pass",
          "keyStoreType": "JKS"
        }]
    }
  }