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