summaryrefslogtreecommitdiffstats
path: root/kubernetes/so/components/so-sdc-controller/resources/config/overrides/override.yaml
blob: 29a1cf74437768254e38c0493da9dce2f880fb46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{{/*
# Copyright © 2018 AT&T USA
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#       http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
*/}}
aai:
  auth: {{.Values.aai.auth}}
server:
  {{- if include "common.onServiceMesh" . }}
  forward-headers-strategy: none
  {{- end }}
  port: {{ index .Values.containerPort }}
spring:
  datasource:
    hikari:
      jdbcUrl: jdbc:mariadb://${DB_HOST}:${DB_PORT}/catalogdb
      username: ${DB_USERNAME}
      password: ${DB_PASSWORD}
      driver-class-name: org.mariadb.jdbc.Driver
      pool-name: catdb-pool
      registerMbeans: false
  security:
    usercredentials:
    -
      username: asdc
      password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
      role: Asdc-Client
    -
      username: mso_admin
      password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
      role: ACTUATOR
request:
  datasource:
    hikari:
      jdbcUrl: jdbc:mariadb://${DB_HOST}:${DB_PORT}/requestdb
      username: ${DB_USERNAME}
      password: ${DB_PASSWORD}
      driver-class-name: org.mariadb.jdbc.Driver
      pool-name: reqdb-pool
      registerMbeans: false
mso:
  msoKey: {{ index .Values.mso.msoKey }}
  logPath: ./logs/sdc
  config:
     cadi: {{ include "so.cadi.keys" . | nindent 8}}
  catalog:
    db:
      spring:
        endpoint: http://so-catalog-db-adapter.{{ include "common.namespace" . }}:8082
  db:
    auth: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.global.aaf.auth.header "value2" .Values.mso.requestDb.auth )}}
  site-name: onapheat
  camundaURL: http://so-bpmn-infra.{{ include "common.namespace" . }}:8081/
  adapters:
    requestDb:
      endpoint: http://so-request-db-adapter.{{ include "common.namespace" . }}:8083
      auth: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.global.aaf.auth.header "value2" .Values.mso.requestDb.auth )}}
  aai:
    {{ if (include "common.needTLS" .) }}
    endpoint: https://aai.{{ include "common.namespace" . }}:8443
    {{ else }}
    endpoint: http://aai.{{ include "common.namespace" . }}:80
    {{ end }}
  asdc-connections:
    asdc-controller1:
      user: mso
      consumerGroup: SO-OpenSource-Env11
      consumerId: SO-COpenSource-Env11
      environmentName: AUTO
      {{ if (include "common.needTLS" .) }}
      asdcAddress: sdc-be.{{ include "common.namespace" . }}:8443
      {{ else }}
      asdcAddress: sdc-be.{{ include "common.namespace" . }}:8080
      {{ end }}
      password: {{ index .Values "mso" "asdc-connections" "asdc-controller1" "password" }}
      pollingInterval: 60
      pollingTimeout: 60
      relevantArtifactTypes: HEAT,HEAT_ENV,HEAT_VOL
      useHttpsWithDmaap: false
      useHttpsWithSdc: {{ (eq "true" (include "common.needTLS" .)) | ternary true false }}
      activateServerTLSAuth: false
      keyStorePassword:
      keyStorePath:
      watchDogTimeout: 300
      isFitlerInEmptyResources: true
      messageBusAddress: message-router.{{ include "common.namespace" . }},message-router.{{ include "common.namespace" . }}
  asdc:
    config:
      activity:
        endpoint: http://sdc-wfd-be:8080
      key: {{ .Values.mso.asdc.config.key }}
      components:
        count: 3,
        componentNames: SO,AAI,SDNC
  scheduling:
    enabled: false