blob: 4f7e0047f60e0f1f28a60abff6a80cdd28e8711b [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:
liamfallon72ffede2022-10-20 11:19:18 +010020 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
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000025 security:
26 user:
27 name: ${RESTSERVER_USER}
28 password: ${RESTSERVER_PASSWORD}
Sirisha_Manchikanti73c5f002022-07-25 17:04:45 +010029 kafka:
Sirisha_Manchikantib402a592022-09-09 12:01:20 +010030 consumer:
31 group-id: {{ .Values.config.kafka.consumer.groupId }}
32{{- if .Values.config.useStrimziKafka }}
Sirisha_Manchikanti73c5f002022-07-25 17:04:45 +010033 bootstrap-servers: {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092
34 security.protocol: SASL_PLAINTEXT
35 properties.sasl:
36 mechanism: SCRAM-SHA-512
37 jaas.config: ${JAASLOGIN}
38{{ else }}
Sirisha_Manchikantib402a592022-09-09 12:01:20 +010039{{ toYaml .Values.config.eventConsumption | nindent 2 }}
Sirisha_Manchikanti73c5f002022-07-25 17:04:45 +010040{{- end }}
41
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000042security:
43 enable-csrf: false
44
rameshiyer27ff176652021-09-21 15:19:05 +010045participant:
46 pdpGroup: defaultGroup
47 pdpType: apex
48 policyApiParameters:
49 clientName: api
50 hostname: policy-api
51 port: 6969
52 userName: ${API_USER}
53 password: ${API_PASSWORD}
amatthews736bf372021-12-14 16:04:15 +000054 useHttps: {{ (eq "true" (include "common.needTLS" .)) | ternary "true" "false" }}
rameshiyer27ff176652021-09-21 15:19:05 +010055 allowSelfSignedCerts: true
56 policyPapParameters:
57 clientName: pap
58 hostname: policy-pap
59 port: 6969
60 userName: ${PAP_USER}
61 password: ${PAP_PASSWORD}
amatthews736bf372021-12-14 16:04:15 +000062 useHttps: {{ (eq "true" (include "common.needTLS" .)) | ternary "true" "false" }}
rameshiyer27ff176652021-09-21 15:19:05 +010063 allowSelfSignedCerts: true
64 intermediaryParameters:
65 reportingTimeIntervalMs: 120000
66 description: Participant Description
saul.gill5e611402023-03-02 11:49:23 +000067 participantId: 101c62b3-8918-41b9-a747-d21eb79c6c03
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
efiacor2123fec2022-12-09 13:40:55 +000076 useHttps: "false"
rameshiyer27ff176652021-09-21 15:19:05 +010077 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
efiacor2123fec2022-12-09 13:40:55 +000083 useHttps: "false"
saul.gill5e611402023-03-02 11:49:23 +000084 participantSupportedElementTypes:
85 -
86 typeName: org.onap.policy.clamp.acm.PolicyAutomationCompositionElement
87 typeVersion: 1.0.0
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000088
Sirisha_Manchikantib402a592022-09-09 12:01:20 +010089# If Strimzi Kafka to be used for communication, replace clampAutomationCompositionTopics configuration with below
90# clampAutomationCompositionTopics:
91# topicSources:
92# -
93# topic: policy-acruntime-participant
94# servers:
95# - {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092
96# topicCommInfrastructure: kafka
97# fetchTimeout: 15000
98# useHttps: true
99# additionalProps:
100# security.protocol: SASL_PLAINTEXT
101# sasl.mechanism: SCRAM-SHA-512
102# sasl.jaas.config: ${JAASLOGIN}
103# topicSinks:
104# -
105# topic: policy-acruntime-participant
106# servers:
107# - {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092
108# topicCommInfrastructure: kafka
109# useHttps: true
110# additionalProps:
111# security.protocol: SASL_PLAINTEXT
112# sasl.mechanism: SCRAM-SHA-512
113# sasl.jaas.config: ${JAASLOGIN}
114
FrancescoFioraEst9c79e262022-02-22 13:12:19 +0000115management:
116 endpoints:
117 web:
118 exposure:
119 include: health, metrics, prometheus
120
121server:
122 port: 8085
123 servlet:
124 context-path: /onap/policyparticipant
amatthews736bf372021-12-14 16:04:15 +0000125 ssl:
126 enabled: {{ (eq "true" (include "common.needTLS" .)) | ternary true false }}
127