blob: 8dd0fc796aeee9d3894d178a9104b1a9f5a8dd56 [file] [log] [blame]
Jakub Latusekfcf67842020-10-21 13:36:29 +02001{{/*
ChrisC2325efd2020-09-11 18:39:23 +02002###
3# ============LICENSE_START=======================================================
4# ONAP CLAMP
5# ================================================================================
6# Copyright (C) 2017-2019 AT&T Intellectual Property. All rights
7# reserved.
8# ================================================================================
9# Modifications copyright (c) 2019 Nokia
10# ================================================================================\
11# Licensed under the Apache License, Version 2.0 (the "License");
12# you may not use this file except in compliance with the License.
13# You may obtain a copy of the License at
14#
15# http://www.apache.org/licenses/LICENSE-2.0
16#
17# Unless required by applicable law or agreed to in writing, software
18# distributed under the License is distributed on an "AS IS" BASIS,
19# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20# See the License for the specific language governing permissions and
21# limitations under the License.
22# ============LICENSE_END============================================
23# ===================================================================
24#
25###
Jakub Latusekfcf67842020-10-21 13:36:29 +020026*/}}
ChrisC2325efd2020-09-11 18:39:23 +020027{{- if .Values.global.aafEnabled }}
28server.ssl.key-store=file:{{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.keystoreFile }}
29server.ssl.key-store-password=${cadi_keystore_password_p12}
30server.ssl.key-password=${cadi_key_password}
31server.ssl.key-store-type=PKCS12
32server.ssl.key-alias={{ .Values.certInitializer.fqi }}
33
34# The key file used to decode the key store and trust store password
35# If not defined, the key store and trust store password will not be decrypted
36clamp.config.keyFile=file:{{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.keyFile }}
37
38## Config part for Client certificates
39server.ssl.client-auth=want
40server.ssl.trust-store=file:{{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.truststoreFile }}
41server.ssl.trust-store-password=${cadi_truststore_password}
42{{- end }}
43
44#clds datasource connection details
45spring.datasource.username=${MYSQL_USER}
46spring.datasource.password=${MYSQL_PASSWORD}
47spring.datasource.url=jdbc:mariadb:sequential://clampdb.{{ include "common.namespace" . }}:3306/${MYSQL_DATABASE}?autoReconnect=true&connectTimeout=10000&socketTimeout=10000&retriesAllDown=3
sebdetfa819912020-09-28 16:15:34 +020048spring.profiles.active=clamp-default,clamp-aaf-authentication,clamp-sdc-controller,clamp-ssl-config,clamp-policy-controller,default-dictionary-elements
ChrisC2325efd2020-09-11 18:39:23 +020049
50#The log folder that will be used in logback.xml file
51clamp.config.files.sdcController=file:/opt/clamp/sdc-controllers-config.json
52
53#
54# Configuration Settings for Policy Engine Components
55clamp.config.policy.api.url=https4://policy-api.{{ include "common.namespace" . }}:6969
56clamp.config.policy.api.userName=healthcheck
57clamp.config.policy.api.password=zb!XztG34
58clamp.config.policy.pap.url=https4://policy-pap.{{ include "common.namespace" . }}:6969
59clamp.config.policy.pap.userName=healthcheck
60clamp.config.policy.pap.password=zb!XztG34
61
62#DCAE Inventory Url Properties
63clamp.config.dcae.inventory.url=https4://inventory.{{ include "common.namespace" . }}:8080
64clamp.config.dcae.dispatcher.url=https4://deployment-handler.{{ include "common.namespace" . }}:8443
65#DCAE Deployment Url Properties
66clamp.config.dcae.deployment.url=https4://deployment-handler.{{ include "common.namespace" . }}:8443
67clamp.config.dcae.deployment.userName=none
68clamp.config.dcae.deployment.password=none
69
70#AAF related parameters
sebdetfa819912020-09-28 16:15:34 +020071clamp.config.cadi.aafLocateUrl=https://aaf-locate.{{ include "common.namespace" . }}:8095