Merge "[CPS] Fix statefulset upgrade"
[oom.git] / kubernetes / policy / components / policy-clamp-cl-runtime / resources / config / clRuntimeParameters.yaml
1 #  ============LICENSE_START=======================================================
2 #   Copyright (C) 2021-2022 Nordix Foundation. 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 spring:
20   security:
21     user:
22       name: ${RUNTIME_USER}
23       password: ${RUNTIME_PASSWORD}
24   http:
25     converters:
26       preferred-json-mapper: gson
27   datasource:
28     url: jdbc:mariadb://{{ .Values.db.service.name }}:{{ .Values.db.service.internalPort }}/controlloop
29     driverClassName: org.mariadb.jdbc.Driver
30     username: ${SQL_USER}
31     password: ${SQL_PASSWORD}
32     hikari:
33       connectionTimeout: 30000
34       idleTimeout: 600000
35       maxLifetime: 1800000
36       maximumPoolSize: 10
37
38 security:
39   enable-csrf: false
40
41 server:
42   port: 6969
43   servlet:
44     context-path: /onap/controlloop
45   error:
46     path: /error
47
48
49 runtime:
50   supervisionScannerIntervalSec: 1000
51   participantClUpdateIntervalSec: 1000
52   participantClStateChangeIntervalSec: 1000
53   participantParameters:
54     heartBeatMs: 120000
55     maxMessageAgeMs: 600000
56     maxStatusWaitMs: 100000
57     updateParameters:
58       maxRetryCount: 3
59       maxWaitMs: 100000
60   databasePlatform: org.eclipse.persistence.platform.database.MySQLPlatform
61   databaseProviderParameters:
62     name: PolicyProviderParameterGroup
63     implementation: org.onap.policy.models.provider.impl.DatabasePolicyModelsProviderImpl
64     databaseDriver: org.mariadb.jdbc.Driver
65     databaseUrl: jdbc:mariadb://{{ .Values.db.service.name }}:{{ .Values.db.service.internalPort }}/controlloop
66     databaseUser: ${SQL_USER}
67     databasePassword: ${SQL_PASSWORD}
68     persistenceUnit: CommissioningMariaDb
69   topicParameterGroup:
70     topicSources:
71       -
72         topic: POLICY-CLRUNTIME-PARTICIPANT
73         servers:
74           - ${topicServer:message-router}
75         topicCommInfrastructure: dmaap
76         useHttps: true
77         fetchTimeout: 15000
78     topicSinks:
79       -
80         topic: POLICY-CLRUNTIME-PARTICIPANT
81         servers:
82           - ${topicServer:message-router}
83         topicCommInfrastructure: dmaap
84         useHttps: true
85
86 management:
87   endpoints:
88     web:
89       exposure:
90         include: health, metrics, prometheus