Merge "[DMAAP] DMaaP ServiceMesh compatibility"
[oom.git] / kubernetes / so / components / so-request-db-adapter / resources / config / overrides / override.yaml
1 {{/*
2 # Copyright © 2018 AT&T USA
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 # will be used as entry in DB to say SITE OFF/ON for healthcheck
16 */}}
17 server:
18     port: {{ index .Values.containerPort }}
19     tomcat:
20         max-threads: 50
21 ssl-enable: false
22 mso:
23   logPath: logs
24   site-name: localSite
25   config:
26     cadi: {{- include "so.cadi.keys" . | nindent 8}}
27   adapters:
28     requestDb:
29       auth: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.global.aaf.auth.header "value2" .Values.mso.adapters.requestDb.auth )}}
30       endpoint: http://so-request-db-adapter.{{ include "common.namespace" . }}:8083
31 spring:
32   datasource:
33     hikari:
34       jdbcUrl: jdbc:mariadb://${DB_HOST}:${DB_PORT}/requestdb
35       username: ${DB_USERNAME}
36       password: ${DB_PASSWORD}
37       driver-class-name: org.mariadb.jdbc.Driver
38       pool-name: reqdb-pool
39       registerMbeans: true
40   security:
41     usercredentials:
42     -
43       username: bpel
44       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
45       role: BPEL-Client
46     -
47       username: mso_admin
48       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
49       role: ACTUATOR
50 #Actuator
51 management:
52   context-path: /manage