updated base yamls to properly connect to DB
[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     url: jdbc:mariadb://${DB_HOST}:${DB_PORT}/catalogdb
33     username: ${DB_USERNAME}
34     password: ${DB_PASSWORD}
35     driver-class-name: org.mariadb.jdbc.Driver
36
37   jpa:
38       show-sql: true
39       hibernate:
40         dialect: org.hibernate.dialect.MySQL5Dialect
41         ddl-auto: validate
42         naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
43         enable-lazy-load-no-trans: true
44   jersey:
45     type: filter
46                        
47 request:
48   datasource:
49     url: jdbc:mariadb://${DB_HOST}:${DB_PORT}/requestdb
50     username: ${DB_USERNAME}
51     password: ${DB_PASSWORD}
52     driver-class-name: org.mariadb.jdbc.Driver
53
54 #Actuator
55 management:
56   endpoints:
57     web:
58       base-path: /manage
59       exposure:
60         include: "*"
61   metrics:
62     se-global-registry: false
63     export:
64       prometheus:
65         enabled: true # Whether exporting of metrics to Prometheus is enabled.
66         step: 1m # Step size (i.e. reporting frequency) to use.
67  
68
69 org:
70   onap:
71     so:
72       adapters:
73         network:
74           encryptionKey: aa3871669d893c7fb8abbcda31b88b4f