a.sreekumar | 2f37736 | 2022-02-09 12:40:57 +0000 | [diff] [blame] | 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 | jpa: |
| 33 | properties: |
| 34 | hibernate: |
| 35 | dialect: org.hibernate.dialect.MariaDB103Dialect |
| 36 | hibernate: |
| 37 | ddl-auto: none |
| 38 | naming: |
| 39 | physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl |
| 40 | implicit-strategy: org.onap.policy.common.spring.utils.CustomImplicitNamingStrategy |
| 41 | |
| 42 | policy-api: |
| 43 | name: ApiGroup |
| 44 | aaf: false |
| 45 | |
| 46 | database: |
| 47 | name: PolicyProviderParameterGroup |
| 48 | implementation: org.onap.policy.models.provider.impl.DatabasePolicyModelsProviderImpl |
| 49 | driver: org.mariadb.jdbc.Driver |
| 50 | url: jdbc:mariadb://{{ .Values.db.service.name }}:{{ .Values.db.service.internalPort}}/policyadmin |
| 51 | user: "${SQL_USER}" |
| 52 | password: "${SQL_PASSWORD}" |
| 53 | persistenceUnit: PolicyDb |
| 54 | |
| 55 | policy-preload: |
| 56 | policyTypes: |
| 57 | - policytypes/onap.policies.monitoring.tcagen2.yaml |
| 58 | - policytypes/onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server.yaml |
| 59 | - policytypes/onap.policies.monitoring.dcae-restconfcollector.yaml |
| 60 | - policytypes/onap.policies.monitoring.dcae-pm-subscription-handler.yaml |
| 61 | - policytypes/onap.policies.monitoring.dcae-pm-mapper.yaml |
| 62 | - policytypes/onap.policies.Optimization.yaml |
| 63 | - policytypes/onap.policies.optimization.Resource.yaml |
| 64 | - policytypes/onap.policies.optimization.Service.yaml |
| 65 | - policytypes/onap.policies.optimization.resource.AffinityPolicy.yaml |
| 66 | - policytypes/onap.policies.optimization.resource.DistancePolicy.yaml |
| 67 | - policytypes/onap.policies.optimization.resource.HpaPolicy.yaml |
| 68 | - policytypes/onap.policies.optimization.resource.OptimizationPolicy.yaml |
| 69 | - policytypes/onap.policies.optimization.resource.PciPolicy.yaml |
| 70 | - policytypes/onap.policies.optimization.service.QueryPolicy.yaml |
| 71 | - policytypes/onap.policies.optimization.service.SubscriberPolicy.yaml |
| 72 | - policytypes/onap.policies.optimization.resource.Vim_fit.yaml |
| 73 | - policytypes/onap.policies.optimization.resource.VnfPolicy.yaml |
| 74 | - policytypes/onap.policies.controlloop.guard.Common.yaml |
| 75 | - policytypes/onap.policies.controlloop.guard.common.Blacklist.yaml |
| 76 | - policytypes/onap.policies.controlloop.guard.common.FrequencyLimiter.yaml |
| 77 | - policytypes/onap.policies.controlloop.guard.common.MinMax.yaml |
| 78 | - policytypes/onap.policies.controlloop.guard.common.Filter.yaml |
| 79 | - policytypes/onap.policies.controlloop.guard.coordination.FirstBlocksSecond.yaml |
| 80 | - policytypes/onap.policies.Naming.yaml |
| 81 | - policytypes/onap.policies.Match.yaml |
| 82 | - policytypes/onap.policies.native.Drools.yaml |
| 83 | - policytypes/onap.policies.native.Xacml.yaml |
| 84 | - policytypes/onap.policies.native.Apex.yaml |
| 85 | - policytypes/onap.policies.controlloop.operational.Common.yaml |
| 86 | - policytypes/onap.policies.controlloop.operational.common.Apex.yaml |
| 87 | - policytypes/onap.policies.controlloop.operational.common.Drools.yaml |
| 88 | policies: |
| 89 | - policies/sdnc.policy.naming.input.tosca.yaml |
| 90 | |
| 91 | management: |
| 92 | endpoints: |
| 93 | web: |
| 94 | base-path: / |
| 95 | exposure: |
| 96 | include: health,metrics,prometheus |
| 97 | path-mapping.prometheus: metrics |