Merge "[UUI] Service Mesh Compliance for UUI"
[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     {{- if include "common.onServiceMesh" . }}
19     forward-headers-strategy: none
20     {{- end }}
21     port: {{ index .Values.containerPort }}
22     tomcat:
23         max-threads: 50
24 ssl-enable: false
25 mso:
26   logPath: logs
27   site-name: localSite
28   config:
29     cadi: {{- include "so.cadi.keys" . | nindent 8}}
30   adapters:
31     requestDb:
32       auth: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.global.aaf.auth.header "value2" .Values.mso.adapters.requestDb.auth )}}
33       endpoint: http://so-request-db-adapter.{{ include "common.namespace" . }}:8083
34 spring:
35   datasource:
36     hikari:
37       jdbcUrl: jdbc:mariadb://${DB_HOST}:${DB_PORT}/requestdb
38       username: ${DB_USERNAME}
39       password: ${DB_PASSWORD}
40       driver-class-name: org.mariadb.jdbc.Driver
41       pool-name: reqdb-pool
42       registerMbeans: true
43   security:
44     usercredentials:
45     -
46       username: bpel
47       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
48       role: BPEL-Client
49     -
50       username: mso_admin
51       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
52       role: ACTUATOR
53 #Actuator
54 management:
55   context-path: /manage