2 # Copyright 2017 ZTE Corporation.
\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
8 # http://www.apache.org/licenses/LICENSE-2.0
\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
18 rootPath: '/api/holmes-engine/v1/*'
\r
19 applicationContextPath: /
\r
20 adminContextPath: /admin
\r
29 # The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL.
\r
32 # Logger-specific levels.
\r
35 # Sets the level for 'com.example.app' to DEBUG.
\r
42 logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] - %m%n"
\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
52 driverClass: com.mysql.jdbc.Driver
\r
55 url: jdbc:mysql://10.74.156.206:3306/holmes
\r
58 maxWaitForConnection: 1s
\r
59 validationQuery: "/* MyService Health Check */ SELECT 1"
\r
62 checkConnectionWhileIdle: false
\r
63 evictionInterval: 10s
\r
69 brokerUsername: activemq
\r