blob: 43a83d09b0090e270bd244fb3c2c1edb4f10bd94 [file] [log] [blame]
GuangrongFucc1316b2021-02-03 17:29:08 +08001apidescription: ZTE Holmes rule Management rest API
2
3# use the simple server factory if you only want to run on a single port
4#server:
5# type: simple
6# connector:
7# type: http
8# port: 12003
9
10server:
11 type: simple
12 rootPath: '/api/holmes-rule-mgmt/v1/*'
13 applicationContextPath: /
14 adminContextPath: /admin
15 connector:
16 type: https
17 port: 9101
18 keyStorePath: /opt/onap/conf/holmes.keystore
19 keyStorePassword: holmes
20 validateCerts: false
21 validatePeers: false
22
23# Logging settings.
24logging:
25
26 # The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL.
27 level: ALL
28
29 # Logger-specific levels.
30 loggers:
31
32 # Sets the level for 'com.example.app' to DEBUG.
33 org.onap.holmes.rulemgt: ALL
34
35 appenders:
36 - type: console
37 threshold: ALL
38 timeZone: UTC
39 logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] invocationID:{InvocationID} - %m%n"
40 - type: file
41 threshold: ERROR
42 #logFormat: "%nopexception%logger\n|%date{yyyy-MM-dd'T'HH:mm:ss.SSSXXX,UTC}\n|%level\n|%message\n|%X{InvocationID}\n|%rootException\n|%marker\n|%thread\n|%n \r\n"
43 logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] invocationID:{InvocationID} - %m%n"
44 currentLogFilename: /var/log/ONAP/holmes/rulemgt-relation-error.log
45 archivedLogFilenamePattern: /var/log/ONAP/holmes/zip/rulemgt-relation-error-%d{yyyy-MM-dd}.log.gz
46 archivedFileCount: 7
47 - type: file
48 threshold: DEBUG
49 logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] invocationID:{InvocationID} - %m%n"
50 currentLogFilename: /var/log/ONAP/holmes/rulemgt-relation-debug.log
51 archivedLogFilenamePattern: /var/log/ONAP/holmes/zip/rulemgt-relation-debug-%d{yyyy-MM-dd}.log.gz
52 archivedFileCount: 7
53
54#database
55database:
56 driverClass: org.postgresql.Driver
57 user: ${JDBC_USERNAME}
58 password: ${JDBC_PASSWORD}
59 url: jdbc:postgresql://${URL_JDBC}:${DB_PORT}/${DB_NAME}
60 properties:
61 charSet: UTF-8
62 maxWaitForConnection: 1s
63 validationQuery: "/* MyService Health Check */ SELECT 1"
64 minSize: 8
65 maxSize: 100
66 checkConnectionWhileIdle: false
67 evictionInterval: 10s
68 minIdleTime: 1s