[POLICY] Cleanup of Helmcharts from AAF/TLS options
[oom.git] / kubernetes / policy / components / policy-clamp-ac-pf-ppnt / resources / config / PolicyParticipantParameters.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   pdpGroup: defaultGroup
35   pdpType: apex
36   policyApiParameters:
37     clientName: api
38     hostname: policy-api
39     port: 6969
40     userName: ${API_USER}
41     password: ${API_PASSWORD}
42     useHttps: "false"
43     allowSelfSignedCerts: true
44   policyPapParameters:
45     clientName: pap
46     hostname: policy-pap
47     port: 6969
48     userName: ${PAP_USER}
49     password: ${PAP_PASSWORD}
50     useHttps: "false"
51     allowSelfSignedCerts: true
52   intermediaryParameters:
53     reportingTimeIntervalMs: 120000
54     description: Participant Description
55     participantId: 101c62b3-8918-41b9-a747-d21eb79c6c03
56     clampAutomationCompositionTopics:
57       topicSources:
58         -
59           useHttps: false
60           fetchTimeout: 15000
61           topic: {{ .Values.global.kafkaTopics.acRuntimeTopic.name }}
62           {{ if .Values.global.useStrimziKafka }}
63           topicCommInfrastructure: kafka
64           servers:
65             - {{ include "common.release" . }}-strimzi-kafka-bootstrap:9092
66           additionalProps:
67             group.id: {{ (first .Values.kafkaUser.acls).name }}
68             allow.auto.create.topics: false
69             security.protocol: SASL_PLAINTEXT
70             sasl.mechanism: {{ .Values.kafkaUser.authenticationType | upper }}
71             sasl.jaas.config: ${SASL_JAAS_CONFIG}
72           {{ else }}
73           topicCommInfrastructure: dmaap
74           servers:
75             - ${topicServer:message-router}
76           {{ end }}
77       topicSinks:
78         -
79           useHttps: false
80           fetchTimeout: 15000
81           topic: {{ .Values.global.kafkaTopics.acRuntimeTopic.name }}
82           {{ if .Values.global.useStrimziKafka }}
83           topicCommInfrastructure: kafka
84           servers:
85             - {{ include "common.release" . }}-strimzi-kafka-bootstrap:9092
86           additionalProps:
87             client.id: {{ (first .Values.kafkaUser.acls).name }}-client-id
88             security.protocol: SASL_PLAINTEXT
89             sasl.mechanism: {{ .Values.kafkaUser.authenticationType | upper }}
90             sasl.jaas.config: ${SASL_JAAS_CONFIG}
91           {{ else }}
92           topicCommInfrastructure: dmaap
93           servers:
94             - ${topicServer:message-router}
95           {{ end }}
96     participantSupportedElementTypes:
97       -
98         typeName: org.onap.policy.clamp.acm.PolicyAutomationCompositionElement
99         typeVersion: 1.0.0
100
101 management:
102   endpoints:
103     web:
104       exposure:
105         include: health, metrics, prometheus
106
107 server:
108   port: 8085
109   servlet:
110     context-path: /onap/policyparticipant
111   ssl:
112     enabled: false
113