Simplify esr-server project level.
[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: 
22 msbIp: 127.0.0.1
23 msbPort: 10081
24 msbServerAddr: http://127.0.0.1:80
25
26 # use the simple server factory if you only want to run on a single port
27 #server:
28 #  type: simple
29 #  connector:
30 #    type: http
31 #    port: 8080
32 server:
33   type: simple
34   rootPath: '/api/aai-esr-server/v1/*'
35   applicationContextPath: /
36   adminContextPath: /admin
37   connector:
38     type: http
39     port: 8100
40
41 # Logging settings.
42 logging:
43
44   # The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL.
45   level: ALL
46
47   # Logger-specific levels.
48   loggers:
49
50     # Sets the level for 'com.example.app' to DEBUG.
51     org.onap.aai.esr.ExtsysApp: INFO
52
53   appenders:
54     - type: console
55       threshold: INFO
56       timeZone: UTC
57       logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] - %m%n"
58     - type: file
59       threshold: INFO
60       logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] - %m%n"
61       currentLogFilename: ./works/logs/extsys.log
62       archivedLogFilenamePattern: ./works/logs/zip/extsys-%d{yyyy-MM-dd}.log.gz
63       archivedFileCount: 7
64       timeZone: UTC
65