Upload the ESR server seed code.
[aai/esr-server.git] / esr-core / distribution / standalone / src / main / assembly / conf / extsys.yml
1 #
2 # Copyright 2016 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 #database
24 database:
25
26   # the name of your JDBC driver
27   driverClass: com.mysql.jdbc.Driver
28
29   # the username
30   user: extsys
31
32   # the password
33   password: extsys
34
35   # the JDBC URL
36   url: jdbc:mysql://127.0.0.1:3306/extsys
37
38 # use the simple server factory if you only want to run on a single port
39 #server:
40 #  type: simple
41 #  connector:
42 #    type: http
43 #    port: 8080
44 server:
45   type: simple
46   rootPath: '/openoapi/extsys/v1/*'
47   applicationContextPath: /
48   adminContextPath: /admin
49   connector:
50     type: http
51     port: 8100
52
53 # Logging settings.
54 logging:
55
56   # The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL.
57   level: ALL
58
59   # Logger-specific levels.
60   loggers:
61
62     # Sets the level for 'com.example.app' to DEBUG.
63     org.openo.commonservice.extsys.ExtsysApp: INFO
64
65   appenders:
66     - type: console
67       threshold: INFO
68       timeZone: UTC
69       logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] - %m%n"
70     - type: file
71       threshold: INFO
72       logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] - %m%n"
73       currentLogFilename: ./works/logs/extsys.log
74       archivedLogFilenamePattern: ./works/logs/zip/extsys-%d{yyyy-MM-dd}.log.gz
75       archivedFileCount: 7
76       timeZone: UTC
77