74e26ba742ab6d55f1ea91008cf1c1bddc866526
[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: ALL\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     org.onap.holmes.engine: ALL\r
41 \r
42   appenders:\r
43     - type: console\r
44       threshold: ALL\r
45       timeZone: UTC\r
46       logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] invocationID:{InvocationID} - %m%n"\r
47     - type: file\r
48       threshold: ERROR\r
49       logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] invocationID:{InvocationID} - %m%n"\r
50       currentLogFilename: /var/log/ONAP/holmes/engine-d-error.log\r
51       archivedLogFilenamePattern: /var/log/ONAP/holmes/zip/engine-d-error-%d{yyyy-MM-dd}.log.gz\r
52       archivedFileCount: 7\r
53     - type: file\r
54       threshold: DEBUG\r
55       logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] invocationID:{InvocationID} - %m%n"\r
56       currentLogFilename: /var/log/ONAP/holmes/engine-d-debug.log\r
57       archivedLogFilenamePattern: /var/log/ONAP/holmes/zip/engine-d-debug-%d{yyyy-MM-dd}.log.gz\r
58       archivedFileCount: 7\r
59 \r
60 \r
61 database:\r
62   driverClass: org.postgresql.Driver\r
63   user: holmes\r
64   password: holmespwd\r
65   url: jdbc:postgresql://10.74.156.206:5432/holmes\r
66   properties:\r
67     charSet: UTF-8\r
68   maxWaitForConnection: 1s\r
69   validationQuery: "/* MyService Health Check */ SELECT 1"\r
70   minSize: 8\r
71   maxSize: 100\r
72   checkConnectionWhileIdle: false\r
73   evictionInterval: 10s\r
74   minIdleTime: 1s\r
75 \r
76 mqConfig:\r
77   brokerIp: 10.74.156.206\r
78   brokerPort: 61616\r
79   brokerUsername: activemq\r
80   brokerPassword: v1\r