blob: 28faa7feed436b492254b7ffae2a7c9a768df363 [file] [log] [blame]
saul.gill7124a4b2021-09-09 12:02:49 +01001# ============LICENSE_START=======================================================
efiacor6910bbe2023-03-03 14:53:16 +00002# Copyright (C) 2021-2023 Nordix Foundation.
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:
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000028 url: jdbc:mariadb://{{ .Values.db.service.name }}:{{ .Values.db.service.internalPort }}/clampacm
liamfallon312ab372021-12-13 14:33:33 +000029 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
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000037 jpa:
38 hibernate:
39 ddl-auto: update
40 naming:
41 physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
42 implicit-strategy: org.onap.policy.common.spring.utils.CustomImplicitNamingStrategy
43 properties:
44 hibernate:
45 dialect: org.hibernate.dialect.MariaDB103Dialect
46 format_sql: true
saul.gill7124a4b2021-09-09 12:02:49 +010047
48security:
49 enable-csrf: false
50
51server:
52 port: 6969
53 servlet:
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000054 context-path: /onap/policy/clamp/acm
saul.gill7124a4b2021-09-09 12:02:49 +010055 error:
56 path: /error
amatthews736bf372021-12-14 16:04:15 +000057 ssl:
Andreas Geisslerf10c5552023-03-21 18:09:46 +010058 enabled: false
saul.gill7124a4b2021-09-09 12:02:49 +010059
saul.gill7124a4b2021-09-09 12:02:49 +010060runtime:
saul.gill7124a4b2021-09-09 12:02:49 +010061 participantParameters:
62 heartBeatMs: 120000
63 maxMessageAgeMs: 600000
64 maxStatusWaitMs: 100000
65 updateParameters:
66 maxRetryCount: 3
67 maxWaitMs: 100000
saul.gill7124a4b2021-09-09 12:02:49 +010068 topicParameterGroup:
69 topicSources:
70 -
efiacor6910bbe2023-03-03 14:53:16 +000071 useHttps: false
72 fetchTimeout: 15000
73 topic: {{ .Values.global.kafkaTopics.acRuntimeTopic.name }}
74 {{ if .Values.global.useStrimziKafka }}
75 topicCommInfrastructure: kafka
76 servers:
77 - {{ include "common.release" . }}-strimzi-kafka-bootstrap:9092
78 additionalProps:
79 group.id: {{ (first .Values.kafkaUser.acls).name }}
80 allow.auto.create.topics: false
81 security.protocol: SASL_PLAINTEXT
82 sasl.mechanism: {{ .Values.kafkaUser.authenticationType | upper }}
83 sasl.jaas.config: ${SASL_JAAS_CONFIG}
84 {{ else }}
85 topicCommInfrastructure: dmaap
saul.gill7124a4b2021-09-09 12:02:49 +010086 servers:
87 - ${topicServer:message-router}
efiacor6910bbe2023-03-03 14:53:16 +000088 {{ end }}
saul.gill7124a4b2021-09-09 12:02:49 +010089 topicSinks:
90 -
efiacor6910bbe2023-03-03 14:53:16 +000091 useHttps: false
92 fetchTimeout: 15000
93 topic: {{ .Values.global.kafkaTopics.acRuntimeTopic.name }}
94 {{ if .Values.global.useStrimziKafka }}
95 topicCommInfrastructure: kafka
96 servers:
97 - {{ include "common.release" . }}-strimzi-kafka-bootstrap:9092
98 additionalProps:
99 client.id: {{ (first .Values.kafkaUser.acls).name }}-client-id
100 security.protocol: SASL_PLAINTEXT
101 sasl.mechanism: {{ .Values.kafkaUser.authenticationType | upper }}
102 sasl.jaas.config: ${SASL_JAAS_CONFIG}
103 {{ else }}
104 topicCommInfrastructure: dmaap
saul.gill7124a4b2021-09-09 12:02:49 +0100105 servers:
106 - ${topicServer:message-router}
efiacor6910bbe2023-03-03 14:53:16 +0000107 {{ end }}
Sirisha_Manchikantib402a592022-09-09 12:01:20 +0100108
saul.gill7124a4b2021-09-09 12:02:49 +0100109management:
110 endpoints:
111 web:
112 exposure:
113 include: health, metrics, prometheus