add test case
[vfc/nfvo/driver/ems.git] / ems / boco / conf / emsdriver.yml
1
2 # Copyright 2017 CMCC Technologies Co., Ltd
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #     http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 #
16
17
18 defaultName: EmsDriver-Stranger
19
20 #microservice Bus address
21 msbAddress: 10.74.205.123:80
22
23 server:
24   type: simple
25   rootPath: '/api/emsdriver/v1/*'
26   applicationContextPath: /
27   adminContextPath: /admin
28   connector:
29     type: http
30     port: 8206
31
32 # Logging settings.
33 logging:
34
35   # The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL.
36   level: INFO
37
38   # Logger-specific levels.
39   loggers:
40
41     # Sets the level for 'org.openo.nfvo.monitor.dac' to INFO.
42     org.onap.vfc.nfvo.emsdriver.northbound.service.EmsDriverApplication: INFO
43
44   appenders:
45     - type: console
46       threshold: WARN
47       timeZone: PRC
48       logFormat: "%-4level [%d{yyyy-MM-dd HH:mm:ss.SSS}] [%thread] %logger{5} - %X{code} %msg %n"
49     - type: file
50       threshold: INFO
51       logFormat: "%-4level [%d{yyyy-MM-dd HH:mm:ss.SSS}] [%thread] %logger{5} - %X{code} %msg %n"
52       currentLogFilename: ./logs/dac.log
53       archivedLogFilenamePattern: ./logs/dac-%d{yyyyMMdd}-%d{HHmm}-%d{ssSSS}.log.gz
54       archivedFileCount: 7
55       timeZone: PRC
56
57
58