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