aboutsummaryrefslogtreecommitdiffstats
path: root/tools/config_local.json
blob: 3abe459b0d0bf21bf2ddd21d1a864cb50c84ed94 (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
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
{
  "database": {
    "driverClass": "org.postgresql.Driver",
    "user": "dcae_inv",
    "password": "onapdemodb",
    "url": "jdbc:postgresql://10.183.35.177:32185/dcae_inventory",
    "properties": {
      "charSet": "UTF-8"
    },
    "maxWaitForConnection": "1s",
    "validationQuery": "/* MyService Health Check */ SELECT 1",
    "minSize": 10,
    "maxSize": 20,
    "initialSize": 10,
    "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": "http",
        "port": 9080
      }
    ],
    "adminConnectors": [
      {
        "type": "http",
        "port": 9081
      }
    ],
    "requestLog": {
      "appenders": [
        {
          "type": "file",
          "currentLogFilename": "logs/request.log",
          "threshold": "ALL",
          "archive": true,
          "archivedLogFilenamePattern": "logs/request.%i.log.gz",
          "archivedFileCount": 2,
          "maxFileSize": "10MB"
        }
      ]
    }
  },
  "logging": {
    "level": "INFO",
    "appenders": [
      {
        "type": "file",
        "archive": true,
        "timeZone": "UTC",
        "currentLogFilename": "logs/audit.log",
        "archivedLogFilenamePattern": "logs/audit-%i.log.gz",
        "archivedFileCount": 2,
        "maxFileSize": "100MB",
        "logFormat": "%d{yyyy-MM-dd'T'HH:mm:ss.SSS+00:00}|%d{yyyy-MM-dd'T'HH:mm:ss.SSS+00:00}|NULL|UNKNOWN|%thread||inventory||COMPLETE|0|OK||INFO|||||||||||||%-5level:%c: %m%n"
      }
    ]
  }
}