a.sreekumar | 2f37736 | 2022-02-09 12:40:57 +0000 | [diff] [blame] | 1 | # ============LICENSE_START======================================================= |
| 2 | # Copyright (C) 2022 Bell Canada. All rights reserved. |
jhh | eec3da9 | 2022-09-26 11:36:11 -0500 | [diff] [blame] | 3 | # Modifications Copyright (C) 2022 AT&T Intellectual Property. |
Andreas Geissler | f10c555 | 2023-03-21 18:09:46 +0100 | [diff] [blame] | 4 | # Modification (C) 2023 Deutsche Telekom. All rights reserved. |
a.sreekumar | 2f37736 | 2022-02-09 12:40:57 +0000 | [diff] [blame] | 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 }} |
amatthews | 736bf37 | 2021-12-14 16:04:15 +0000 | [diff] [blame] | 23 | ssl: |
Andreas Geissler | f10c555 | 2023-03-21 18:09:46 +0100 | [diff] [blame] | 24 | enabled: false |
saul.gill | 5e61140 | 2023-03-02 11:49:23 +0000 | [diff] [blame] | 25 | servlet: |
| 26 | context-path: /policy/api/v1 |
a.sreekumar | 2f37736 | 2022-02-09 12:40:57 +0000 | [diff] [blame] | 27 | |
| 28 | spring: |
| 29 | security.user: |
| 30 | name: "${RESTSERVER_USER}" |
| 31 | password: "${RESTSERVER_PASSWORD}" |
| 32 | mvc.converters.preferred-json-mapper: gson |
| 33 | datasource: |
amatthews | 736bf37 | 2021-12-14 16:04:15 +0000 | [diff] [blame] | 34 | url: jdbc:mariadb://{{ .Values.db.service.name }}/policyadmin |
a.sreekumar | 2f37736 | 2022-02-09 12:40:57 +0000 | [diff] [blame] | 35 | driverClassName: org.mariadb.jdbc.Driver |
| 36 | username: "${SQL_USER}" |
| 37 | password: "${SQL_PASSWORD}" |
Prakhar Pandey | a8a47e0 | 2022-04-14 12:15:00 -0400 | [diff] [blame] | 38 | hikari: |
| 39 | maximumPoolSize: 20 |
a.sreekumar | 2f37736 | 2022-02-09 12:40:57 +0000 | [diff] [blame] | 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 |
amatthews | 736bf37 | 2021-12-14 16:04:15 +0000 | [diff] [blame] | 58 | url: jdbc:mariadb://{{ .Values.db.service.name }}/policyadmin |
a.sreekumar | 2f37736 | 2022-02-09 12:40:57 +0000 | [diff] [blame] | 59 | user: "${SQL_USER}" |
| 60 | password: "${SQL_PASSWORD}" |
| 61 | persistenceUnit: PolicyDb |
| 62 | |
| 63 | policy-preload: |
| 64 | policyTypes: |
| 65 | - policytypes/onap.policies.monitoring.tcagen2.yaml |
jhh | eec3da9 | 2022-09-26 11:36:11 -0500 | [diff] [blame] | 66 | - policytypes/onap.policies.monitoring.tcagen2.v2.yaml |
a.sreekumar | 2f37736 | 2022-02-09 12:40:57 +0000 | [diff] [blame] | 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 |