Merge "[DMAAP] DMaaP ServiceMesh compatibility"
[oom.git] / kubernetes / policy / components / policy-clamp-be / resources / config / application.properties
1 {{/*
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 # Modifications Copyright (c) 2022 Nordix Foundation
11 # ================================================================================\
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 ###
27 */}}
28 {{- if .Values.global.aafEnabled }}
29 server.ssl.key-store=file:{{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.keystoreFile }}
30 server.ssl.key-store-password=${cadi_keystore_password_p12}
31 server.ssl.key-password=${cadi_key_password}
32 server.ssl.key-store-type=PKCS12
33 server.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
37 clamp.config.keyFile=file:{{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.keyFile }}
38
39 ## Config part for Client certificates
40 server.ssl.client-auth=want
41 server.ssl.trust-store=file:{{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.truststoreFile }}
42 server.ssl.trust-store-password=${cadi_truststore_password}
43 {{- end }}
44
45 #clds datasource connection details
46 spring.datasource.username=${MYSQL_USER}
47 spring.datasource.password=${MYSQL_PASSWORD}
48 spring.datasource.url=jdbc:mariadb:sequential://{{ .Values.db.service.name }}:{{ .Values.db.service.internalPort }}/policyclamp?autoReconnect=true&connectTimeout=10000&socketTimeout=10000&retriesAllDown=3
49 spring.profiles.active=clamp-default,clamp-aaf-authentication,clamp-sdc-controller,clamp-ssl-config,clamp-policy-controller,default-dictionary-elements
50
51 #The log folder that will be used in logback.xml file
52 clamp.config.files.sdcController=file:/opt/policy/clamp/sdc-controllers-config-pass.json
53
54 #
55 # Configuration Settings for Policy Engine Components
56 clamp.config.policy.api.url=https://policy-api.{{ include "common.namespace" . }}:6969
57 clamp.config.policy.api.userName=policyadmin
58 clamp.config.policy.api.password=zb!XztG34
59 clamp.config.policy.pap.url=https://policy-pap.{{ include "common.namespace" . }}:6969
60 clamp.config.policy.pap.userName=policyadmin
61 clamp.config.policy.pap.password=zb!XztG34
62
63 #DCAE Inventory Url Properties
64 clamp.config.dcae.inventory.url=https://inventory.{{ include "common.namespace" . }}:8080
65 clamp.config.dcae.dispatcher.url=https://deployment-handler.{{ include "common.namespace" . }}:8443
66 #DCAE Deployment Url Properties
67 clamp.config.dcae.deployment.url=https://deployment-handler.{{ include "common.namespace" . }}:8443
68 clamp.config.dcae.deployment.userName=none
69 clamp.config.dcae.deployment.password=none
70
71 #AAF related parameters
72 clamp.config.cadi.aafLocateUrl=https://aaf-locate.{{ include "common.namespace" . }}:8095
73
74 # Configuration settings for ControlLoop Runtime Rest API
75 clamp.config.acm.runtime.url=https://policy-clamp-runtime-acm.{{ include "common.namespace" . }}:6969
76 clamp.config.acm.runtime.userName=${RUNTIME_USER}
77 clamp.config.acm.runtime.password=${RUNTIME_PASSWORD}