summaryrefslogtreecommitdiffstats
path: root/adapters/mso-openstack-adapters/src/main/resources/application.yaml
blob: f66d77db48d3c4b81ac4bde49b7c4624f1da4b5e (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
# will be used as entry in DB to say SITE OFF/ON for healthcheck
# MSO Properties go here
     
server:
  port: 8080 
  tomcat:
      max-threads: 50
     
mso:
  logPath: ./logs/openstack
  site-name: localDevEnv
  async:
    core-pool-size: 50
    max-pool-size: 50
    queue-capacity: 500
  workflow:
    topics:
      retryMultiplier: 60000
      retrySequence: 1, 1, 2, 3, 5, 8, 13, 20
spring:
  datasource:
    url: jdbc:mariadb://${DB_HOST}:${DB_PORT}/catalogdb
    username: ${DB_USERNAME}
    password: ${DB_PASSWORD}
    driver-class-name: org.mariadb.jdbc.Driver
    initialization-mode: never
  jpa:
      show-sql: true
      hibernate:
        dialect: org.hibernate.dialect.MySQL5Dialect
        ddl-auto: validate
        naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
        enable-lazy-load-no-trans: true
org:
  onap:
    so:
      adapters:
        default_keystone_url_version: /v2.0
        default_keystone_reg_ex: "/[vV][0-9]"        
        po:
          retryCodes: 504
          retryDelay: 5
          retryCount: 3
          pollTimeout: 7500
          pollInterval: 15
          
#Actuator
management:
  endpoints:
    web:
      base-path: /manage
      exposure:
        include: "*"
  metrics:
    se-global-registry: false
    export:
      prometheus:
        enabled: true # Whether exporting of metrics to Prometheus is enabled.
        step: 1m # Step size (i.e. reporting frequency) to use.