Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / so / components / so-nssmf-adapter / resources / config / overrides / override.yaml
1 {{/*
2 # Copyright © 2020 Huawei Technologies Co., Ltd.
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 */}}
16 aai:
17   auth: {{ .Values.aai.auth }}
18   endpoint: http://aai.{{ include "common.namespace" . }}:80
19 logging:
20   path: logs
21 spring:
22   datasource:
23     jdbc-url: jdbc:mariadb://${DB_HOST}:${DB_PORT}/requestdb
24     username: ${DB_USERNAME}
25     password: ${DB_PASSWORD}
26     driver-class-name: org.mariadb.jdbc.Driver
27   jpa:
28     show-sql: false
29     hibernate:
30       dialect: org.hibernate.dialect.MySQL5Dialect
31       ddl-auto: validate
32       naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
33       enable-lazy-load-no-trans: true
34   security:
35     usercredentials:
36       - username: ${BPEL_USERNAME}
37         password: ${BPEL_PASSWORD}
38         role: BPEL-Client
39       - username: ${ACTUATOR_USERNAME}
40         password: ${ACTUATOR_PASSWORD}
41         role: ACTUATOR
42 server:
43   {{- if include "common.onServiceMesh" . }}
44   forward-headers-strategy: none
45   {{- end }}
46   port: {{ index .Values.containerPort }}
47   tomcat:
48     max-threads: 50
49
50 mso:
51   site-name: localSite
52   logPath: ./logs/nssmf-adapter
53   msb-ip: msb-iag.{{ include "common.namespace" . }}
54   msb-port: 80
55   adapters:
56     requestDb:
57       endpoint: http://so-request-db-adapter.{{ include "common.namespace" . }}:8083
58       auth: {{ .Values.mso.adapters.requestDb.auth }}
59 #Actuator
60 management:
61   endpoints:
62     web:
63       base-path: /manage
64       exposure:
65         include: "*"
66   metrics:
67     se-global-registry: false
68     export:
69       prometheus:
70         enabled: true # Whether exporting of metrics to Prometheus is enabled.
71         step: 1m # Step size (i.e. reporting frequency) to use.