Read subnetCapabilities configuration file from SO pod
[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: false
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
29       activity:
30         uri: /sobpmnengine/history/activity-instance
31   camundaURL: http://localhost:8089
32   camundaAuth: E8E19DD16CC90D2E458E8FF9A884CC0452F8F3EB8E321F96038DE38D5C1B0B02DFAE00B88E2CF6E2A4101AB2C011FC161212EE
33   camundaCleanupInterval: 30
34                 
35 spring:
36   datasource:
37     hikari:
38       jdbcUrl: jdbc:mariadb://${DB_HOST}:${DB_PORT}/catalogdb
39       username: ${DB_USERNAME}
40       password: ${DB_PASSWORD}
41       driver-class-name: org.mariadb.jdbc.Driver
42       pool-name: catdb-pool
43       registerMbeans: true
44   jpa:
45       show-sql: true
46       hibernate:
47         dialect: org.hibernate.dialect.MySQL5Dialect
48         ddl-auto: validate
49         naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
50         enable-lazy-load-no-trans: true
51   jersey:
52     type: filter
53   main:
54     allow-bean-definition-overriding: true
55                        
56 request:
57   datasource:
58     hikari:
59       jdbcUrl: jdbc:mariadb://${DB_HOST}:${DB_PORT}/requestdb
60       username: ${DB_USERNAME}
61       password: ${DB_PASSWORD}
62       driver-class-name: org.mariadb.jdbc.Driver
63       pool-name: reqdb-pool
64       registerMbeans: true
65 #Actuator
66 management:
67   endpoints:
68     web:
69       base-path: /manage
70       exposure:
71         include: "*"
72   metrics:
73     se-global-registry: false
74     export:
75       prometheus:
76         enabled: true # Whether exporting of metrics to Prometheus is enabled.
77         step: 1m # Step size (i.e. reporting frequency) to use.
78  
79
80 org:
81   onap:
82     so:
83       adapters:
84         network:
85           encryptionKey: aa3871669d893c7fb8abbcda31b88b4f
86
87 subnetCapability:
88   config:
89       file: /app/subnetCapability.json