blob: 3d8de256f5bddf2e868796a3f79d76025c37d89a [file] [log] [blame]
adheli.tavares7abe36c2022-02-02 14:53:10 +00001server:
2 port: 6969
3 ssl:
4 enabled: false
liamfallon0132d7a2023-01-23 09:52:24 +00005 servlet:
6 context-path: /policy/api/v1
adheli.tavares7abe36c2022-02-02 14:53:10 +00007
8spring:
9 security.user:
10 name: policyadmin
11 password: zb!XztG34
12 mvc.converters.preferred-json-mapper: gson
a.sreekumar56d9fe32022-02-24 11:04:04 +000013 datasource:
adheli.tavaresd802fd92024-08-15 12:39:19 +010014 url: jdbc:postgresql://postgres:5432/policyadmin
15 driverClassName: org.postgresql.Driver
a.sreekumar56d9fe32022-02-24 11:04:04 +000016 username: policy_user
17 password: policy_user
18 jpa:
a.sreekumar56d9fe32022-02-24 11:04:04 +000019 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.tavares7abe36c2022-02-02 14:53:10 +000025policy-api:
26 name: ApiGroup
27 aaf: false
28
29database:
30 name: PolicyProviderParameterGroup
31 implementation: org.onap.policy.models.provider.impl.DatabasePolicyModelsProviderImpl
adheli.tavaresd802fd92024-08-15 12:39:19 +010032 driver: org.postgresql.Driver
33 url: jdbc:postgresql://postgres:5432/policyadmin
adheli.tavares7abe36c2022-02-02 14:53:10 +000034 user: policy_user
35 password: policy_user
36 persistenceUnit: PolicyDb
37
38policy-preload:
39 policyTypes:
adheli.tavares43a40e12023-07-18 12:04:20 +010040 - 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.tavares7abe36c2022-02-02 14:53:10 +000072 policies:
adheli.tavares43a40e12023-07-18 12:04:20 +010073 - policies/sdnc.policy.naming.input.tosca.yaml
adheli.tavares7abe36c2022-02-02 14:53:10 +000074
75management:
76 endpoints:
77 web:
78 base-path: /
79 exposure:
80 include: health,metrics,prometheus
adheli.tavares43a40e12023-07-18 12:04:20 +010081 path-mapping:
82 -metrics: plain-metrics
83 -prometheus: metrics
adheli.tavaresd802fd92024-08-15 12:39:19 +010084
85---
86
87spring:
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
97database:
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