[SO] update cnf-adapter
[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,2025 Deutsche Telekom. All rights reserved.
5 #   Modifications Copyright © 2024-2025 Nordix Foundation.
6 #  ================================================================================
7 #  Licensed under the Apache License, Version 2.0 (the "License");
8 #  you may not use this file except in compliance with the License.
9 #  You may obtain a copy of the License at
10 #
11 #       http://www.apache.org/licenses/LICENSE-2.0
12 #
13 #  Unless required by applicable law or agreed to in writing, software
14 #  distributed under the License is distributed on an "AS IS" BASIS,
15 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 #  See the License for the specific language governing permissions and
17 #  limitations under the License.
18 #
19 #  SPDX-License-Identifier: Apache-2.0
20 #  ============LICENSE_END=========================================================
21
22 server:
23   port: {{ .Values.service.internalPort }}
24   ssl:
25     enabled: false
26   servlet:
27     context-path: /policy/api/v1
28
29 spring:
30   security.user:
31     name: "${RESTSERVER_USER}"
32     password: "${RESTSERVER_PASSWORD}"
33   mvc.converters.preferred-json-mapper: gson
34   datasource:
35     url: jdbc:postgresql://{{ .Values.global.postgres.service.name2 }}:{{ .Values.global.postgres.service.port }}/policyadmin
36     driverClassName: org.postgresql.Driver
37     username: "${SQL_USER}"
38     password: "${SQL_PASSWORD}"
39     hikari:
40       connectionTimeout: 30000
41       idleTimeout: 600000
42       maxLifetime: 1800000
43       maximumPoolSize: 10
44   jpa:
45     hibernate:
46       ddl-auto: none
47       naming:
48         physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
49         implicit-strategy: org.onap.policy.common.spring.utils.CustomImplicitNamingStrategy
50
51 policy-api:
52   name: ApiGroup
53   aaf: false
54
55 policy-preload:
56   policyTypes:
57     - policytypes/onap.policies.monitoring.tcagen2.yaml
58     - policytypes/onap.policies.monitoring.tcagen2.v2.yaml
59     - policytypes/onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server.yaml
60     - policytypes/onap.policies.monitoring.dcae-restconfcollector.yaml
61     - policytypes/onap.policies.monitoring.dcae-pm-subscription-handler.yaml
62     - policytypes/onap.policies.monitoring.dcae-pm-mapper.yaml
63     - policytypes/onap.policies.Optimization.yaml
64     - policytypes/onap.policies.optimization.Resource.yaml
65     - policytypes/onap.policies.optimization.Service.yaml
66     - policytypes/onap.policies.optimization.resource.AffinityPolicy.yaml
67     - policytypes/onap.policies.optimization.resource.DistancePolicy.yaml
68     - policytypes/onap.policies.optimization.resource.HpaPolicy.yaml
69     - policytypes/onap.policies.optimization.resource.OptimizationPolicy.yaml
70     - policytypes/onap.policies.optimization.resource.PciPolicy.yaml
71     - policytypes/onap.policies.optimization.service.QueryPolicy.yaml
72     - policytypes/onap.policies.optimization.service.SubscriberPolicy.yaml
73     - policytypes/onap.policies.optimization.resource.Vim_fit.yaml
74     - policytypes/onap.policies.optimization.resource.VnfPolicy.yaml
75     - policytypes/onap.policies.controlloop.guard.Common.yaml
76     - policytypes/onap.policies.controlloop.guard.common.Blacklist.yaml
77     - policytypes/onap.policies.controlloop.guard.common.FrequencyLimiter.yaml
78     - policytypes/onap.policies.controlloop.guard.common.MinMax.yaml
79     - policytypes/onap.policies.controlloop.guard.common.Filter.yaml
80     - policytypes/onap.policies.controlloop.guard.coordination.FirstBlocksSecond.yaml
81     - policytypes/onap.policies.Naming.yaml
82     - policytypes/onap.policies.Match.yaml
83     - policytypes/onap.policies.native.Drools.yaml
84     - policytypes/onap.policies.native.Xacml.yaml
85     - policytypes/onap.policies.native.ToscaXacml.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     - policytypes/onap.policies.native.opa.yaml
91   policies:
92     - policies/sdnc.policy.naming.input.tosca.yaml
93     - policies/opa.policy.slice.capacity.check.tosca.yaml
94
95 management:
96   endpoints:
97     web:
98       base-path: /
99       exposure:
100         include: health,metrics,prometheus
101       path-mapping.prometheus: metrics