Merge "[HOLMES] Fixed the healthcheck failure"
[oom.git] / kubernetes / policy / components / policy-api / resources / config / config.json
1 {{/*
2 #  ============LICENSE_START=======================================================
3 #   Copyright (C) 2019-2020 AT&T Intellectual Property. All rights reserved.
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 {
21     "name":"ApiGroup",
22     "restServerParameters":{
23         "host":"0.0.0.0",
24         "port":6969,
25         "userName":"${RESTSERVER_USER}",
26         "password":"${RESTSERVER_PASSWORD}",
27         "https": true,
28         "aaf": false,
29         "prometheus": true
30     },
31     "databaseProviderParameters": {
32         "name": "PolicyProviderParameterGroup",
33         "implementation": "org.onap.policy.models.provider.impl.DatabasePolicyModelsProviderImpl",
34         "databaseDriver": "org.mariadb.jdbc.Driver",
35         "databaseUrl": "jdbc:mariadb://{{ .Values.db.service.name }}:{{ .Values.db.service.internalPort }}/policyadmin",
36         "databaseUser": "${SQL_USER}",
37         "databasePassword": "${SQL_PASSWORD}",
38         "persistenceUnit": "PolicyMariaDb"
39     },
40     "preloadPolicyTypes": [
41         "policytypes/onap.policies.monitoring.tcagen2.yaml",
42         "policytypes/onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server.yaml",
43         "policytypes/onap.policies.Optimization.yaml",
44         "policytypes/onap.policies.optimization.Resource.yaml",
45         "policytypes/onap.policies.optimization.Service.yaml",
46         "policytypes/onap.policies.optimization.resource.AffinityPolicy.yaml",
47         "policytypes/onap.policies.optimization.resource.DistancePolicy.yaml",
48         "policytypes/onap.policies.optimization.resource.HpaPolicy.yaml",
49         "policytypes/onap.policies.optimization.resource.OptimizationPolicy.yaml",
50         "policytypes/onap.policies.optimization.resource.PciPolicy.yaml",
51         "policytypes/onap.policies.optimization.service.QueryPolicy.yaml",
52         "policytypes/onap.policies.optimization.service.SubscriberPolicy.yaml",
53         "policytypes/onap.policies.optimization.resource.Vim_fit.yaml",
54         "policytypes/onap.policies.optimization.resource.VnfPolicy.yaml",
55         "policytypes/onap.policies.controlloop.guard.Common.yaml",
56         "policytypes/onap.policies.controlloop.guard.common.Blacklist.yaml",
57         "policytypes/onap.policies.controlloop.guard.common.FrequencyLimiter.yaml",
58         "policytypes/onap.policies.controlloop.guard.common.MinMax.yaml",
59         "policytypes/onap.policies.controlloop.guard.common.Filter.yaml",
60         "policytypes/onap.policies.controlloop.guard.coordination.FirstBlocksSecond.yaml",
61         "policytypes/onap.policies.Naming.yaml",
62         "policytypes/onap.policies.Match.yaml",
63         "policytypes/onap.policies.native.Drools.yaml",
64         "policytypes/onap.policies.native.Xacml.yaml",
65         "policytypes/onap.policies.native.Apex.yaml",
66         "policytypes/onap.policies.controlloop.operational.Common.yaml",
67         "policytypes/onap.policies.controlloop.operational.common.Apex.yaml",
68         "policytypes/onap.policies.controlloop.operational.common.Drools.yaml"
69     ],
70    "preloadPolicies" : [
71         "policies/sdnc.policy.naming.input.tosca.yaml"
72     ]
73 }