Change the API Path
[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: http\r
23     port: 9102\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: org.postgresql.Driver\r
53   user: holmes\r
54   password: holmespwd\r
55   url: jdbc:postgresql://10.74.156.206:5432/holmes\r
56   properties:\r
57     charSet: UTF-8\r
58   maxWaitForConnection: 1s\r
59   validationQuery: "/* MyService Health Check */ SELECT 1"\r
60   minSize: 8\r
61   maxSize: 100\r
62   checkConnectionWhileIdle: false\r
63   evictionInterval: 10s\r
64   minIdleTime: 1s\r
65 \r
66 mqConfig:\r
67   brokerIp: 10.74.156.206\r
68   brokerPort: 61616\r
69   brokerUsername: activemq\r
70   brokerPassword: v1\r