Adding Required Attributes to Catalog DB override
[oom.git] / kubernetes / so / charts / so-catalog-db-adapter / resources / config / overrides / override.yaml
1 # Copyright © 2018 AT&T USA
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 server:
15     port: {{ index .Values.containerPort }}
16     tomcat:
17         max-threads: 50
18 ssl-enable: false
19 mso:
20   logPath: logs
21   site-name: onapheat
22   catalog:
23     db:
24       spring:
25         endpoint: http://so-catalog-db-adapter.{{ include "common.namespace" . }}:8082
26   db:
27     auth: Basic YnBlbDpwYXNzd29yZDEk
28 spring:
29   datasource:
30     hikari:
31       jdbcUrl: jdbc:mariadb://${DB_HOST}:${DB_PORT}/catalogdb
32       username: ${DB_USERNAME}
33       password: ${DB_PASSWORD}
34       driver-class-name: org.mariadb.jdbc.Driver
35       pool-name: catdb-pool
36       registerMbeans: true
37   security:
38     usercredentials:
39     -
40       username: bpel
41       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
42       role: BPEL-Client
43     -
44       username: mso_admin
45       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
46       role: ACTUATOR
47 #Actuator
48 management:
49   context-path: /manage
50 cloud_config:
51   identity_services:
52     RAX_KEYSTONE:
53       identity_url: "https://identity.api.rackspacecloud.com/v2.0"
54       mso_id: "RACKSPACE_ACCOUNT_ID"
55       mso_pass: "RACKSPACE_ACCOUNT_APIKEY"
56       admin_tenant: "{{ .Values.config.openStackServiceTenantName }}"
57       member_role: "admin"
58       tenant_metadata: true
59       identity_server_type: "KEYSTONE"
60       identity_authentication_type: "RACKSPACE_APIKEY"
61       project_domain_name: "PROJECT_DOMAIN_NAME"
62       user_domain_name: "USER_DOMAIN_NAME"
63     DEFAULT_KEYSTONE:
64       identity_url: "{{ .Values.config.openStackKeyStoneUrl }}"
65       mso_id: "{{ .Values.config.openStackUserName }}"
66       mso_pass: "{{ .Values.config.openStackEncryptedPasswordHere }}"
67       admin_tenant: "{{ .Values.config.openStackServiceTenantName }}"
68       member_role: "admin"
69       tenant_metadata: true
70       identity_server_type: "KEYSTONE"
71       identity_authentication_type: "USERNAME_PASSWORD"
72       project_domain_name: "{{ .Values.config.openStackProjectDomainName }}"
73       user_domain_name: "{{ .Values.config.openStackUserDomainName }}"
74   cloud_sites:
75     Dallas:
76       region_id: "DFW"
77       clli: "DFW"
78       aic_version: "2.5"
79       identity_service_id: "RAX_KEYSTONE"
80     Northern Virginia:
81       region_id: "IAD"
82       clli: "IAD"
83       aic_version: "2.5"
84       identity_service_id: "RAX_KEYSTONE"
85     Chicago:
86       region_id: "ORD"
87       clli: "ORD"
88       aic_version: "2.5"
89       identity_service_id: "RAX_KEYSTONE"
90     RegionOne:
91       region_id: "RegionOne"
92       clli: "RegionOne"
93       aic_version: "2.5"
94       identity_service_id: "DEFAULT_KEYSTONE"
95     DEFAULT:
96       region_id: "{{ .Values.config.openStackRegion }}"
97       clli: "{{ .Values.config.openStackRegion }}"
98       aic_version: "2.5"
99       identity_service_id: "DEFAULT_KEYSTONE"