c5a750a657a1f8d25de115266f6a44688a76c180
[holmes/engine-management.git] / engine-d-standalone / src / main / assembly / conf / engine-d.yml
1 #\r
2 # Copyright 2017 ZTE Corporation.\r
3 #\r
4 # Licensed under the Apache License, Version 2.0 (the "License");\r
5 # you may not use this file except in compliance with the License.\r
6 # You may obtain a copy of the License at\r
7 #\r
8 #     http://www.apache.org/licenses/LICENSE-2.0\r
9 #\r
10 # Unless required by applicable law or agreed to in writing, software\r
11 # distributed under the License is distributed on an "AS IS" BASIS,\r
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
13 # See the License for the specific language governing permissions and\r
14 # limitations under the License.\r
15 #\r
16 server:\r
17   type: simple\r
18   rootPath: '/api/holmes-engine-mgmt/v1/*'\r
19   applicationContextPath: /\r
20   adminContextPath: /admin\r
21   connector:\r
22     type: https\r
23     port: 9102\r
24     keyStorePath: /home/holmes/conf/holmes.keystore\r
25     keyStorePassword: holmes\r
26     validateCerts: false\r
27     validatePeers: false\r
28 \r
29 \r
30 # Logging settings.\r
31 logging:\r
32 \r
33   # The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL.\r
34   level: INFO\r
35 \r
36   # Logger-specific levels.\r
37   loggers:\r
38 \r
39     # Sets the level for 'com.example.app' to DEBUG.\r
40     com.example: DEBUG\r
41 \r
42   appenders:\r
43     - type: console\r
44       threshold: INFO\r
45       timeZone: UTC\r
46       logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] - %m%n"\r
47     - type: file\r
48       threshold: INFO\r
49       logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] - %m%n"\r
50       currentLogFilename: ../logs/holmes-engine-d.log\r
51       archivedLogFilenamePattern: ../logs/zip/holmes-engine-d-%d{yyyy-MM-dd}.log.gz\r
52       archivedFileCount: 7\r
53 \r
54 \r
55 database:\r
56   driverClass: org.postgresql.Driver\r
57   user: holmes\r
58   password: holmespwd\r
59   url: jdbc:postgresql://10.74.156.206:5432/holmes\r
60   properties:\r
61     charSet: UTF-8\r
62   maxWaitForConnection: 1s\r
63   validationQuery: "/* MyService Health Check */ SELECT 1"\r
64   minSize: 8\r
65   maxSize: 100\r
66   checkConnectionWhileIdle: false\r
67   evictionInterval: 10s\r
68   minIdleTime: 1s\r
69 \r
70 mqConfig:\r
71   brokerIp: 10.74.156.206\r
72   brokerPort: 61616\r
73   brokerUsername: activemq\r
74   brokerPassword: v1\r