blob: 157db833b284f3b7ade97dc8bbe8be65f6054abc [file] [log] [blame]
saul.gill7124a4b2021-09-09 12:02:49 +01001# ============LICENSE_START=======================================================
liamfallon312ab372021-12-13 14:33:33 +00002# Copyright (C) 2021-2022 Nordix Foundation. All rights reserved.
saul.gill7124a4b2021-09-09 12:02:49 +01003# ================================================================================
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
19spring:
20 security:
21 user:
22 name: ${RUNTIME_USER}
23 password: ${RUNTIME_PASSWORD}
24 http:
25 converters:
26 preferred-json-mapper: gson
liamfallon312ab372021-12-13 14:33:33 +000027 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
saul.gill7124a4b2021-09-09 12:02:49 +010037
38security:
39 enable-csrf: false
40
41server:
42 port: 6969
43 servlet:
44 context-path: /onap/controlloop
45 error:
46 path: /error
47
48
49runtime:
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
liamfallon312ab372021-12-13 14:33:33 +000060 databasePlatform: org.eclipse.persistence.platform.database.MySQLPlatform
saul.gill7124a4b2021-09-09 12:02:49 +010061 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
86management:
87 endpoints:
88 web:
89 exposure:
90 include: health, metrics, prometheus