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. |
a.sreekumar | 2f37736 | 2022-02-09 12:40:57 +0000 | [diff] [blame] | 4 | # ================================================================================ |
| 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 | |
| 20 | server: |
| 21 | port: {{ .Values.service.internalPort }} |
amatthews | 736bf37 | 2021-12-14 16:04:15 +0000 | [diff] [blame^] | 22 | ssl: |
| 23 | enabled: {{ (eq "true" (include "common.needTLS" .)) | ternary true false }} |
a.sreekumar | 2f37736 | 2022-02-09 12:40:57 +0000 | [diff] [blame] | 24 | |
| 25 | spring: |
| 26 | security.user: |
| 27 | name: "${RESTSERVER_USER}" |
| 28 | password: "${RESTSERVER_PASSWORD}" |
| 29 | mvc.converters.preferred-json-mapper: gson |
| 30 | datasource: |
amatthews | 736bf37 | 2021-12-14 16:04:15 +0000 | [diff] [blame^] | 31 | url: jdbc:mariadb://{{ .Values.db.service.name }}/policyadmin |
a.sreekumar | 2f37736 | 2022-02-09 12:40:57 +0000 | [diff] [blame] | 32 | driverClassName: org.mariadb.jdbc.Driver |
| 33 | username: "${SQL_USER}" |
| 34 | password: "${SQL_PASSWORD}" |
Prakhar Pandey | a8a47e0 | 2022-04-14 12:15:00 -0400 | [diff] [blame] | 35 | hikari: |
| 36 | maximumPoolSize: 20 |
a.sreekumar | 2f37736 | 2022-02-09 12:40:57 +0000 | [diff] [blame] | 37 | jpa: |
| 38 | properties: |
| 39 | hibernate: |
| 40 | dialect: org.hibernate.dialect.MariaDB103Dialect |
| 41 | hibernate: |
| 42 | ddl-auto: none |
| 43 | naming: |
| 44 | physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl |
| 45 | implicit-strategy: org.onap.policy.common.spring.utils.CustomImplicitNamingStrategy |
| 46 | |
| 47 | policy-api: |
| 48 | name: ApiGroup |
| 49 | aaf: false |
| 50 | |
| 51 | database: |
| 52 | name: PolicyProviderParameterGroup |
| 53 | implementation: org.onap.policy.models.provider.impl.DatabasePolicyModelsProviderImpl |
| 54 | driver: org.mariadb.jdbc.Driver |
amatthews | 736bf37 | 2021-12-14 16:04:15 +0000 | [diff] [blame^] | 55 | url: jdbc:mariadb://{{ .Values.db.service.name }}/policyadmin |
a.sreekumar | 2f37736 | 2022-02-09 12:40:57 +0000 | [diff] [blame] | 56 | user: "${SQL_USER}" |
| 57 | password: "${SQL_PASSWORD}" |
| 58 | persistenceUnit: PolicyDb |
| 59 | |
| 60 | policy-preload: |
| 61 | policyTypes: |
| 62 | - policytypes/onap.policies.monitoring.tcagen2.yaml |
jhh | eec3da9 | 2022-09-26 11:36:11 -0500 | [diff] [blame] | 63 | - policytypes/onap.policies.monitoring.tcagen2.v2.yaml |
a.sreekumar | 2f37736 | 2022-02-09 12:40:57 +0000 | [diff] [blame] | 64 | - policytypes/onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server.yaml |
| 65 | - policytypes/onap.policies.monitoring.dcae-restconfcollector.yaml |
| 66 | - policytypes/onap.policies.monitoring.dcae-pm-subscription-handler.yaml |
| 67 | - policytypes/onap.policies.monitoring.dcae-pm-mapper.yaml |
| 68 | - policytypes/onap.policies.Optimization.yaml |
| 69 | - policytypes/onap.policies.optimization.Resource.yaml |
| 70 | - policytypes/onap.policies.optimization.Service.yaml |
| 71 | - policytypes/onap.policies.optimization.resource.AffinityPolicy.yaml |
| 72 | - policytypes/onap.policies.optimization.resource.DistancePolicy.yaml |
| 73 | - policytypes/onap.policies.optimization.resource.HpaPolicy.yaml |
| 74 | - policytypes/onap.policies.optimization.resource.OptimizationPolicy.yaml |
| 75 | - policytypes/onap.policies.optimization.resource.PciPolicy.yaml |
| 76 | - policytypes/onap.policies.optimization.service.QueryPolicy.yaml |
| 77 | - policytypes/onap.policies.optimization.service.SubscriberPolicy.yaml |
| 78 | - policytypes/onap.policies.optimization.resource.Vim_fit.yaml |
| 79 | - policytypes/onap.policies.optimization.resource.VnfPolicy.yaml |
| 80 | - policytypes/onap.policies.controlloop.guard.Common.yaml |
| 81 | - policytypes/onap.policies.controlloop.guard.common.Blacklist.yaml |
| 82 | - policytypes/onap.policies.controlloop.guard.common.FrequencyLimiter.yaml |
| 83 | - policytypes/onap.policies.controlloop.guard.common.MinMax.yaml |
| 84 | - policytypes/onap.policies.controlloop.guard.common.Filter.yaml |
| 85 | - policytypes/onap.policies.controlloop.guard.coordination.FirstBlocksSecond.yaml |
| 86 | - policytypes/onap.policies.Naming.yaml |
| 87 | - policytypes/onap.policies.Match.yaml |
| 88 | - policytypes/onap.policies.native.Drools.yaml |
| 89 | - policytypes/onap.policies.native.Xacml.yaml |
| 90 | - policytypes/onap.policies.native.Apex.yaml |
| 91 | - policytypes/onap.policies.controlloop.operational.Common.yaml |
| 92 | - policytypes/onap.policies.controlloop.operational.common.Apex.yaml |
| 93 | - policytypes/onap.policies.controlloop.operational.common.Drools.yaml |
| 94 | policies: |
| 95 | - policies/sdnc.policy.naming.input.tosca.yaml |
| 96 | |
| 97 | management: |
| 98 | endpoints: |
| 99 | web: |
| 100 | base-path: / |
| 101 | exposure: |
| 102 | include: health,metrics,prometheus |
| 103 | path-mapping.prometheus: metrics |