blob: 6f501b8c21523850eda82fc3923437205aa9d7ce [file] [log] [blame]
a.sreekumar2f377362022-02-09 12:40:57 +00001# ============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
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
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.
15#
16# SPDX-License-Identifier: Apache-2.0
17# ============LICENSE_END=========================================================
18
19spring:
20 security:
21 user:
22 name: "${RESTSERVER_USER}"
23 password: "${RESTSERVER_PASSWORD}"
24 http:
25 converters:
26 preferred-json-mapper: gson
27 datasource:
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}"
32 jpa:
33 properties:
34 hibernate:
35 dialect: org.hibernate.dialect.MariaDB103Dialect
36 hibernate:
37 ddl-auto: none
38 naming:
39 physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
40 implicit-strategy: org.onap.policy.common.spring.utils.CustomImplicitNamingStrategy
41
42server:
43 port: 6969
44 ssl:
45 enabled: true
46
47pap:
48 name: PapGroup
49 aaf: false
50 pdpParameters:
51 heartBeatMs: 120000
52 updateParameters:
53 maxRetryCount: 1
54 maxWaitMs: 30000
55 stateChangeParameters:
56 maxRetryCount: 1
57 maxWaitMs: 30000
58 savePdpStatisticsInDb: false
59 topicParameterGroup:
60 topicSources:
61 - topic: POLICY-PDP-PAP
62 servers:
63 - message-router
64 useHttps: true
65 fetchTimeout: 15000
66 topicCommInfrastructure: dmaap
67 - topic: POLICY-HEARTBEAT
68 effectiveTopic: POLICY-PDP-PAP
69 consumerGroup: policy-pap
70 servers:
71 - message-router
72 useHttps: true
73 fetchTimeout: 15000
74 topicCommInfrastructure: dmaap
75 topicSinks:
76 - topic: POLICY-PDP-PAP
77 servers:
78 - message-router
79 useHttps: true
80 topicCommInfrastructure: dmaap
81 - topic: POLICY-NOTIFICATION
82 servers:
83 - message-router
84 useHttps: true
85 topicCommInfrastructure: dmaap
86 healthCheckRestClientParameters:
87 - clientName: api
88 hostname: policy-api
89 port: 6969
90 userName: "${API_USER}"
91 password: "${API_PASSWORD}"
92 useHttps: true
93 basePath: policy/api/v1/healthcheck
94 - clientName: distribution
95 hostname: policy-distribution
96 port: 6969
97 userName: "${DISTRIBUTION_USER}"
98 password: "${DISTRIBUTION_PASSWORD}"
99 useHttps: true
100 basePath: healthcheck
101 - clientName: dmaap
102 hostname: message-router
103 port: 3905
104 useHttps: true
105 basePath: topics
106
107management:
108 endpoints:
109 web:
110 base-path: /
111 exposure:
112 include: health, metrics, prometheus
113 path-mapping.prometheus: metrics