[POLICY-PPNT] Move policy-clamp-ppnt use case to use strimzi kafka
[oom.git] / kubernetes / policy / components / policy-clamp-ac-a1pms-ppnt / resources / config / A1pmsParticipantParameters.yaml
1 #  ============LICENSE_START=======================================================
2 #  Copyright (C) 2022 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     reportingTimeIntervalMs: 120000
36     description: Participant Description
37     participantId: 101c62b3-8918-41b9-a747-d21eb79c6c00
38     clampAutomationCompositionTopics:
39       topicSources:
40         -
41           useHttps: false
42           fetchTimeout: 15000
43           topic: {{ .Values.global.kafkaTopics.acRuntimeTopic.name }}
44           {{ if .Values.global.useStrimziKafka }}
45           topicCommInfrastructure: kafka
46           servers:
47             - {{ include "common.release" . }}-strimzi-kafka-bootstrap:9092
48           additionalProps:
49             group.id: {{ (first .Values.kafkaUser.acls).name }}
50             allow.auto.create.topics: false
51             security.protocol: SASL_PLAINTEXT
52             sasl.mechanism: {{ .Values.kafkaUser.authenticationType | upper }}
53             sasl.jaas.config: ${SASL_JAAS_CONFIG}
54           {{ else }}
55           topicCommInfrastructure: dmaap
56           servers:
57             - ${topicServer:message-router}
58           {{ end }}
59       topicSinks:
60         -
61           useHttps: false
62           fetchTimeout: 15000
63           topic: {{ .Values.global.kafkaTopics.acRuntimeTopic.name }}
64           {{ if .Values.global.useStrimziKafka }}
65           topicCommInfrastructure: kafka
66           servers:
67             - {{ include "common.release" . }}-strimzi-kafka-bootstrap:9092
68           additionalProps:
69             client.id: {{ (first .Values.kafkaUser.acls).name }}-client-id
70             security.protocol: SASL_PLAINTEXT
71             sasl.mechanism: {{ .Values.kafkaUser.authenticationType | upper }}
72             sasl.jaas.config: ${SASL_JAAS_CONFIG}
73           {{ else }}
74           topicCommInfrastructure: dmaap
75           servers:
76             - ${topicServer:message-router}
77           {{ end }}
78     participantSupportedElementTypes:
79       -
80         typeName: org.onap.policy.clamp.acm.A1PMSAutomationCompositionElement
81         typeVersion: 1.0.1
82
83
84 management:
85   endpoints:
86     web:
87       base-path: /
88       exposure:
89         include: health, metrics, prometheus
90 server:
91   port: 8086
92   servlet:
93     context-path: /onap/policy/clamp/acm/a1pmsparticipant
94   ssl:
95     enabled: false
96
97