[POLICY] Cleanup of Helmcharts from AAF/TLS options
[oom.git] / kubernetes / policy / components / policy-api / resources / config / apiParameters.yaml
1 #  ============LICENSE_START=======================================================
2 #   Copyright (C) 2022 Bell Canada. All rights reserved.
3 #   Modifications Copyright (C) 2022 AT&T Intellectual Property.
4 #   Modification (C) 2023 Deutsche Telekom. All rights reserved.
5 #  ================================================================================
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
21 server:
22   port: {{ .Values.service.internalPort }}
23   ssl:
24     enabled: false
25   servlet:
26     context-path: /policy/api/v1
27
28 spring:
29   security.user:
30     name: "${RESTSERVER_USER}"
31     password: "${RESTSERVER_PASSWORD}"
32   mvc.converters.preferred-json-mapper: gson
33   datasource:
34     url: jdbc:mariadb://{{ .Values.db.service.name }}/policyadmin
35     driverClassName: org.mariadb.jdbc.Driver
36     username: "${SQL_USER}"
37     password: "${SQL_PASSWORD}"
38     hikari:
39       maximumPoolSize: 20
40   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
50 policy-api:
51   name: ApiGroup
52   aaf: false
53
54 database:
55   name: PolicyProviderParameterGroup
56   implementation: org.onap.policy.models.provider.impl.DatabasePolicyModelsProviderImpl
57   driver: org.mariadb.jdbc.Driver
58   url: jdbc:mariadb://{{ .Values.db.service.name }}/policyadmin
59   user: "${SQL_USER}"
60   password: "${SQL_PASSWORD}"
61   persistenceUnit: PolicyDb
62
63 policy-preload:
64   policyTypes:
65     - policytypes/onap.policies.monitoring.tcagen2.yaml
66     - policytypes/onap.policies.monitoring.tcagen2.v2.yaml
67     - 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
100 management:
101   endpoints:
102     web:
103       base-path: /
104       exposure:
105         include: health,metrics,prometheus
106       path-mapping.prometheus: metrics