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=========================================================
22 name: ${RESTSERVER_USER}
23 password: ${RESTSERVER_PASSWORD}
24 {{- if .Values.config.useStrimziKafka }}
27 group-id: {{ .Values.config.kafka.consumer.groupId }}
28 bootstrap-servers: {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092
29 security.protocol: SASL_PLAINTEXT
31 mechanism: SCRAM-SHA-512
32 jaas.config: ${JAASLOGIN}
34 {{ toYaml .Values.config.eventConsumption | nindent 2 }}
41 intermediaryParameters:
42 reportingTimeIntervalMs: 120000
43 description: Participant Description
45 name: HttpParticipant0
48 name: org.onap.policy.clamp.acm.HttpParticipant
50 clampAutomationCompositionTopics:
52 - topic: POLICY-ACRUNTIME-PARTICIPANT
54 - ${topicServer:message-router}
55 topicCommInfrastructure: dmaap
59 - topic: POLICY-ACRUNTIME-PARTICIPANT
61 - ${topicServer:message-router}
62 topicCommInfrastructure: dmaap
64 # If Strimzi Kafka to be used for communication, replace clampAutomationCompositionTopics configuration with below
65 # clampAutomationCompositionTopics:
67 # - topic: policy-acruntime-participant
69 # - {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092
70 # topicCommInfrastructure: kafka
74 # security.protocol: SASL_PLAINTEXT
75 # sasl.mechanism: SCRAM-SHA-512
76 # sasl.jaas.config: ${JAASLOGIN}
78 # - topic: policy-acruntime-participant
80 # - {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092
81 # topicCommInfrastructure: kafka
84 # security.protocol: SASL_PLAINTEXT
85 # sasl.mechanism: SCRAM-SHA-512
86 # sasl.jaas.config: ${JAASLOGIN}
92 include: health, metrics, prometheus
96 context-path: /onap/httpparticipant