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