Merge "[UUI] Service Mesh Compliance for UUI"
[oom.git] / kubernetes / so / components / so-sdc-controller / 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 aai:
17   auth: {{.Values.aai.auth}}
18 server:
19   {{- if include "common.onServiceMesh" . }}
20   forward-headers-strategy: none
21   {{- end }}
22   port: {{ index .Values.containerPort }}
23 spring:
24   datasource:
25     hikari:
26       jdbcUrl: jdbc:mariadb://${DB_HOST}:${DB_PORT}/catalogdb
27       username: ${DB_USERNAME}
28       password: ${DB_PASSWORD}
29       driver-class-name: org.mariadb.jdbc.Driver
30       pool-name: catdb-pool
31       registerMbeans: false
32   security:
33     usercredentials:
34     -
35       username: asdc
36       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
37       role: Asdc-Client
38     -
39       username: mso_admin
40       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
41       role: ACTUATOR
42 request:
43   datasource:
44     hikari:
45       jdbcUrl: jdbc:mariadb://${DB_HOST}:${DB_PORT}/requestdb
46       username: ${DB_USERNAME}
47       password: ${DB_PASSWORD}
48       driver-class-name: org.mariadb.jdbc.Driver
49       pool-name: reqdb-pool
50       registerMbeans: false
51 mso:
52   msoKey: {{ index .Values.mso.msoKey }}
53   logPath: ./logs/sdc
54   config:
55      cadi: {{ include "so.cadi.keys" . | nindent 8}}
56   catalog:
57     db:
58       spring:
59         endpoint: http://so-catalog-db-adapter.{{ include "common.namespace" . }}:8082
60   db:
61     auth: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.global.aaf.auth.header "value2" .Values.mso.requestDb.auth )}}
62   site-name: onapheat
63   camundaURL: http://so-bpmn-infra.{{ include "common.namespace" . }}:8081/
64   adapters:
65     requestDb:
66       endpoint: http://so-request-db-adapter.{{ include "common.namespace" . }}:8083
67       auth: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.global.aaf.auth.header "value2" .Values.mso.requestDb.auth )}}
68   aai:
69     {{ if (include "common.needTLS" .) }}
70     endpoint: https://aai.{{ include "common.namespace" . }}:8443
71     {{ else }}
72     endpoint: http://aai.{{ include "common.namespace" . }}:80
73     {{ end }}
74   asdc-connections:
75     asdc-controller1:
76       user: mso
77       consumerGroup: SO-OpenSource-Env11
78       consumerId: SO-COpenSource-Env11
79       environmentName: AUTO
80       {{ if (include "common.needTLS" .) }}
81       asdcAddress: sdc-be.{{ include "common.namespace" . }}:8443
82       {{ else }}
83       asdcAddress: sdc-be.{{ include "common.namespace" . }}:8080
84       {{ end }}
85       password: {{ index .Values "mso" "asdc-connections" "asdc-controller1" "password" }}
86       pollingInterval: 60
87       pollingTimeout: 60
88       relevantArtifactTypes: HEAT,HEAT_ENV,HEAT_VOL
89       useHttpsWithDmaap: false
90       useHttpsWithSdc: {{ (eq "true" (include "common.needTLS" .)) | ternary true false }}
91       activateServerTLSAuth: false
92       keyStorePassword:
93       keyStorePath:
94       watchDogTimeout: 300
95       isFitlerInEmptyResources: true
96       messageBusAddress: message-router.{{ include "common.namespace" . }},message-router.{{ include "common.namespace" . }}
97   asdc:
98     config:
99       activity:
100         endpoint: http://sdc-wfd-be:8080
101       key: {{ .Values.mso.asdc.config.key }}
102       components:
103         count: 3,
104         componentNames: SO,AAI,SDNC
105   scheduling:
106     enabled: false