summaryrefslogtreecommitdiffstats
path: root/kubernetes/so/components/so-etsi-sol003-adapter/resources/config/overrides/override.yaml
blob: fed38f759280219fce9c1404009cea87ce6a4eaf (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
{{/*
# Copyright © 2019 Nordix Foundation
#
# 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: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.global.aaf.auth.header "value2" .Values.aai.auth )}}
  version: v15
  {{ if (include "common.needTLS" .) }}
  endpoint: https://aai.{{ include "common.namespace" . }}:8443
  {{ else }}
  endpoint: http://aai.{{ include "common.namespace" . }}:80
  {{ end }}
spring:
  security:
    usercredentials:
    - username: vnfm
      password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
      role: BPEL-Client
    - username: mso_admin
      password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
      role: ACTUATOR
server:
  {{- if include "common.onServiceMesh" . }}
  forward-headers-strategy: none
  {{- end }}
  port: {{ index .Values.containerPort }}
  ssl:
    enabled: false
mso:
  key: {{ .Values.mso.key }}
  site-name: localSite
  logPath: ./logs/etsi-sol003-adapter
  config:
    cadi: {{ include "so.cadi.keys" . | nindent 8}}
  msb-ip: msb-iag
  msb-port: 80
sdc:
  username: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.aaf.auth.username "value2" .Values.sdc.username )}}
  password: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.aaf.auth.password "value2" .Values.sdc.password )}}
  key: {{ .Values.sdc.key }}
  {{ if (include "common.needTLS" .) }}
  endpoint: https://sdc-be.{{ include "common.namespace" . }}:8443
  {{ else }}
  endpoint: http://sdc-be.{{ include "common.namespace" . }}:8080
  {{ end }}
vnfmadapter:
  endpoint: http://so-etsi-sol003-adapter.{{ include "common.namespace" . }}:9092
etsi-catalog-manager:
  vnfpkgm:
  {{- if .Values.global.msbEnabled }}
    endpoint: https://msb-iag:443/api/vnfpkgm/v1
  http:
    client:
      ssl:
        trust-store: file:${TRUSTSTORE}
        trust-store-password: ${TRUSTSTORE_PASSWORD}
  {{- else }}
    endpoint: http://modeling-etsicatalog.{{ include "common.namespace" . }}:8806/api/vnfpkgm/v1
  {{- end }}