blob: 03e55e15f5350265316ad91cf68bfd5176cc7c7c [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
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000010# Modifications Copyright (c) 2022 Nordix Foundation
ChrisC2325efd2020-09-11 18:39:23 +020011# ================================================================================\
12# Licensed under the Apache License, Version 2.0 (the "License");
13# you may not use this file except in compliance with the License.
14# You may obtain a copy of the License at
15#
16# http://www.apache.org/licenses/LICENSE-2.0
17#
18# Unless required by applicable law or agreed to in writing, software
19# distributed under the License is distributed on an "AS IS" BASIS,
20# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21# See the License for the specific language governing permissions and
22# limitations under the License.
23# ============LICENSE_END============================================
24# ===================================================================
25#
26###
Jakub Latusekfcf67842020-10-21 13:36:29 +020027*/}}
ChrisC2325efd2020-09-11 18:39:23 +020028{{- if .Values.global.aafEnabled }}
29server.ssl.key-store=file:{{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.keystoreFile }}
30server.ssl.key-store-password=${cadi_keystore_password_p12}
31server.ssl.key-password=${cadi_key_password}
32server.ssl.key-store-type=PKCS12
33server.ssl.key-alias={{ .Values.certInitializer.fqi }}
34
35# The key file used to decode the key store and trust store password
36# If not defined, the key store and trust store password will not be decrypted
37clamp.config.keyFile=file:{{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.keyFile }}
38
39## Config part for Client certificates
40server.ssl.client-auth=want
41server.ssl.trust-store=file:{{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.truststoreFile }}
42server.ssl.trust-store-password=${cadi_truststore_password}
43{{- end }}
44
45#clds datasource connection details
46spring.datasource.username=${MYSQL_USER}
47spring.datasource.password=${MYSQL_PASSWORD}
sebdet5c449882021-01-13 11:35:56 +010048spring.datasource.url=jdbc:mariadb:sequential://{{ .Values.db.service.name }}:{{ .Values.db.service.internalPort }}/policyclamp?autoReconnect=true&connectTimeout=10000&socketTimeout=10000&retriesAllDown=3
sebdetfa819912020-09-28 16:15:34 +020049spring.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 +020050
51#The log folder that will be used in logback.xml file
sebdet9bac0c32021-04-22 10:23:53 +020052clamp.config.files.sdcController=file:/opt/policy/clamp/sdc-controllers-config-pass.json
ChrisC2325efd2020-09-11 18:39:23 +020053
54#
55# Configuration Settings for Policy Engine Components
sebdet9bac0c32021-04-22 10:23:53 +020056clamp.config.policy.api.url=https://policy-api.{{ include "common.namespace" . }}:6969
adheli.tavaresf3656cd2021-11-10 14:54:32 +000057clamp.config.policy.api.userName=policyadmin
ChrisC2325efd2020-09-11 18:39:23 +020058clamp.config.policy.api.password=zb!XztG34
sebdet9bac0c32021-04-22 10:23:53 +020059clamp.config.policy.pap.url=https://policy-pap.{{ include "common.namespace" . }}:6969
adheli.tavaresf3656cd2021-11-10 14:54:32 +000060clamp.config.policy.pap.userName=policyadmin
ChrisC2325efd2020-09-11 18:39:23 +020061clamp.config.policy.pap.password=zb!XztG34
62
63#DCAE Inventory Url Properties
sebdet9bac0c32021-04-22 10:23:53 +020064clamp.config.dcae.inventory.url=https://inventory.{{ include "common.namespace" . }}:8080
65clamp.config.dcae.dispatcher.url=https://deployment-handler.{{ include "common.namespace" . }}:8443
ChrisC2325efd2020-09-11 18:39:23 +020066#DCAE Deployment Url Properties
sebdet9bac0c32021-04-22 10:23:53 +020067clamp.config.dcae.deployment.url=https://deployment-handler.{{ include "common.namespace" . }}:8443
ChrisC2325efd2020-09-11 18:39:23 +020068clamp.config.dcae.deployment.userName=none
69clamp.config.dcae.deployment.password=none
70
71#AAF related parameters
sebdetfa819912020-09-28 16:15:34 +020072clamp.config.cadi.aafLocateUrl=https://aaf-locate.{{ include "common.namespace" . }}:8095
saul.gill6238df42021-09-21 15:09:55 +010073
74# Configuration settings for ControlLoop Runtime Rest API
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000075clamp.config.acm.runtime.url=https://policy-clamp-runtime-acm.{{ include "common.namespace" . }}:6969
76clamp.config.acm.runtime.userName=${RUNTIME_USER}
77clamp.config.acm.runtime.password=${RUNTIME_PASSWORD}