52bf3ffb870e2f055d4460c8e35cea45cda65f07
[so.git] / mso-api-handlers / mso-api-handler-infra / src / main / resources / application.yaml
1 # will be used as entry in DB to say SITE OFF/ON for healthcheck
2
3 server:
4   port: 8443  
5   tomcat:
6       max-threads: 50
7
8 mso:
9   infra:
10     default:
11       versions:
12         apiMinorVersion: 0
13         apiPatchVersion: 0
14     service:
15       macro:
16         default:
17           testApi: GR_API
18   avpn:
19     bpel:
20       uri: /mso/async/services/AVPNWorkflowActionBB
21       timeout: 180
22   camunda:
23     rest:
24       task:
25         uri: /sobpmnengine/task
26     
27                 
28 spring:
29   datasource:
30     url: jdbc:mariadb://${DB_HOST}:${DB_PORT}/catalogdb
31     username: ${DB_USERNAME}
32     password: ${DB_PASSWORD}
33     driver-class-name: org.mariadb.jdbc.Driver
34     dbcp2: 
35       initial-size: 5
36       max-total: 20 
37       validation-query: select 1
38       test-on-borrow: true 
39
40   jpa:
41       show-sql: true
42       hibernate:
43         dialect: org.hibernate.dialect.MySQL5Dialect
44         ddl-auto: validate
45         naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
46         enable-lazy-load-no-trans: true
47   jersey:
48     type: filter
49                        
50 request:
51   datasource:
52     url: jdbc:mariadb://${DB_HOST}:${DB_PORT}/requestdb
53     username: ${DB_USERNAME}
54     password: ${DB_PASSWORD}
55     driver-class-name: org.mariadb.jdbc.Driver  
56     dbcp2: 
57       initial-size: 5
58       max-total: 20 
59       validation-query: select 1
60       test-on-borrow: true
61
62 #Actuator
63 management: 
64   context-path: /manage
65   metrics:
66     se-global-registry: false
67     export:
68       prometheus:
69         enabled: true # Whether exporting of metrics to Prometheus is enabled.
70         step: 1m # Step size (i.e. reporting frequency) to use.