1 # ============LICENSE_START=======================================================
2 # Copyright (C) 2022 Bell Canada. All rights reserved.
3 # ================================================================================
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
16 # SPDX-License-Identifier: Apache-2.0
17 # ============LICENSE_END=========================================================
22 name: "${RESTSERVER_USER}"
23 password: "${RESTSERVER_PASSWORD}"
26 preferred-json-mapper: gson
28 url: jdbc:mariadb://{{ .Values.db.service.name }}:{{ .Values.db.service.internalPort}}/policyadmin
29 driverClassName: org.mariadb.jdbc.Driver
30 username: "${SQL_USER}"
31 password: "${SQL_PASSWORD}"
35 dialect: org.hibernate.dialect.MariaDB103Dialect
39 physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
40 implicit-strategy: org.onap.policy.common.spring.utils.CustomImplicitNamingStrategy
55 stateChangeParameters:
58 savePdpStatisticsInDb: false
61 - topic: POLICY-PDP-PAP
66 topicCommInfrastructure: dmaap
67 - topic: POLICY-HEARTBEAT
68 effectiveTopic: POLICY-PDP-PAP
69 consumerGroup: policy-pap
74 topicCommInfrastructure: dmaap
76 - topic: POLICY-PDP-PAP
80 topicCommInfrastructure: dmaap
81 - topic: POLICY-NOTIFICATION
85 topicCommInfrastructure: dmaap
86 healthCheckRestClientParameters:
90 userName: "${API_USER}"
91 password: "${API_PASSWORD}"
93 basePath: policy/api/v1/healthcheck
94 - clientName: distribution
95 hostname: policy-distribution
97 userName: "${DISTRIBUTION_USER}"
98 password: "${DISTRIBUTION_PASSWORD}"
100 basePath: healthcheck
102 hostname: message-router
112 include: health, metrics, prometheus
113 path-mapping.prometheus: metrics