Merge "[DMAAP] DMaaP ServiceMesh compatibility"
[oom.git] / kubernetes / policy / components / policy-clamp-ac-pf-ppnt / resources / config / PolicyParticipantParameters.yaml
1 #  ============LICENSE_START=======================================================
2 #   Copyright (C) 2021-2022 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   security:
21     user:
22       name: ${RESTSERVER_USER}
23       password: ${RESTSERVER_PASSWORD}
24 {{- if .Values.config.useStrimziKafka }}
25   kafka:
26     bootstrap-servers: {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092
27     security.protocol: SASL_PLAINTEXT
28     properties.sasl:
29       mechanism: SCRAM-SHA-512
30       jaas.config: ${JAASLOGIN}
31 {{ else }}
32 {{ toYaml .Values.config.eventPublisher | nindent 2 }}
33 {{- end }}
34
35 {{- if .Values.config.additional }}
36 {{ toYaml .Values.config.additional | nindent 2 }}
37 {{- end }}
38 security:
39   enable-csrf: false
40
41 participant:
42   pdpGroup: defaultGroup
43   pdpType: apex
44   policyApiParameters:
45     clientName: api
46     hostname: policy-api
47     port: 6969
48     userName: ${API_USER}
49     password: ${API_PASSWORD}
50     useHttps: true
51     allowSelfSignedCerts: true
52   policyPapParameters:
53     clientName: pap
54     hostname: policy-pap
55     port: 6969
56     userName: ${PAP_USER}
57     password: ${PAP_PASSWORD}
58     useHttps: true
59     allowSelfSignedCerts: true
60   intermediaryParameters:
61     reportingTimeIntervalMs: 120000
62     description: Participant Description
63     participantId:
64       name: org.onap.PM_Policy
65       version: 1.0.0
66     participantType:
67       name: org.onap.policy.clamp.acm.PolicyParticipant
68       version: 2.3.1
69     clampAutomationCompositionTopics:
70       topicSources:
71         -
72           topic: POLICY-ACRUNTIME-PARTICIPANT
73           servers:
74             - ${topicServer:message-router}
75           topicCommInfrastructure: dmaap
76           fetchTimeout: 15000
77           useHttps: true
78       topicSinks:
79         -
80           topic: POLICY-ACRUNTIME-PARTICIPANT
81           servers:
82             - ${topicServer:message-router}
83           topicCommInfrastructure: dmaap
84           useHttps: true
85
86 management:
87   endpoints:
88     web:
89       exposure:
90         include: health, metrics, prometheus
91
92 server:
93   port: 8085
94   servlet:
95     context-path: /onap/policyparticipant