Merge "[CONSUL] Add limits to consul chart."
[oom.git] / kubernetes / so / components / so-nssmf-adapter / resources / config / overrides / override.yaml
1 # Copyright © 2020 Huawei Technologies Co., Ltd.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 aai:
15   auth: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.global.aaf.auth.header "value2" .Values.aai.auth )}}
16   endpoint: https://aai.{{ include "common.namespace" . }}:8443
17 logging:
18   path: logs
19 spring:
20   datasource:
21     jdbc-url: jdbc:mariadb://${DB_HOST}:${DB_PORT}/requestdb
22     username: ${DB_USERNAME}
23     password: ${DB_PASSWORD}
24     driver-class-name: org.mariadb.jdbc.Driver
25   jpa:
26     show-sql: false
27     hibernate:
28       dialect: org.hibernate.dialect.MySQL5Dialect
29       ddl-auto: validate
30       naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
31       enable-lazy-load-no-trans: true
32   security:
33     usercredentials:
34       - username: ${BPEL_USERNAME}
35         password: ${BPEL_PASSWORD}
36         role: BPEL-Client
37       - username: ${ACTUATOR_USERNAME}
38         password: ${ACTUATOR_PASSWORD}
39         role: ACTUATOR
40 server:
41   port: {{ index .Values.containerPort }}
42   tomcat:
43     max-threads: 50
44
45 mso:
46   site-name: localSite
47   logPath: ./logs/nssmf
48   msb-ip: msb-iag.{{ include "common.namespace" . }}
49   msb-port: 80
50   adapters:
51     requestDb:
52       endpoint: https://so-request-db-adapter.{{ include "common.namespace" . }}:8083
53       auth: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.global.aaf.auth.header "value2" .Values.mso.adapters.requestDb.auth )}}
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.