0404a8a68c3b078af0620ea07f2433f92eb5e69f
[oom.git] /
1 #  ============LICENSE_START=======================================================
2 #  Copyright (C) 2022,2024 Nordix Foundation. All rights reserved.
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 #       http://www.apache.org/licenses/LICENSE-2.0
8
9 #  Unless required by applicable law or agreed to in writing, software
10 #  distributed under the License is distributed on an "AS IS" BASIS,
11 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 #  See the License for the specific language governing permissions and
13 #  limitations under the License.
14
15 #  SPDX-License-Identifier: Apache-2.0
16 #  ============LICENSE_END=========================================================
17
18 spring:
19   autoconfigure:
20     exclude:
21       - org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration
22       - org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration
23       - org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration
24       - org.springframework.boot.autoconfigure.data.web.SpringDataWebAutoConfiguration
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-d21eb79c6c00
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.A1PMSAutomationCompositionElement
84         typeVersion: 1.0.1
85
86
87 management:
88   endpoints:
89     web:
90       base-path: /
91       exposure:
92         include: health, metrics, prometheus
93 server:
94   port: 8086
95   servlet:
96     context-path: /onap/policy/clamp/acm/a1pmsparticipant
97   ssl:
98     enabled: false