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