blob: 856b16d91d5f6dbdf07d23d3b34c2ea28dfb8d99 [file] [log] [blame]
rameshiyer27ff176652021-09-21 15:19:05 +01001# ============LICENSE_START=======================================================
FrancescoFioraEst9c79e262022-02-22 13:12:19 +00002# Copyright (C) 2021-2022 Nordix Foundation.
rameshiyer27ff176652021-09-21 15:19:05 +01003# ================================================================================
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
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000019spring:
20 security:
21 user:
22 name: ${RESTSERVER_USER}
23 password: ${RESTSERVER_PASSWORD}
Sirisha_Manchikanti73c5f002022-07-25 17:04:45 +010024{{- 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 }}
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000038security:
39 enable-csrf: false
40
rameshiyer27ff176652021-09-21 15:19:05 +010041participant:
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}
saul.gillf16e8562021-11-10 15:37:53 +000050 useHttps: true
rameshiyer27ff176652021-09-21 15:19:05 +010051 allowSelfSignedCerts: true
52 policyPapParameters:
53 clientName: pap
54 hostname: policy-pap
55 port: 6969
56 userName: ${PAP_USER}
57 password: ${PAP_PASSWORD}
saul.gillf16e8562021-11-10 15:37:53 +000058 useHttps: true
rameshiyer27ff176652021-09-21 15:19:05 +010059 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:
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000067 name: org.onap.policy.clamp.acm.PolicyParticipant
rameshiyer27ff176652021-09-21 15:19:05 +010068 version: 2.3.1
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000069 clampAutomationCompositionTopics:
rameshiyer27ff176652021-09-21 15:19:05 +010070 topicSources:
71 -
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000072 topic: POLICY-ACRUNTIME-PARTICIPANT
rameshiyer27ff176652021-09-21 15:19:05 +010073 servers:
74 - ${topicServer:message-router}
75 topicCommInfrastructure: dmaap
76 fetchTimeout: 15000
77 useHttps: true
78 topicSinks:
79 -
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000080 topic: POLICY-ACRUNTIME-PARTICIPANT
rameshiyer27ff176652021-09-21 15:19:05 +010081 servers:
82 - ${topicServer:message-router}
83 topicCommInfrastructure: dmaap
84 useHttps: true
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000085
86management:
87 endpoints:
88 web:
89 exposure:
90 include: health, metrics, prometheus
91
92server:
93 port: 8085
94 servlet:
95 context-path: /onap/policyparticipant