Merge "[AAI] Add model-loader tracing config"
[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           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.A1PMSAutomationCompositionElement
69         typeVersion: 1.0.1
70
71
72 management:
73   endpoints:
74     web:
75       base-path: /
76       exposure:
77         include: health, metrics, prometheus
78 server:
79   port: 8086
80   servlet:
81     context-path: /onap/policy/clamp/acm/a1pmsparticipant
82   ssl:
83     enabled: false
84
85