summaryrefslogtreecommitdiffstats
path: root/distribution/src/main/assembly/conf/workflow-designer.yml
blob: 56d93f30545ec4f15fc21a968d4baf10a5bd76c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#
# 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}

sdcServiceProxy:
  serviceAddr: http://127.0.0.1:8080
  xEcompInstanceId: workflow
  authorization: Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=

# 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