e7097582232be97139835fc704be5ceb9c7202a1
[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     auditInventory: true
11     default:
12       versions:
13         apiMinorVersion: 0
14         apiPatchVersion: 0
15     service:
16       macro:
17         default:
18           testApi: GR_API
19   avpn:
20     bpel:
21       uri: /mso/async/services/AVPNWorkflowActionBB
22       timeout: 180
23   camunda:
24     rest:
25       task:
26         uri: /sobpmnengine/task
27       history:
28         uri: /sobpmnengine/history/process-instance?variables=mso-request-id_eq_
29                 
30 spring:
31   datasource:
32     jdbcUrl: jdbc:mariadb://${DB_HOST}:${DB_PORT}/catalogdb
33     username: ${DB_USERNAME}
34     password: ${DB_PASSWORD}
35     driver-class-name: org.mariadb.jdbc.Driver
36   jpa:
37       show-sql: true
38       hibernate:
39         dialect: org.hibernate.dialect.MySQL5Dialect
40         ddl-auto: validate
41         naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
42         enable-lazy-load-no-trans: true
43   jersey:
44     type: filter
45                        
46 request:
47   datasource:
48     jdbcUrl: jdbc:mariadb://${DB_HOST}:${DB_PORT}/requestdb
49     username: ${DB_USERNAME}
50     password: ${DB_PASSWORD}
51     driver-class-name: org.mariadb.jdbc.Driver
52
53 #Actuator
54 management:
55   endpoints:
56     web:
57       base-path: /manage
58       exposure:
59         include: "*"
60   metrics:
61     se-global-registry: false
62     export:
63       prometheus:
64         enabled: true # Whether exporting of metrics to Prometheus is enabled.
65         step: 1m # Step size (i.e. reporting frequency) to use.
66  
67
68 org:
69   onap:
70     so:
71       adapters:
72         network:
73           encryptionKey: aa3871669d893c7fb8abbcda31b88b4f