blob: 51d4b47a156301cf2a23f190cc87f708b18c0b43 [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:
liamfallon72ffede2022-10-20 11:19:18 +010020 autoconfigure:
21 exclude: >
22 org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,
23 org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration,
24 org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000025 security:
26 user:
27 name: ${RESTSERVER_USER}
28 password: ${RESTSERVER_PASSWORD}
Sirisha_Manchikanti73c5f002022-07-25 17:04:45 +010029{{- if .Values.config.useStrimziKafka }}
30 kafka:
Sirisha_Manchikantib402a592022-09-09 12:01:20 +010031 consumer:
32 group-id: {{ .Values.config.kafka.consumer.groupId }}
Sirisha_Manchikanti73c5f002022-07-25 17:04:45 +010033 bootstrap-servers: {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092
34 security.protocol: SASL_PLAINTEXT
35 properties.sasl:
36 mechanism: SCRAM-SHA-512
37 jaas.config: ${JAASLOGIN}
38{{ else }}
Sirisha_Manchikantib402a592022-09-09 12:01:20 +010039{{ toYaml .Values.config.eventConsumption | nindent 2 }}
Sirisha_Manchikanti73c5f002022-07-25 17:04:45 +010040{{- end }}
41
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000042security:
43 enable-csrf: false
44
rameshiyer273c3402d2021-09-21 15:14:39 +010045participant:
46 intermediaryParameters:
47 reportingTimeIntervalMs: 120000
48 description: Participant Description
49 participantId:
50 name: HttpParticipant0
51 version: 1.0.0
52 participantType:
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000053 name: org.onap.policy.clamp.acm.HttpParticipant
rameshiyer273c3402d2021-09-21 15:14:39 +010054 version: 2.3.4
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000055 clampAutomationCompositionTopics:
rameshiyer273c3402d2021-09-21 15:14:39 +010056 topicSources:
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000057 - topic: POLICY-ACRUNTIME-PARTICIPANT
rameshiyer273c3402d2021-09-21 15:14:39 +010058 servers:
59 - ${topicServer:message-router}
60 topicCommInfrastructure: dmaap
61 fetchTimeout: 15000
amatthews736bf372021-12-14 16:04:15 +000062 useHttps: {{ (eq "true" (include "common.needTLS" .)) | ternary "true" "false" }}
rameshiyer273c3402d2021-09-21 15:14:39 +010063 topicSinks:
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000064 - topic: POLICY-ACRUNTIME-PARTICIPANT
rameshiyer273c3402d2021-09-21 15:14:39 +010065 servers:
66 - ${topicServer:message-router}
67 topicCommInfrastructure: dmaap
amatthews736bf372021-12-14 16:04:15 +000068 useHttps: {{ (eq "true" (include "common.needTLS" .)) | ternary "true" "false" }}
Sirisha_Manchikantib402a592022-09-09 12:01:20 +010069# If Strimzi Kafka to be used for communication, replace clampAutomationCompositionTopics configuration with below
70# clampAutomationCompositionTopics:
71# topicSources:
72# - topic: policy-acruntime-participant
73# servers:
74# - {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092
75# topicCommInfrastructure: kafka
76# fetchTimeout: 15000
77# useHttps: true
78# additionalProps:
79# security.protocol: SASL_PLAINTEXT
80# sasl.mechanism: SCRAM-SHA-512
81# sasl.jaas.config: ${JAASLOGIN}
82# topicSinks:
83# - topic: policy-acruntime-participant
84# servers:
85# - {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092
86# topicCommInfrastructure: kafka
87# useHttps: true
88# additionalProps:
89# security.protocol: SASL_PLAINTEXT
90# sasl.mechanism: SCRAM-SHA-512
91# sasl.jaas.config: ${JAASLOGIN}
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000092
93management:
94 endpoints:
95 web:
96 exposure:
97 include: health, metrics, prometheus
98server:
99 port: 8084
100 servlet:
101 context-path: /onap/httpparticipant
amatthews736bf372021-12-14 16:04:15 +0000102 ssl:
103 enabled: {{ (eq "true" (include "common.needTLS" .)) | ternary true false }}
104