blob: 07d5eca3771f8dc0f1e968108bb8bd50f6234706 [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 kafka:
Sirisha_Manchikantib402a592022-09-09 12:01:20 +010025 consumer:
26 group-id: {{ .Values.config.kafka.consumer.groupId }}
27{{- if .Values.config.useStrimziKafka }}
Sirisha_Manchikanti73c5f002022-07-25 17:04:45 +010028 bootstrap-servers: {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092
29 security.protocol: SASL_PLAINTEXT
30 properties.sasl:
31 mechanism: SCRAM-SHA-512
32 jaas.config: ${JAASLOGIN}
33{{ else }}
Sirisha_Manchikantib402a592022-09-09 12:01:20 +010034{{ toYaml .Values.config.eventConsumption | nindent 2 }}
Sirisha_Manchikanti73c5f002022-07-25 17:04:45 +010035{{- end }}
36
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000037security:
38 enable-csrf: false
39
rameshiyer27ff176652021-09-21 15:19:05 +010040participant:
41 pdpGroup: defaultGroup
42 pdpType: apex
43 policyApiParameters:
44 clientName: api
45 hostname: policy-api
46 port: 6969
47 userName: ${API_USER}
48 password: ${API_PASSWORD}
saul.gillf16e8562021-11-10 15:37:53 +000049 useHttps: true
rameshiyer27ff176652021-09-21 15:19:05 +010050 allowSelfSignedCerts: true
51 policyPapParameters:
52 clientName: pap
53 hostname: policy-pap
54 port: 6969
55 userName: ${PAP_USER}
56 password: ${PAP_PASSWORD}
saul.gillf16e8562021-11-10 15:37:53 +000057 useHttps: true
rameshiyer27ff176652021-09-21 15:19:05 +010058 allowSelfSignedCerts: true
59 intermediaryParameters:
60 reportingTimeIntervalMs: 120000
61 description: Participant Description
62 participantId:
63 name: org.onap.PM_Policy
64 version: 1.0.0
65 participantType:
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000066 name: org.onap.policy.clamp.acm.PolicyParticipant
rameshiyer27ff176652021-09-21 15:19:05 +010067 version: 2.3.1
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000068 clampAutomationCompositionTopics:
rameshiyer27ff176652021-09-21 15:19:05 +010069 topicSources:
70 -
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000071 topic: POLICY-ACRUNTIME-PARTICIPANT
rameshiyer27ff176652021-09-21 15:19:05 +010072 servers:
73 - ${topicServer:message-router}
74 topicCommInfrastructure: dmaap
75 fetchTimeout: 15000
76 useHttps: true
77 topicSinks:
78 -
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000079 topic: POLICY-ACRUNTIME-PARTICIPANT
rameshiyer27ff176652021-09-21 15:19:05 +010080 servers:
81 - ${topicServer:message-router}
82 topicCommInfrastructure: dmaap
83 useHttps: true
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000084
Sirisha_Manchikantib402a592022-09-09 12:01:20 +010085# If Strimzi Kafka to be used for communication, replace clampAutomationCompositionTopics configuration with below
86# clampAutomationCompositionTopics:
87# topicSources:
88# -
89# topic: policy-acruntime-participant
90# servers:
91# - {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092
92# topicCommInfrastructure: kafka
93# fetchTimeout: 15000
94# useHttps: true
95# additionalProps:
96# security.protocol: SASL_PLAINTEXT
97# sasl.mechanism: SCRAM-SHA-512
98# sasl.jaas.config: ${JAASLOGIN}
99# topicSinks:
100# -
101# topic: policy-acruntime-participant
102# servers:
103# - {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092
104# topicCommInfrastructure: kafka
105# useHttps: true
106# additionalProps:
107# security.protocol: SASL_PLAINTEXT
108# sasl.mechanism: SCRAM-SHA-512
109# sasl.jaas.config: ${JAASLOGIN}
110
FrancescoFioraEst9c79e262022-02-22 13:12:19 +0000111management:
112 endpoints:
113 web:
114 exposure:
115 include: health, metrics, prometheus
116
117server:
118 port: 8085
119 servlet:
120 context-path: /onap/policyparticipant