8b877ffc0d0b213d1dd51365daa647d5464fd715
[oom.git] /
1 #  ============LICENSE_START=======================================================
2 #   Copyright (C) 2021-2024 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
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
19 spring:
20   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
25   security:
26     user:
27       name: ${RESTSERVER_USER}
28       password: ${RESTSERVER_PASSWORD}
29
30 security:
31   enable-csrf: false
32
33 participant:
34   intermediaryParameters:
35     topics:
36       operationTopic: {{ .Values.global.kafkaTopics.acRuntimeOperationTopic.name }}
37       syncTopic: {{ .Values.global.kafkaTopics.acRuntimeSyncTopic.name }}
38     reportingTimeIntervalMs: 120000
39     description: Participant Description
40     participantId: 101c62b3-8918-41b9-a747-d21eb79c6c01
41     clampAutomationCompositionTopics:
42       topicSources:
43         -
44           useHttps: false
45           fetchTimeout: 15000
46           topic: {{ .Values.global.kafkaTopics.acRuntimeOperationTopic.name }}
47           topicCommInfrastructure: kafka
48           servers:
49             - {{ include "common.release" . }}-{{ .Values.global.kafkaBootstrap }}
50           additionalProps:
51             group.id: {{ (first .Values.kafkaUser.acls).name }}
52             allow.auto.create.topics: false
53             security.protocol: SASL_PLAINTEXT
54             sasl.mechanism: {{ .Values.kafkaUser.authenticationType | upper }}
55             sasl.jaas.config: ${SASL_JAAS_CONFIG}
56         -
57           useHttps: false
58           fetchTimeout: 15000
59           topic: {{ .Values.global.kafkaTopics.acRuntimeSyncTopic.name }}
60           topicCommInfrastructure: kafka
61           servers:
62             - {{ include "common.release" . }}-{{ .Values.global.kafkaBootstrap }}
63           additionalProps:
64             allow.auto.create.topics: false
65             security.protocol: SASL_PLAINTEXT
66             sasl.mechanism: {{ .Values.kafkaUser.authenticationType | upper }}
67             sasl.jaas.config: ${SASL_JAAS_CONFIG}
68       topicSinks:
69         -
70           useHttps: false
71           fetchTimeout: 15000
72           topic: {{ .Values.global.kafkaTopics.acRuntimeOperationTopic.name }}
73           topicCommInfrastructure: kafka
74           servers:
75             - {{ include "common.release" . }}-{{ .Values.global.kafkaBootstrap }}
76           additionalProps:
77             client.id: {{ (first .Values.kafkaUser.acls).name }}-client-id
78             security.protocol: SASL_PLAINTEXT
79             sasl.mechanism: {{ .Values.kafkaUser.authenticationType | upper }}
80             sasl.jaas.config: ${SASL_JAAS_CONFIG}
81     participantSupportedElementTypes:
82       -
83         typeName: org.onap.policy.clamp.acm.HttpAutomationCompositionElement
84         typeVersion: 1.0.0
85
86
87 management:
88   endpoints:
89     web:
90       exposure:
91         include: health, metrics, prometheus
92 server:
93   port: 8084
94   servlet:
95     context-path: /onap/httpparticipant
96   ssl:
97     enabled: false