blob: bae59418545bf20338007a35b9c59b733f3b8132 [file] [log] [blame]
rameshiyer273c3402d2021-09-21 15:14:39 +01001# ============LICENSE_START=======================================================
FrancescoFioraEst9c79e262022-02-22 13:12:19 +00002# Copyright (C) 2021-2022 Nordix Foundation.
rameshiyer273c3402d2021-09-21 15:14:39 +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
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000019spring:
20 security:
21 user:
22 name: ${RESTSERVER_USER}
23 password: ${RESTSERVER_PASSWORD}
Sirisha_Manchikanti73c5f002022-07-25 17:04:45 +010024{{- if .Values.config.useStrimziKafka }}
25 kafka:
Sirisha_Manchikantib402a592022-09-09 12:01:20 +010026 consumer:
27 group-id: {{ .Values.config.kafka.consumer.groupId }}
Sirisha_Manchikanti73c5f002022-07-25 17:04:45 +010028 bootstrap-servers: {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092
29 security.protocol: SASL_PLAINTEXT
30 properties.sasl:
31 mechanism: SCRAM-SHA-512
32 jaas.config: ${JAASLOGIN}
33{{ else }}
Sirisha_Manchikantib402a592022-09-09 12:01:20 +010034{{ toYaml .Values.config.eventConsumption | nindent 2 }}
Sirisha_Manchikanti73c5f002022-07-25 17:04:45 +010035{{- end }}
36
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000037security:
38 enable-csrf: false
39
rameshiyer273c3402d2021-09-21 15:14:39 +010040participant:
41 intermediaryParameters:
42 reportingTimeIntervalMs: 120000
43 description: Participant Description
44 participantId:
45 name: HttpParticipant0
46 version: 1.0.0
47 participantType:
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000048 name: org.onap.policy.clamp.acm.HttpParticipant
rameshiyer273c3402d2021-09-21 15:14:39 +010049 version: 2.3.4
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000050 clampAutomationCompositionTopics:
rameshiyer273c3402d2021-09-21 15:14:39 +010051 topicSources:
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000052 - topic: POLICY-ACRUNTIME-PARTICIPANT
rameshiyer273c3402d2021-09-21 15:14:39 +010053 servers:
54 - ${topicServer:message-router}
55 topicCommInfrastructure: dmaap
56 fetchTimeout: 15000
57 useHttps: true
58 topicSinks:
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000059 - topic: POLICY-ACRUNTIME-PARTICIPANT
rameshiyer273c3402d2021-09-21 15:14:39 +010060 servers:
61 - ${topicServer:message-router}
62 topicCommInfrastructure: dmaap
63 useHttps: true
Sirisha_Manchikantib402a592022-09-09 12:01:20 +010064# If Strimzi Kafka to be used for communication, replace clampAutomationCompositionTopics configuration with below
65# clampAutomationCompositionTopics:
66# topicSources:
67# - topic: policy-acruntime-participant
68# servers:
69# - {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092
70# topicCommInfrastructure: kafka
71# fetchTimeout: 15000
72# useHttps: true
73# additionalProps:
74# security.protocol: SASL_PLAINTEXT
75# sasl.mechanism: SCRAM-SHA-512
76# sasl.jaas.config: ${JAASLOGIN}
77# topicSinks:
78# - topic: policy-acruntime-participant
79# servers:
80# - {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092
81# topicCommInfrastructure: kafka
82# useHttps: true
83# additionalProps:
84# security.protocol: SASL_PLAINTEXT
85# sasl.mechanism: SCRAM-SHA-512
86# sasl.jaas.config: ${JAASLOGIN}
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000087
88management:
89 endpoints:
90 web:
91 exposure:
92 include: health, metrics, prometheus
93server:
94 port: 8084
95 servlet:
96 context-path: /onap/httpparticipant