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