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