blob: 00f7b9b8ee3bccc887ddbe397d6c3a930c1e08d5 [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}"
Prakhar Pandeya8a47e02022-04-14 12:15:00 -040032 hikari:
33 maximumPoolSize: 20
a.sreekumar2f377362022-02-09 12:40:57 +000034 jpa:
35 properties:
36 hibernate:
37 dialect: org.hibernate.dialect.MariaDB103Dialect
38 hibernate:
39 ddl-auto: none
40 naming:
41 physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
42 implicit-strategy: org.onap.policy.common.spring.utils.CustomImplicitNamingStrategy
43
44server:
45 port: 6969
46 ssl:
47 enabled: true
48
49pap:
50 name: PapGroup
51 aaf: false
52 pdpParameters:
53 heartBeatMs: 120000
54 updateParameters:
55 maxRetryCount: 1
56 maxWaitMs: 30000
57 stateChangeParameters:
58 maxRetryCount: 1
59 maxWaitMs: 30000
60 savePdpStatisticsInDb: false
61 topicParameterGroup:
62 topicSources:
63 - topic: POLICY-PDP-PAP
64 servers:
65 - message-router
66 useHttps: true
67 fetchTimeout: 15000
68 topicCommInfrastructure: dmaap
69 - topic: POLICY-HEARTBEAT
70 effectiveTopic: POLICY-PDP-PAP
71 consumerGroup: policy-pap
72 servers:
73 - message-router
74 useHttps: true
75 fetchTimeout: 15000
76 topicCommInfrastructure: dmaap
77 topicSinks:
78 - topic: POLICY-PDP-PAP
79 servers:
80 - message-router
81 useHttps: true
82 topicCommInfrastructure: dmaap
83 - topic: POLICY-NOTIFICATION
84 servers:
85 - message-router
86 useHttps: true
87 topicCommInfrastructure: dmaap
88 healthCheckRestClientParameters:
89 - clientName: api
90 hostname: policy-api
91 port: 6969
92 userName: "${API_USER}"
93 password: "${API_PASSWORD}"
94 useHttps: true
95 basePath: policy/api/v1/healthcheck
96 - clientName: distribution
97 hostname: policy-distribution
98 port: 6969
99 userName: "${DISTRIBUTION_USER}"
100 password: "${DISTRIBUTION_PASSWORD}"
101 useHttps: true
102 basePath: healthcheck
103 - clientName: dmaap
104 hostname: message-router
105 port: 3905
106 useHttps: true
107 basePath: topics
108
109management:
110 endpoints:
111 web:
112 base-path: /
113 exposure:
114 include: health, metrics, prometheus
115 path-mapping.prometheus: metrics