adheli.tavares | 7abe36c | 2022-02-02 14:53:10 +0000 | [diff] [blame] | 1 | server: |
| 2 | port: 6969 |
| 3 | ssl: |
| 4 | enabled: false |
liamfallon | 0132d7a | 2023-01-23 09:52:24 +0000 | [diff] [blame] | 5 | servlet: |
| 6 | context-path: /policy/api/v1 |
adheli.tavares | 7abe36c | 2022-02-02 14:53:10 +0000 | [diff] [blame] | 7 | |
| 8 | spring: |
| 9 | security.user: |
| 10 | name: policyadmin |
| 11 | password: zb!XztG34 |
| 12 | mvc.converters.preferred-json-mapper: gson |
a.sreekumar | 56d9fe3 | 2022-02-24 11:04:04 +0000 | [diff] [blame] | 13 | datasource: |
adheli.tavares | d802fd9 | 2024-08-15 12:39:19 +0100 | [diff] [blame] | 14 | url: jdbc:postgresql://postgres:5432/policyadmin |
| 15 | driverClassName: org.postgresql.Driver |
a.sreekumar | 56d9fe3 | 2022-02-24 11:04:04 +0000 | [diff] [blame] | 16 | username: policy_user |
| 17 | password: policy_user |
| 18 | jpa: |
a.sreekumar | 56d9fe3 | 2022-02-24 11:04:04 +0000 | [diff] [blame] | 19 | hibernate: |
| 20 | ddl-auto: none |
| 21 | naming: |
| 22 | physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl |
| 23 | implicit-strategy: org.onap.policy.common.spring.utils.CustomImplicitNamingStrategy |
| 24 | |
adheli.tavares | 7abe36c | 2022-02-02 14:53:10 +0000 | [diff] [blame] | 25 | policy-api: |
| 26 | name: ApiGroup |
| 27 | aaf: false |
| 28 | |
| 29 | database: |
| 30 | name: PolicyProviderParameterGroup |
| 31 | implementation: org.onap.policy.models.provider.impl.DatabasePolicyModelsProviderImpl |
adheli.tavares | d802fd9 | 2024-08-15 12:39:19 +0100 | [diff] [blame] | 32 | driver: org.postgresql.Driver |
| 33 | url: jdbc:postgresql://postgres:5432/policyadmin |
adheli.tavares | 7abe36c | 2022-02-02 14:53:10 +0000 | [diff] [blame] | 34 | user: policy_user |
| 35 | password: policy_user |
| 36 | persistenceUnit: PolicyDb |
| 37 | |
| 38 | policy-preload: |
| 39 | policyTypes: |
adheli.tavares | 43a40e1 | 2023-07-18 12:04:20 +0100 | [diff] [blame] | 40 | - policytypes/onap.policies.monitoring.tcagen2.yaml |
| 41 | - policytypes/onap.policies.monitoring.tcagen2.v2.yaml |
| 42 | - policytypes/onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server.yaml |
| 43 | - policytypes/onap.policies.monitoring.dcae-restconfcollector.yaml |
| 44 | - policytypes/onap.policies.monitoring.dcae-pm-subscription-handler.yaml |
| 45 | - policytypes/onap.policies.monitoring.dcae-pm-mapper.yaml |
| 46 | - policytypes/onap.policies.Optimization.yaml |
| 47 | - policytypes/onap.policies.optimization.Resource.yaml |
| 48 | - policytypes/onap.policies.optimization.Service.yaml |
| 49 | - policytypes/onap.policies.optimization.resource.AffinityPolicy.yaml |
| 50 | - policytypes/onap.policies.optimization.resource.DistancePolicy.yaml |
| 51 | - policytypes/onap.policies.optimization.resource.HpaPolicy.yaml |
| 52 | - policytypes/onap.policies.optimization.resource.OptimizationPolicy.yaml |
| 53 | - policytypes/onap.policies.optimization.resource.PciPolicy.yaml |
| 54 | - policytypes/onap.policies.optimization.service.QueryPolicy.yaml |
| 55 | - policytypes/onap.policies.optimization.service.SubscriberPolicy.yaml |
| 56 | - policytypes/onap.policies.optimization.resource.Vim_fit.yaml |
| 57 | - policytypes/onap.policies.optimization.resource.VnfPolicy.yaml |
| 58 | - policytypes/onap.policies.controlloop.guard.Common.yaml |
| 59 | - policytypes/onap.policies.controlloop.guard.common.Blacklist.yaml |
| 60 | - policytypes/onap.policies.controlloop.guard.common.FrequencyLimiter.yaml |
| 61 | - policytypes/onap.policies.controlloop.guard.common.MinMax.yaml |
| 62 | - policytypes/onap.policies.controlloop.guard.common.Filter.yaml |
| 63 | - policytypes/onap.policies.controlloop.guard.coordination.FirstBlocksSecond.yaml |
| 64 | - policytypes/onap.policies.Naming.yaml |
| 65 | - policytypes/onap.policies.Match.yaml |
| 66 | - policytypes/onap.policies.native.Drools.yaml |
| 67 | - policytypes/onap.policies.native.Xacml.yaml |
| 68 | - policytypes/onap.policies.native.Apex.yaml |
| 69 | - policytypes/onap.policies.controlloop.operational.Common.yaml |
| 70 | - policytypes/onap.policies.controlloop.operational.common.Apex.yaml |
| 71 | - policytypes/onap.policies.controlloop.operational.common.Drools.yaml |
adheli.tavares | 7abe36c | 2022-02-02 14:53:10 +0000 | [diff] [blame] | 72 | policies: |
adheli.tavares | 43a40e1 | 2023-07-18 12:04:20 +0100 | [diff] [blame] | 73 | - policies/sdnc.policy.naming.input.tosca.yaml |
adheli.tavares | 7abe36c | 2022-02-02 14:53:10 +0000 | [diff] [blame] | 74 | |
| 75 | management: |
| 76 | endpoints: |
| 77 | web: |
| 78 | base-path: / |
| 79 | exposure: |
| 80 | include: health,metrics,prometheus |
adheli.tavares | 43a40e1 | 2023-07-18 12:04:20 +0100 | [diff] [blame] | 81 | path-mapping: |
| 82 | -metrics: plain-metrics |
| 83 | -prometheus: metrics |
adheli.tavares | d802fd9 | 2024-08-15 12:39:19 +0100 | [diff] [blame] | 84 | |
| 85 | --- |
| 86 | |
| 87 | spring: |
| 88 | config: |
| 89 | activate: |
| 90 | on-profile: mariadb |
| 91 | datasource: |
| 92 | url: jdbc:mariadb://mariadb:3306/policyadmin |
| 93 | driverClassName: org.mariadb.jdbc.Driver |
| 94 | username: policy_user |
| 95 | password: policy_user |
| 96 | |
| 97 | database: |
| 98 | name: PolicyProviderParameterGroup |
| 99 | implementation: org.onap.policy.models.provider.impl.DatabasePolicyModelsProviderImpl |
| 100 | driver: org.mariadb.jdbc.Driver |
| 101 | url: jdbc:mariadb://mariadb:3306/policyadmin |
| 102 | user: policy_user |
| 103 | password: policy_user |
| 104 | persistenceUnit: PolicyDb |