Merge "[AAI] Add model-loader tracing config"
[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           topicCommInfrastructure: kafka
63           servers:
64             - {{ include "common.release" . }}-{{ .Values.global.kafkaBootstrap }}
65           additionalProps:
66             group.id: {{ (first .Values.kafkaUser.acls).name }}
67             allow.auto.create.topics: false
68             security.protocol: SASL_PLAINTEXT
69             sasl.mechanism: {{ .Values.kafkaUser.authenticationType | upper }}
70             sasl.jaas.config: ${SASL_JAAS_CONFIG}
71       topicSinks:
72         -
73           useHttps: false
74           fetchTimeout: 15000
75           topic: {{ .Values.global.kafkaTopics.acRuntimeTopic.name }}
76           topicCommInfrastructure: kafka
77           servers:
78             - {{ include "common.release" . }}-{{ .Values.global.kafkaBootstrap }}
79           additionalProps:
80             client.id: {{ (first .Values.kafkaUser.acls).name }}-client-id
81             security.protocol: SASL_PLAINTEXT
82             sasl.mechanism: {{ .Values.kafkaUser.authenticationType | upper }}
83             sasl.jaas.config: ${SASL_JAAS_CONFIG}
84     participantSupportedElementTypes:
85       -
86         typeName: org.onap.policy.clamp.acm.PolicyAutomationCompositionElement
87         typeVersion: 1.0.0
88
89 management:
90   endpoints:
91     web:
92       exposure:
93         include: health, metrics, prometheus
94
95 server:
96   port: 8085
97   servlet:
98     context-path: /onap/policyparticipant
99   ssl:
100     enabled: false
101