75db547f3857d47b82dc328dd731261c9dbd6d14
[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: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.global.aaf.auth.header "value2" .Values.aai.auth )}}
18   endpoint: https://aai.{{ include "common.namespace" . }}:8443
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   port: {{ index .Values.containerPort }}
44   tomcat:
45     max-threads: 50
46
47 mso:
48   site-name: localSite
49   logPath: ./logs/nssmf-adapter
50   msb-ip: msb-iag.{{ include "common.namespace" . }}
51   msb-port: 80
52   adapters:
53     requestDb:
54       endpoint: https://so-request-db-adapter.{{ include "common.namespace" . }}:8083
55       auth: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.global.aaf.auth.header "value2" .Values.mso.adapters.requestDb.auth )}}
56 #Actuator
57 management:
58   endpoints:
59     web:
60       base-path: /manage
61       exposure:
62         include: "*"
63   metrics:
64     se-global-registry: false
65     export:
66       prometheus:
67         enabled: true # Whether exporting of metrics to Prometheus is enabled.
68         step: 1m # Step size (i.e. reporting frequency) to use.