af283028218b7662a761db75f1d909c18acd2c16
[aai/esr-server.git] / standalone / src / main / assembly / conf / extsys.yml
1 #
2 # Copyright 2016-2017 ZTE Corporation.
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 template: Hello, %s!
18
19 #defaultName: ${DW_DEFAULT_NAME:-Stranger}
20 # the micro service ip
21 serviceIp: 127.0.0.1
22 msbDiscoveryIp: 10.74.148.80
23 msbDiscoveryPort: 10081
24 msbServerAddr: http://10.74.148.80:80
25 registByHand: true
26
27 # use the simple server factory if you only want to run on a single port
28 #server:
29 #  type: simple
30 #  connector:
31 #    type: http
32 #    port: 8080
33 server:
34   type: simple
35   rootPath: '/api/aai-esr-server/v1/*'
36   applicationContextPath: /
37   adminContextPath: /admin
38   connector:
39     type: http
40     port: 9518
41
42 # Logging settings.
43 logging:
44
45   # The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL.
46   level: ALL
47
48   # Logger-specific levels.
49   loggers:
50
51     # Sets the level for 'com.example.app' to DEBUG.
52     org.onap.aai.esr.ExtsysApp: INFO
53
54   appenders:
55     - type: console
56       threshold: INFO
57       timeZone: UTC
58       logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] - %m%n"
59     - type: file
60       threshold: INFO
61       logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] - %m%n"
62       currentLogFilename: ./works/logs/extsys.log
63       archivedLogFilenamePattern: ./works/logs/zip/extsys-%d{yyyy-MM-dd}.log.gz
64       archivedFileCount: 7
65       timeZone: UTC
66