Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / policy / components / policy-clamp-ac-http-ppnt / resources / config / HttpParticipantParameters.yaml
1 #  ============LICENSE_START=======================================================
2 #   Copyright (C) 2021-2023 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     reportingTimeIntervalMs: 120000
36     description: Participant Description
37     participantId: 101c62b3-8918-41b9-a747-d21eb79c6c01
38     clampAutomationCompositionTopics:
39       topicSources:
40         -
41           useHttps: false
42           fetchTimeout: 15000
43           topic: {{ .Values.global.kafkaTopics.acRuntimeTopic.name }}
44           topicCommInfrastructure: kafka
45           servers:
46             - {{ include "common.release" . }}-{{ .Values.global.kafkaBootstrap }}
47           additionalProps:
48             group.id: {{ (first .Values.kafkaUser.acls).name }}
49             allow.auto.create.topics: false
50             security.protocol: SASL_PLAINTEXT
51             sasl.mechanism: {{ .Values.kafkaUser.authenticationType | upper }}
52             sasl.jaas.config: ${SASL_JAAS_CONFIG}
53       topicSinks:
54         -
55           useHttps: false
56           fetchTimeout: 15000
57           topic: {{ .Values.global.kafkaTopics.acRuntimeTopic.name }}
58           topicCommInfrastructure: kafka
59           servers:
60             - {{ include "common.release" . }}-{{ .Values.global.kafkaBootstrap }}
61           additionalProps:
62             client.id: {{ (first .Values.kafkaUser.acls).name }}-client-id
63             security.protocol: SASL_PLAINTEXT
64             sasl.mechanism: {{ .Values.kafkaUser.authenticationType | upper }}
65             sasl.jaas.config: ${SASL_JAAS_CONFIG}
66     participantSupportedElementTypes:
67       -
68         typeName: org.onap.policy.clamp.acm.HttpAutomationCompositionElement
69         typeVersion: 1.0.0
70
71
72 management:
73   endpoints:
74     web:
75       exposure:
76         include: health, metrics, prometheus
77 server:
78   port: 8084
79   servlet:
80     context-path: /onap/httpparticipant
81   ssl:
82     enabled: false
83