summaryrefslogtreecommitdiffstats
path: root/distribution/src/main/assembly/conf
diff options
context:
space:
mode:
authorYuanHu <yuan.hu1@zte.com.cn>2018-02-13 11:22:10 +0800
committerYuanHu <yuan.hu1@zte.com.cn>2018-02-13 11:22:10 +0800
commit23ade91cd5c18af93a6fc529f003b124fb6d0a6a (patch)
treebdf78dee9e7333f6c5cdf8e9c53837947349acd2 /distribution/src/main/assembly/conf
parenteda616413ac42769d8fb11c990b61c74740b6818 (diff)
Setup and Publish Backend Service.
Setup backend service with dropwizard application framework. Integrate backend with frontend to one micro-service. Issue-ID: SDC-408 Change-Id: Ia6949302ee7c7ad6a4ce31e263f6a38183adfee3 Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
Diffstat (limited to 'distribution/src/main/assembly/conf')
-rw-r--r--distribution/src/main/assembly/conf/workflow-designer.yml50
1 files changed, 50 insertions, 0 deletions
diff --git a/distribution/src/main/assembly/conf/workflow-designer.yml b/distribution/src/main/assembly/conf/workflow-designer.yml
new file mode 100644
index 00000000..86f96870
--- /dev/null
+++ b/distribution/src/main/assembly/conf/workflow-designer.yml
@@ -0,0 +1,50 @@
+#
+# Copyright (c) 2017 ZTE Corporation.
+# All rights reserved. This program and the accompanying materials
+# are made available under the Apache License, Version 2.0
+# and the Eclipse Public License v1.0 which both accompany this distribution,
+# and are available at http://www.eclipse.org/legal/epl-v10.html
+# and http://www.apache.org/licenses/LICENSE-2.0
+#
+# Contributors:
+# ZTE - initial API and implementation and/or initial documentation
+#
+
+template: Hello, %s!
+
+defaultName: ${DW_DEFAULT_NAME:-Stranger}
+
+# use the simple server factory if you only want to run on a single port
+server:
+ type: simple
+ rootPath: '/api/workflow-modeler/v1/*'
+ applicationContextPath: /
+ adminContextPath: /admin
+ connector:
+ type: http
+ port: 8080
+
+# Logging settings.
+logging:
+
+ # The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL.
+ level: ALL
+
+ # Logger-specific levels.
+ loggers:
+
+ # Sets the level for 'com.example.app' to DEBUG.
+ org.onap.sdc.workflowdesigner.WorkflowDesignerApp: INFO
+
+ appenders:
+ - type: console
+ threshold: INFO
+ timeZone: UTC
+ logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] - %m%n"
+ - type: file
+ threshold: INFO
+ logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] - %m%n"
+ currentLogFilename: ./works/logs/wfd.log
+ archivedLogFilenamePattern: ./works/logs/zip/wfd-%d{yyyy-MM-dd}.log.gz
+ archivedFileCount: 7
+ timeZone: UTC