Merge "[UUI] Service Mesh Compliance for UUI"
[oom.git] / kubernetes / so / components / so-catalog-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 */}}
16 server:
17     {{- if include "common.onServiceMesh" . }}
18     forward-headers-strategy: none
19     {{- end }}
20     port: {{ index .Values.containerPort }}
21     tomcat:
22         max-threads: 50
23 ssl-enable: false
24 mso:
25   logPath: logs
26   site-name: onapheat
27   config:
28     cadi: {{ include "so.cadi.keys" . | nindent 8}}
29   catalog:
30     db:
31       spring:
32         endpoint: http://so-catalog-db-adapter.{{ include "common.namespace" . }}:8082
33   db:
34     auth:  {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.global.aaf.auth.header "value2" .Values.mso.adapters.db.auth )}}
35 spring:
36   datasource:
37     hikari:
38       jdbcUrl: jdbc:mariadb://${DB_HOST}:${DB_PORT}/catalogdb
39       username: ${DB_USERNAME}
40       password: ${DB_PASSWORD}
41       driver-class-name: org.mariadb.jdbc.Driver
42       pool-name: catdb-pool
43       registerMbeans: true
44   security:
45     usercredentials:
46     -
47       username: bpel
48       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
49       role: BPEL-Client
50     -
51       username: mso_admin
52       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
53       role: ACTUATOR
54 #Actuator
55 management:
56   context-path: /manage
57 cloud_config:
58   identity_services:
59     RAX_KEYSTONE:
60       identity_url: "https://identity.api.rackspacecloud.com/v2.0"
61       mso_id: "RACKSPACE_ACCOUNT_ID"
62       mso_pass: "RACKSPACE_ACCOUNT_APIKEY"
63       admin_tenant: "{{ .Values.config.openStackServiceTenantName }}"
64       member_role: "admin"
65       tenant_metadata: true
66       identity_server_type: "KEYSTONE"
67       identity_authentication_type: "RACKSPACE_APIKEY"
68       project_domain_name: "PROJECT_DOMAIN_NAME"
69       user_domain_name: "USER_DOMAIN_NAME"
70     DEFAULT_KEYSTONE:
71       identity_url: "{{ .Values.config.openStackKeyStoneUrl }}"
72       mso_id: "{{ .Values.config.openStackUserName }}"
73       mso_pass: "{{ .Values.config.openStackEncryptedPasswordHere }}"
74       admin_tenant: "{{ .Values.config.openStackServiceTenantName }}"
75       member_role: "admin"
76       tenant_metadata: true
77       identity_server_type: "{{ .Values.config.openStackKeystoneVersion }}"
78       identity_authentication_type: "USERNAME_PASSWORD"
79       project_domain_name: "{{ .Values.config.openStackProjectDomainName }}"
80       user_domain_name: "{{ .Values.config.openStackUserDomainName }}"
81   cloud_sites:
82     Dallas:
83       region_id: "DFW"
84       clli: "DFW"
85       aic_version: "2.5"
86       identity_service_id: "RAX_KEYSTONE"
87     Northern Virginia:
88       region_id: "IAD"
89       clli: "IAD"
90       aic_version: "2.5"
91       identity_service_id: "RAX_KEYSTONE"
92     Chicago:
93       region_id: "ORD"
94       clli: "ORD"
95       aic_version: "2.5"
96       identity_service_id: "RAX_KEYSTONE"
97     RegionOne:
98       region_id: "RegionOne"
99       clli: "RegionOne"
100       aic_version: "2.5"
101       identity_service_id: "DEFAULT_KEYSTONE"
102     DEFAULT:
103       region_id: "{{ .Values.config.openStackRegion }}"
104       clli: "{{ .Values.config.openStackRegion }}"
105       aic_version: "2.5"
106       identity_service_id: "DEFAULT_KEYSTONE"