83101c159993fe05e7830171c3107b601110ce04
[so.git] / adapters / mso-catalog-db-adapter / src / main / resources / application.yaml
1 # will be used as entry in DB to say SITE OFF/ON for healthcheck
2 # MSO Properties go here
3      
4 server:
5   port: 8080 
6   tomcat:
7       max-threads: 50
8      
9 mso:
10   logPath: ./logs/openstack
11   site-name: localDevEnv
12   async:
13     core-pool-size: 50
14     max-pool-size: 50
15     queue-capacity: 500
16     
17 spring:
18   datasource:
19     jdbc-url: jdbc:mariadb://${DB_HOST}:${DB_PORT}/catalogdb
20     username: ${DB_USERNAME}
21     password: ${DB_PASSWORD}
22     driver-class-name: org.mariadb.jdbc.Driver
23     initialization-mode: never
24   jpa:
25       show-sql: true
26       hibernate:
27         dialect: org.hibernate.dialect.MySQL5Dialect
28         ddl-auto: validate
29         naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
30         enable-lazy-load-no-trans: true
31   jackson:
32     serialization:
33       fail-on-empty-beans: false
34 flyway:
35   baseline-on-migrate: false
36   url: jdbc:mariadb://${DB_HOST}:${DB_PORT}/catalogdb
37   user: ${DB_ADMIN_USERNAME}
38   password: ${DB_ADMIN_PASSWORD}
39   outOfOrder: true
40   validateOnMigrate: false
41
42 #Actuator
43 management:
44   endpoints:
45     web:
46       base-path: /manage
47       exposure:
48         include: "*"
49   metrics:
50     se-global-registry: false
51     export:
52       prometheus:
53         enabled: true # Whether exporting of metrics to Prometheus is enabled.
54         step: 1m # Step size (i.e. reporting frequency) to use.
55