Jakub Latusek | fcf6784 | 2020-10-21 13:36:29 +0200 | [diff] [blame] | 1 | {{/* |
ChrisC | 2325efd | 2020-09-11 18:39:23 +0200 | [diff] [blame] | 2 | ### |
| 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 Latusek | fcf6784 | 2020-10-21 13:36:29 +0200 | [diff] [blame] | 26 | */}} |
ChrisC | 2325efd | 2020-09-11 18:39:23 +0200 | [diff] [blame] | 27 | {{- if .Values.global.aafEnabled }} |
| 28 | server.ssl.key-store=file:{{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.keystoreFile }} |
| 29 | server.ssl.key-store-password=${cadi_keystore_password_p12} |
| 30 | server.ssl.key-password=${cadi_key_password} |
| 31 | server.ssl.key-store-type=PKCS12 |
| 32 | server.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 |
| 36 | clamp.config.keyFile=file:{{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.keyFile }} |
| 37 | |
| 38 | ## Config part for Client certificates |
| 39 | server.ssl.client-auth=want |
| 40 | server.ssl.trust-store=file:{{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.truststoreFile }} |
| 41 | server.ssl.trust-store-password=${cadi_truststore_password} |
| 42 | {{- end }} |
| 43 | |
| 44 | #clds datasource connection details |
| 45 | spring.datasource.username=${MYSQL_USER} |
| 46 | spring.datasource.password=${MYSQL_PASSWORD} |
sebdet | 5c44988 | 2021-01-13 11:35:56 +0100 | [diff] [blame] | 47 | spring.datasource.url=jdbc:mariadb:sequential://{{ .Values.db.service.name }}:{{ .Values.db.service.internalPort }}/policyclamp?autoReconnect=true&connectTimeout=10000&socketTimeout=10000&retriesAllDown=3 |
sebdet | fa81991 | 2020-09-28 16:15:34 +0200 | [diff] [blame] | 48 | spring.profiles.active=clamp-default,clamp-aaf-authentication,clamp-sdc-controller,clamp-ssl-config,clamp-policy-controller,default-dictionary-elements |
ChrisC | 2325efd | 2020-09-11 18:39:23 +0200 | [diff] [blame] | 49 | |
| 50 | #The log folder that will be used in logback.xml file |
sebdet | 9bac0c3 | 2021-04-22 10:23:53 +0200 | [diff] [blame] | 51 | clamp.config.files.sdcController=file:/opt/policy/clamp/sdc-controllers-config-pass.json |
ChrisC | 2325efd | 2020-09-11 18:39:23 +0200 | [diff] [blame] | 52 | |
| 53 | # |
| 54 | # Configuration Settings for Policy Engine Components |
sebdet | 9bac0c3 | 2021-04-22 10:23:53 +0200 | [diff] [blame] | 55 | clamp.config.policy.api.url=https://policy-api.{{ include "common.namespace" . }}:6969 |
adheli.tavares | f3656cd | 2021-11-10 14:54:32 +0000 | [diff] [blame] | 56 | clamp.config.policy.api.userName=policyadmin |
ChrisC | 2325efd | 2020-09-11 18:39:23 +0200 | [diff] [blame] | 57 | clamp.config.policy.api.password=zb!XztG34 |
sebdet | 9bac0c3 | 2021-04-22 10:23:53 +0200 | [diff] [blame] | 58 | clamp.config.policy.pap.url=https://policy-pap.{{ include "common.namespace" . }}:6969 |
adheli.tavares | f3656cd | 2021-11-10 14:54:32 +0000 | [diff] [blame] | 59 | clamp.config.policy.pap.userName=policyadmin |
ChrisC | 2325efd | 2020-09-11 18:39:23 +0200 | [diff] [blame] | 60 | clamp.config.policy.pap.password=zb!XztG34 |
| 61 | |
| 62 | #DCAE Inventory Url Properties |
sebdet | 9bac0c3 | 2021-04-22 10:23:53 +0200 | [diff] [blame] | 63 | clamp.config.dcae.inventory.url=https://inventory.{{ include "common.namespace" . }}:8080 |
| 64 | clamp.config.dcae.dispatcher.url=https://deployment-handler.{{ include "common.namespace" . }}:8443 |
ChrisC | 2325efd | 2020-09-11 18:39:23 +0200 | [diff] [blame] | 65 | #DCAE Deployment Url Properties |
sebdet | 9bac0c3 | 2021-04-22 10:23:53 +0200 | [diff] [blame] | 66 | clamp.config.dcae.deployment.url=https://deployment-handler.{{ include "common.namespace" . }}:8443 |
ChrisC | 2325efd | 2020-09-11 18:39:23 +0200 | [diff] [blame] | 67 | clamp.config.dcae.deployment.userName=none |
| 68 | clamp.config.dcae.deployment.password=none |
| 69 | |
| 70 | #AAF related parameters |
sebdet | fa81991 | 2020-09-28 16:15:34 +0200 | [diff] [blame] | 71 | clamp.config.cadi.aafLocateUrl=https://aaf-locate.{{ include "common.namespace" . }}:8095 |
saul.gill | 6238df4 | 2021-09-21 15:09:55 +0100 | [diff] [blame] | 72 | |
| 73 | # Configuration settings for ControlLoop Runtime Rest API |
| 74 | clamp.config.controlloop.runtime.url=http://policy-clamp-cl-runtime.{{ include "common.namespace" . }}:6969 |
| 75 | clamp.config.controlloop.runtime.userName=${RUNTIME_USER} |
| 76 | clamp.config.controlloop.runtime.password=${RUNTIME_PASSWORD} |
| 77 | |