Merge "[DMAAP] DMaaP ServiceMesh compatibility"
[oom.git] / kubernetes / policy / components / policy-clamp-ac-http-ppnt / resources / config / HttpParticipantParameters.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   intermediaryParameters:
43     reportingTimeIntervalMs: 120000
44     description: Participant Description
45     participantId:
46       name: HttpParticipant0
47       version: 1.0.0
48     participantType:
49       name: org.onap.policy.clamp.acm.HttpParticipant
50       version: 2.3.4
51     clampAutomationCompositionTopics:
52       topicSources:
53         - topic: POLICY-ACRUNTIME-PARTICIPANT
54           servers:
55             - ${topicServer:message-router}
56           topicCommInfrastructure: dmaap
57           fetchTimeout: 15000
58           useHttps: true
59       topicSinks:
60         - topic: POLICY-ACRUNTIME-PARTICIPANT
61           servers:
62             - ${topicServer:message-router}
63           topicCommInfrastructure: dmaap
64           useHttps: true
65
66 management:
67   endpoints:
68     web:
69       exposure:
70         include: health, metrics, prometheus
71 server:
72   port: 8084
73   servlet:
74     context-path: /onap/httpparticipant