summaryrefslogtreecommitdiffstats
path: root/dcae-analytics/dcae-analytics-test/src/main/resources/config/application.yaml
blob: 9fb2192e03531e5a897ccefd537c6bfef3df5c18 (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
56
57
58
59
60
61
62
63
64
# SPRING SETTINGS
spring:
  application:
    name: "dcae-analytics-tca"
  main:
    banner-mode: "off"
  profiles:
    active: dev
  servlet:
    multipart:
      # Enable multi part file uploads / download
      enabled: true
      # Threshold after which files are written to disk.
      file-size-threshold: 100KB
      # Max file size
      max-file-size: 512MB
      # Max Request size
      max-request-size: 600MB
  data:
    redis:
      repositories:
        enabled: false
    mongodb:
      repositories:
        type: none
  output:
    ansi:
      enabled: always

# ENDPOINTS
management:
  endpoint:
    health:
      show-details: always
    shutdown:
      enabled: true
  endpoints:
    web:
      exposure:
        include: '*'
  info:
    git:
      mode: full
  health:
    redis:
      enabled: false

# SERVER
server:
  port: 9091
  compression:
    # Enable gzip compression of response
    enabled: true
    mime-types: application/json,text/plain
    min-response-size: 4096
  http2:
    enabled: true

# LOGGING LEVEL
logging:
  file: logs/dcae-anlaytics-tca.log
  level:
    org:
      onap: DEBUG