Get msbServerAddr from config file.
[sdc/sdc-workflow-designer.git] / distribution / src / main / assembly / conf / workflow-designer.yml
1 #
2 # Copyright (c) 2017 ZTE Corporation.
3 # All rights reserved. This program and the accompanying materials
4 # are made available under the Apache License, Version 2.0
5 # and the Eclipse Public License v1.0 which both accompany this distribution,
6 # and are available at http://www.eclipse.org/legal/epl-v10.html
7 # and http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Contributors:
10 #     ZTE - initial API and implementation and/or initial documentation
11 #
12
13 template: Hello, %s!
14
15 defaultName: ${DW_DEFAULT_NAME:-Stranger}
16
17 msbServerAddr: http://127.0.0.1:80
18
19 # use the simple server factory if you only want to run on a single port
20 server:
21   type: simple
22   rootPath: '/api/workflow-modeler/v1/*'
23   applicationContextPath: /
24   adminContextPath: /admin
25   connector:
26     type: http
27     port: 8080
28
29 # Logging settings.
30 logging:
31
32   # The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL.
33   level: ALL
34
35   # Logger-specific levels.
36   loggers:
37
38     # Sets the level for 'com.example.app' to DEBUG.
39     org.onap.sdc.workflowdesigner.WorkflowDesignerApp: INFO
40
41   appenders:
42     - type: console
43       threshold: INFO
44       timeZone: UTC
45       logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] - %m%n"
46     - type: file
47       threshold: INFO
48       logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] - %m%n"
49       currentLogFilename: ./works/logs/wfd.log
50       archivedLogFilenamePattern: ./works/logs/zip/wfd-%d{yyyy-MM-dd}.log.gz
51       archivedFileCount: 7
52       timeZone: UTC