Merge "[DMAAP] DMaaP ServiceMesh compatibility"
[oom.git] / kubernetes / policy / components / policy-api / resources / config / apiParameters.yaml
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
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
19 server:
20   port: {{ .Values.service.internalPort }}
21
22 spring:
23   security.user:
24     name: "${RESTSERVER_USER}"
25     password: "${RESTSERVER_PASSWORD}"
26   mvc.converters.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     hikari:
33       maximumPoolSize: 20
34   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
44 policy-api:
45   name: ApiGroup
46   aaf: false
47
48 database:
49   name: PolicyProviderParameterGroup
50   implementation: org.onap.policy.models.provider.impl.DatabasePolicyModelsProviderImpl
51   driver: org.mariadb.jdbc.Driver
52   url: jdbc:mariadb://{{ .Values.db.service.name }}:{{ .Values.db.service.internalPort}}/policyadmin
53   user: "${SQL_USER}"
54   password: "${SQL_PASSWORD}"
55   persistenceUnit: PolicyDb
56
57 policy-preload:
58   policyTypes:
59     - policytypes/onap.policies.monitoring.tcagen2.yaml
60     - policytypes/onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server.yaml
61     - policytypes/onap.policies.monitoring.dcae-restconfcollector.yaml
62     - policytypes/onap.policies.monitoring.dcae-pm-subscription-handler.yaml
63     - policytypes/onap.policies.monitoring.dcae-pm-mapper.yaml
64     - policytypes/onap.policies.Optimization.yaml
65     - policytypes/onap.policies.optimization.Resource.yaml
66     - policytypes/onap.policies.optimization.Service.yaml
67     - policytypes/onap.policies.optimization.resource.AffinityPolicy.yaml
68     - policytypes/onap.policies.optimization.resource.DistancePolicy.yaml
69     - policytypes/onap.policies.optimization.resource.HpaPolicy.yaml
70     - policytypes/onap.policies.optimization.resource.OptimizationPolicy.yaml
71     - policytypes/onap.policies.optimization.resource.PciPolicy.yaml
72     - policytypes/onap.policies.optimization.service.QueryPolicy.yaml
73     - policytypes/onap.policies.optimization.service.SubscriberPolicy.yaml
74     - policytypes/onap.policies.optimization.resource.Vim_fit.yaml
75     - policytypes/onap.policies.optimization.resource.VnfPolicy.yaml
76     - policytypes/onap.policies.controlloop.guard.Common.yaml
77     - policytypes/onap.policies.controlloop.guard.common.Blacklist.yaml
78     - policytypes/onap.policies.controlloop.guard.common.FrequencyLimiter.yaml
79     - policytypes/onap.policies.controlloop.guard.common.MinMax.yaml
80     - policytypes/onap.policies.controlloop.guard.common.Filter.yaml
81     - policytypes/onap.policies.controlloop.guard.coordination.FirstBlocksSecond.yaml
82     - policytypes/onap.policies.Naming.yaml
83     - policytypes/onap.policies.Match.yaml
84     - policytypes/onap.policies.native.Drools.yaml
85     - policytypes/onap.policies.native.Xacml.yaml
86     - policytypes/onap.policies.native.Apex.yaml
87     - policytypes/onap.policies.controlloop.operational.Common.yaml
88     - policytypes/onap.policies.controlloop.operational.common.Apex.yaml
89     - policytypes/onap.policies.controlloop.operational.common.Drools.yaml
90   policies:
91     - policies/sdnc.policy.naming.input.tosca.yaml
92
93 management:
94   endpoints:
95     web:
96       base-path: /
97       exposure:
98         include: health,metrics,prometheus
99       path-mapping.prometheus: metrics