Add holmes-engine-d-standalone module
[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/v1/*'\r
19   applicationContextPath: /\r
20   adminContextPath: /admin\r
21   connector:\r
22     type: http\r
23     port: 12003\r
24 \r
25 \r
26 # Logging settings.\r
27 logging:\r
28 \r
29   # The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL.\r
30   level: INFO\r
31 \r
32   # Logger-specific levels.\r
33   loggers:\r
34 \r
35     # Sets the level for 'com.example.app' to DEBUG.\r
36     com.example: DEBUG\r
37 \r
38   appenders:\r
39     - type: console\r
40       threshold: INFO\r
41       timeZone: UTC\r
42       logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] - %m%n"\r
43     - type: file\r
44       threshold: INFO\r
45       logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] - %m%n"\r
46       currentLogFilename: ../logs/holmes-engine-d.log\r
47       archivedLogFilenamePattern: ../logs/zip/holmes-engine-d-%d{yyyy-MM-dd}.log.gz\r
48       archivedFileCount: 7\r
49 \r
50 \r
51 database:\r
52   driverClass: com.mysql.jdbc.Driver\r
53   user: root\r
54   password: root321\r
55 #  url: jdbc:mysql://${db_ip}:${db_port}/mysql?useUnicode=relationtesttrue&characterEncoding=UTF8\r
56   url: jdbc:mysql://10.74.156.206:3306/mysql?useUnicode=true&characterEncoding=UTF8\r
57   properties:\r
58     charSet: UTF-8\r
59   maxWaitForConnection: 1s\r
60   validationQuery: "/* MyService Health Check */ SELECT 1"\r
61   minSize: 8\r
62   maxSize: 100\r
63   checkConnectionWhileIdle: false\r
64   evictionInterval: 10s\r
65   minIdleTime: 1s\r
66 \r
67 mqConfig:\r
68   brokerIp: 127.0.0.1\r
69   brokerPort: 61616\r
70   mqServiceName: activemq\r
71   mqServiceVersion: v1\r
72 \r