diff options
author | ramverma <ram.krishna.verma@est.tech> | 2019-04-12 18:56:03 +0000 |
---|---|---|
committer | ramverma <ram.krishna.verma@est.tech> | 2019-04-12 18:56:03 +0000 |
commit | 6acdabf126d24f2f01a360e8e4ff1837ac264b09 (patch) | |
tree | f00c20701e0bc75541968197baf64841706707c2 /kubernetes/policy/charts/policy-pap/resources | |
parent | 44bb1331811826ab4ac256a8c60b9333e68bd2da (diff) |
Adding configurations & fixing policy/pap charts
1) Adding db configurations.
2) Adding dmaap topic configurations.
3) Adding "policyadmin" db.
4) Updating policy/pap charts.
5) Adding "operationshistory" db.
Change-Id: I50b67255cfc1d636d0f370d6c93628a30d6dac26
Issue-ID: POLICY-1640
Signed-off-by: ramverma <ram.krishna.verma@est.tech>
Diffstat (limited to 'kubernetes/policy/charts/policy-pap/resources')
-rw-r--r-- | kubernetes/policy/charts/policy-pap/resources/config/config.json | 19 | ||||
-rw-r--r-- | kubernetes/policy/charts/policy-pap/resources/config/topic.properties | 22 |
2 files changed, 41 insertions, 0 deletions
diff --git a/kubernetes/policy/charts/policy-pap/resources/config/config.json b/kubernetes/policy/charts/policy-pap/resources/config/config.json index 81451037de..995c951b81 100644 --- a/kubernetes/policy/charts/policy-pap/resources/config/config.json +++ b/kubernetes/policy/charts/policy-pap/resources/config/config.json @@ -22,5 +22,24 @@ "port":6969, "userName":"healthcheck", "password":"zb!XztG34" + }, + "pdpParameters": { + "updateParameters": { + "maxRetryCount": 1, + "maxWaitMs": 30000 + }, + "stateChangeParameters": { + "maxRetryCount": 1, + "maxWaitMs": 30000 + } + }, + "databaseProviderParameters": { + "name": "PolicyProviderParameterGroup", + "implementation": "org.onap.policy.models.provider.impl.DatabasePolicyModelsProviderImpl", + "databaseDriver": "org.mariadb.jdbc.Driver", + "databaseUrl": "jdbc:mariadb://{{.Values.global.mariadb.nameOverride}}:3306/policyadmin", + "databaseUser": "policy_user", + "databasePassword": "cG9saWN5X3VzZXI=", + "persistenceUnit": "PolicyMariaDb" } } diff --git a/kubernetes/policy/charts/policy-pap/resources/config/topic.properties b/kubernetes/policy/charts/policy-pap/resources/config/topic.properties new file mode 100644 index 0000000000..c1124a1172 --- /dev/null +++ b/kubernetes/policy/charts/policy-pap/resources/config/topic.properties @@ -0,0 +1,22 @@ +# ============LICENSE_START======================================================= +# ONAP PAP +# ================================================================================ +# Copyright (C) 2019 Nordix Foundation. +# ================================================================================ +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ============LICENSE_END========================================================= + +dmaap.sink.topics=POLICY-PDP-PAP +dmaap.sink.topics.POLICY-PDP-PAP.servers=message-router +dmaap.source.topics=POLICY-PDP-PAP +dmaap.source.topics.POLICY-PDP-PAP.servers=message-router |