2 # Copyright 2016-2017 ZTE, Inc. and others.
\r
4 # Licensed under the Apache License, Version 2.0 (the "License");
\r
5 # you may not use this file except in compliance with the License.
\r
6 # You may obtain a copy of the License at
\r
8 # http://www.apache.org/licenses/LICENSE-2.0
\r
10 # Unless required by applicable law or agreed to in writing, software
\r
11 # distributed under the License is distributed on an "AS IS" BASIS,
\r
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
13 # See the License for the specific language governing permissions and
\r
14 # limitations under the License.
\r
17 defaultWorkspace: ../discovery-works
\r
19 defaultName: ${DW_DEFAULT_NAME:-Stranger}
\r
21 # the consul address
\r
22 consulAdderss: 127.0.0.1:8500
\r
24 # the consul way:catalog|agent
\r
25 consulRegisterMode: agent
\r
27 # use the simple server factory if you only want to run on a single port
\r
30 rootPath: '/api/microservices/v1/*'
\r
31 applicationContextPath: /
\r
32 adminContextPath: /admin
\r
40 # The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL.
\r
43 # Logger-specific levels.
\r
46 # Sets the level for 'com.example.app' to DEBUG.
\r
53 logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] - %m%n"
\r
56 logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] - %m%n"
\r
57 currentLogFilename: ../discover-works/logs/msb-discover.log
\r
58 archivedLogFilenamePattern: ../discover-works/logs/zip/msb-discover-%d{yyyy-MM-dd}.log.gz
\r
59 archivedFileCount: 7
\r