blob: 269ecd5f5ff3e9a9c93bb36ecf9c0f2494730681 [file] [log] [blame]
a.sreekumar2f377362022-02-09 12:40:57 +00001# ============LICENSE_START=======================================================
2# Copyright (C) 2022 Bell Canada. All rights reserved.
jhheec3da92022-09-26 11:36:11 -05003# Modifications Copyright (C) 2022 AT&T Intellectual Property.
Andreas Geisslerf10c5552023-03-21 18:09:46 +01004# Modification (C) 2023 Deutsche Telekom. All rights reserved.
a.sreekumar2f377362022-02-09 12:40:57 +00005# ================================================================================
6# Licensed under the Apache License, Version 2.0 (the "License");
7# you may not use this file except in compliance with the License.
8# You may obtain a copy of the License at
9#
10# http://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing, software
13# distributed under the License is distributed on an "AS IS" BASIS,
14# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15# See the License for the specific language governing permissions and
16# limitations under the License.
17#
18# SPDX-License-Identifier: Apache-2.0
19# ============LICENSE_END=========================================================
20
21server:
22 port: {{ .Values.service.internalPort }}
amatthews736bf372021-12-14 16:04:15 +000023 ssl:
Andreas Geisslerf10c5552023-03-21 18:09:46 +010024 enabled: false
saul.gill5e611402023-03-02 11:49:23 +000025 servlet:
26 context-path: /policy/api/v1
a.sreekumar2f377362022-02-09 12:40:57 +000027
28spring:
29 security.user:
30 name: "${RESTSERVER_USER}"
31 password: "${RESTSERVER_PASSWORD}"
32 mvc.converters.preferred-json-mapper: gson
33 datasource:
amatthews736bf372021-12-14 16:04:15 +000034 url: jdbc:mariadb://{{ .Values.db.service.name }}/policyadmin
a.sreekumar2f377362022-02-09 12:40:57 +000035 driverClassName: org.mariadb.jdbc.Driver
36 username: "${SQL_USER}"
37 password: "${SQL_PASSWORD}"
Prakhar Pandeya8a47e02022-04-14 12:15:00 -040038 hikari:
39 maximumPoolSize: 20
a.sreekumar2f377362022-02-09 12:40:57 +000040 jpa:
41 properties:
42 hibernate:
43 dialect: org.hibernate.dialect.MariaDB103Dialect
44 hibernate:
45 ddl-auto: none
46 naming:
47 physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
48 implicit-strategy: org.onap.policy.common.spring.utils.CustomImplicitNamingStrategy
49
50policy-api:
51 name: ApiGroup
52 aaf: false
53
54database:
55 name: PolicyProviderParameterGroup
56 implementation: org.onap.policy.models.provider.impl.DatabasePolicyModelsProviderImpl
57 driver: org.mariadb.jdbc.Driver
amatthews736bf372021-12-14 16:04:15 +000058 url: jdbc:mariadb://{{ .Values.db.service.name }}/policyadmin
a.sreekumar2f377362022-02-09 12:40:57 +000059 user: "${SQL_USER}"
60 password: "${SQL_PASSWORD}"
61 persistenceUnit: PolicyDb
62
63policy-preload:
64 policyTypes:
65 - policytypes/onap.policies.monitoring.tcagen2.yaml
jhheec3da92022-09-26 11:36:11 -050066 - policytypes/onap.policies.monitoring.tcagen2.v2.yaml
a.sreekumar2f377362022-02-09 12:40:57 +000067 - policytypes/onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server.yaml
68 - policytypes/onap.policies.monitoring.dcae-restconfcollector.yaml
69 - policytypes/onap.policies.monitoring.dcae-pm-subscription-handler.yaml
70 - policytypes/onap.policies.monitoring.dcae-pm-mapper.yaml
71 - policytypes/onap.policies.Optimization.yaml
72 - policytypes/onap.policies.optimization.Resource.yaml
73 - policytypes/onap.policies.optimization.Service.yaml
74 - policytypes/onap.policies.optimization.resource.AffinityPolicy.yaml
75 - policytypes/onap.policies.optimization.resource.DistancePolicy.yaml
76 - policytypes/onap.policies.optimization.resource.HpaPolicy.yaml
77 - policytypes/onap.policies.optimization.resource.OptimizationPolicy.yaml
78 - policytypes/onap.policies.optimization.resource.PciPolicy.yaml
79 - policytypes/onap.policies.optimization.service.QueryPolicy.yaml
80 - policytypes/onap.policies.optimization.service.SubscriberPolicy.yaml
81 - policytypes/onap.policies.optimization.resource.Vim_fit.yaml
82 - policytypes/onap.policies.optimization.resource.VnfPolicy.yaml
83 - policytypes/onap.policies.controlloop.guard.Common.yaml
84 - policytypes/onap.policies.controlloop.guard.common.Blacklist.yaml
85 - policytypes/onap.policies.controlloop.guard.common.FrequencyLimiter.yaml
86 - policytypes/onap.policies.controlloop.guard.common.MinMax.yaml
87 - policytypes/onap.policies.controlloop.guard.common.Filter.yaml
88 - policytypes/onap.policies.controlloop.guard.coordination.FirstBlocksSecond.yaml
89 - policytypes/onap.policies.Naming.yaml
90 - policytypes/onap.policies.Match.yaml
91 - policytypes/onap.policies.native.Drools.yaml
92 - policytypes/onap.policies.native.Xacml.yaml
93 - policytypes/onap.policies.native.Apex.yaml
94 - policytypes/onap.policies.controlloop.operational.Common.yaml
95 - policytypes/onap.policies.controlloop.operational.common.Apex.yaml
96 - policytypes/onap.policies.controlloop.operational.common.Drools.yaml
97 policies:
98 - policies/sdnc.policy.naming.input.tosca.yaml
99
100management:
101 endpoints:
102 web:
103 base-path: /
104 exposure:
105 include: health,metrics,prometheus
106 path-mapping.prometheus: metrics