Merge "[DMAAP] DMaaP ServiceMesh compatibility"
[oom.git] / kubernetes / so / components / so-etsi-sol005-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 */}}
16 logging:
17   path: logs
18 spring:
19   datasource:
20     hikari:
21        driver-class-name: org.mariadb.jdbc.Driver
22        jdbcUrl: jdbc:mariadb://${DB_HOST}:${DB_PORT}/requestdb
23        username: ${DB_USERNAME}
24        password: ${DB_PASSWORD}
25        pool-name: reqdb-pool
26        registerMbeans: true
27   security:
28     usercredentials:
29     - username: bpel
30       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
31       role: BPEL-Client
32     - username: mso_admin
33       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
34       role: ACTUATOR
35 server:
36     port: {{ index .Values.containerPort }}
37     tomcat:
38         max-threads: 50
39 mso:
40   site-name: localSite
41   logPath: ./logs/etsi-sol005-adapter
42   config:
43     cadi: {{ include "so.cadi.keys" . | nindent 8}}
44   msb-ip: msb-iag
45   msb-port: 80
46   adapters:
47     requestDb:
48       {{ if (include "common.needTLS" .) }}
49       endpoint: https://so-request-db-adapter.{{ include "common.namespace" . }}:8083
50       {{ else }}
51       endpoint: http://so-request-db-adapter.{{ include "common.namespace" . }}:8083
52       {{ end }}
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   security:
57     enabled: false
58     basic:
59       enabled: false