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}"
37 dialect: org.hibernate.dialect.MariaDB103Dialect
41 physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
42 implicit-strategy: org.onap.policy.common.spring.utils.CustomImplicitNamingStrategy
57 stateChangeParameters:
60 savePdpStatisticsInDb: false
63 - topic: POLICY-PDP-PAP
68 topicCommInfrastructure: dmaap
69 - topic: POLICY-HEARTBEAT
70 effectiveTopic: POLICY-PDP-PAP
71 consumerGroup: policy-pap
76 topicCommInfrastructure: dmaap
78 - topic: POLICY-PDP-PAP
82 topicCommInfrastructure: dmaap
83 - topic: POLICY-NOTIFICATION
87 topicCommInfrastructure: dmaap
88 healthCheckRestClientParameters:
92 userName: "${API_USER}"
93 password: "${API_PASSWORD}"
95 basePath: policy/api/v1/healthcheck
96 - clientName: distribution
97 hostname: policy-distribution
99 userName: "${DISTRIBUTION_USER}"
100 password: "${DISTRIBUTION_PASSWORD}"
102 basePath: healthcheck
104 hostname: message-router
114 include: health, metrics, prometheus
115 path-mapping.prometheus: metrics