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