1 # ============LICENSE_START=======================================================
2 # Copyright (C) 2021-2022 Nordix Foundation.
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
8 # http://www.apache.org/licenses/LICENSE-2.0
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.
16 # SPDX-License-Identifier: Apache-2.0
17 # ============LICENSE_END=========================================================
23 password: ${RUNTIME_PASSWORD}
26 preferred-json-mapper: gson
28 url: jdbc:mariadb://{{ .Values.db.service.name }}:{{ .Values.db.service.internalPort }}/clampacm
29 driverClassName: org.mariadb.jdbc.Driver
31 password: ${SQL_PASSWORD}
33 connectionTimeout: 30000
41 physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
42 implicit-strategy: org.onap.policy.common.spring.utils.CustomImplicitNamingStrategy
45 dialect: org.hibernate.dialect.MariaDB103Dialect
49 group-id: {{ .Values.config.kafka.consumer.groupId }}
50 {{- if .Values.config.useStrimziKafka }}
51 bootstrap-servers: {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092
52 security.protocol: SASL_PLAINTEXT
54 mechanism: SCRAM-SHA-512
55 jaas.config: ${JAASLOGIN}
57 {{ toYaml .Values.config.eventConsumption | nindent 2 }}
66 context-path: /onap/policy/clamp/acm
70 enabled: {{ (eq "true" (include "common.needTLS" .)) | ternary true false }}
74 participantParameters:
76 maxMessageAgeMs: 600000
77 maxStatusWaitMs: 100000
84 topic: POLICY-ACRUNTIME-PARTICIPANT
86 - ${topicServer:message-router}
87 topicCommInfrastructure: dmaap
88 useHttps: {{ (eq "true" (include "common.needTLS" .)) | ternary "true" "false" }}
92 topic: POLICY-ACRUNTIME-PARTICIPANT
94 - ${topicServer:message-router}
95 topicCommInfrastructure: dmaap
96 useHttps: {{ (eq "true" (include "common.needTLS" .)) | ternary "true" "false" }}
98 # If Strimzi Kafka to be used for communication, replace clampAutomationCompositionTopics configuration with below
99 # topicParameterGroup:
102 # topic: policy-acruntime-participant
104 # - {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092
105 # topicCommInfrastructure: kafka
107 # fetchTimeout: 15000
109 # security.protocol: SASL_PLAINTEXT
110 # sasl.mechanism: SCRAM-SHA-512
111 # sasl.jaas.config: ${JAASLOGIN}
114 # topic: policy-acruntime-participant
116 # - {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092
117 # topicCommInfrastructure: kafka
120 # security.protocol: SASL_PLAINTEXT
121 # sasl.mechanism: SCRAM-SHA-512
122 # sasl.jaas.config: ${JAASLOGIN}
128 include: health, metrics, prometheus