From 16f5266f30e256194fe54b9d242a191c0af1bd83 Mon Sep 17 00:00:00 2001 From: Zhaoxing Date: Fri, 22 Sep 2017 10:27:24 +0800 Subject: Add config file for workflow management service Change-Id: I2a40eb4f5ce3a7430a63c3f4d1803d7f2acaa4be Issue-Id: VFC-149 Signed-off-by: Zhaoxing --- .../main/docker/bin/conf/auth-config.properties | 3 ++ .../src/main/docker/bin/conf/workflow.yml | 49 ++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 wfenginemgrservice/src/main/docker/bin/conf/auth-config.properties create mode 100644 wfenginemgrservice/src/main/docker/bin/conf/workflow.yml (limited to 'wfenginemgrservice/src/main/docker/bin/conf') diff --git a/wfenginemgrservice/src/main/docker/bin/conf/auth-config.properties b/wfenginemgrservice/src/main/docker/bin/conf/auth-config.properties new file mode 100644 index 0000000..963ff50 --- /dev/null +++ b/wfenginemgrservice/src/main/docker/bin/conf/auth-config.properties @@ -0,0 +1,3 @@ +filterFree=oauth2,.html,.css,.js,.png,.properties,.gif,.jpg,.ttf,.woff,.ico,password,activealarms/export,timingreport/download +#according to witch way to regist operation code: rest or mq , case insensitive +operation_model_load_channel=rest \ No newline at end of file diff --git a/wfenginemgrservice/src/main/docker/bin/conf/workflow.yml b/wfenginemgrservice/src/main/docker/bin/conf/workflow.yml new file mode 100644 index 0000000..ce257b6 --- /dev/null +++ b/wfenginemgrservice/src/main/docker/bin/conf/workflow.yml @@ -0,0 +1,49 @@ +apidescription: ACTIVITI EXT rest API + +# use the simple server factory if you only want to run on a single port +#server: +# type: simple +# connector: +# type: http +# port: 12003 +server: + type: simple + rootPath: '/api/workflow/v1/*' + applicationContextPath: / + adminContextPath: /admin + connector: + type: http + port: 8804 + +# Logging settings. +logging: + + # The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL. + level: INFO + + # Logger-specific levels. + loggers: + + # Sets the level for 'com.example.app' to DEBUG. + org.onap.workflow.WorkflowApp: DEBUG + + appenders: + # - type: console + # threshold: INFO + # timeZone: UTC + # logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] - %m%n" + - 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/workflow.log + archivedLogFilenamePattern: ./works/logs/zip/workflow-%d{yyyy-MM-dd}.log.gz + archivedFileCount: 7 + timeZone: UTC + +msbClientConfig: + msbSvrIp: 127.0.0.1 + msbSvrPort: 80 \ No newline at end of file -- cgit 1.2.3-korg