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
 
   8 #       http://www.apache.org/licenses/LICENSE-2.0
 
  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.
 
  16 #  SPDX-License-Identifier: Apache-2.0
 
  17 #  ============LICENSE_END=========================================================
 
  22       name: ${RESTSERVER_USER}
 
  23       password: ${RESTSERVER_PASSWORD}
 
  26       group-id: {{ .Values.config.kafka.consumer.groupId }}
 
  27 {{- if .Values.config.useStrimziKafka }}
 
  28     bootstrap-servers: {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092
 
  29     security.protocol: SASL_PLAINTEXT
 
  31       mechanism: SCRAM-SHA-512
 
  32       jaas.config: ${JAASLOGIN}
 
  34 {{ toYaml .Values.config.eventConsumption | nindent 2 }}
 
  41   pdpGroup: defaultGroup
 
  48     password: ${API_PASSWORD}
 
  49     useHttps: {{ (eq "true" (include "common.needTLS" .)) | ternary "true" "false" }}
 
  50     allowSelfSignedCerts: true
 
  56     password: ${PAP_PASSWORD}
 
  57     useHttps: {{ (eq "true" (include "common.needTLS" .)) | ternary "true" "false" }}
 
  58     allowSelfSignedCerts: true
 
  59   intermediaryParameters:
 
  60     reportingTimeIntervalMs: 120000
 
  61     description: Participant Description
 
  63       name: org.onap.PM_Policy
 
  66       name: org.onap.policy.clamp.acm.PolicyParticipant
 
  68     clampAutomationCompositionTopics:
 
  71           topic: POLICY-ACRUNTIME-PARTICIPANT
 
  73             - ${topicServer:message-router}
 
  74           topicCommInfrastructure: dmaap
 
  76           useHttps: {{ (eq "true" (include "common.needTLS" .)) | ternary "true" "false" }}
 
  79           topic: POLICY-ACRUNTIME-PARTICIPANT
 
  81             - ${topicServer:message-router}
 
  82           topicCommInfrastructure: dmaap
 
  83           useHttps: {{ (eq "true" (include "common.needTLS" .)) | ternary "true" "false" }}
 
  85 # If Strimzi Kafka to be used for communication, replace clampAutomationCompositionTopics configuration with below
 
  86 #    clampAutomationCompositionTopics:
 
  89 #          topic: policy-acruntime-participant
 
  91 #            - {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092
 
  92 #          topicCommInfrastructure: kafka
 
  96 #            security.protocol: SASL_PLAINTEXT
 
  97 #            sasl.mechanism: SCRAM-SHA-512
 
  98 #            sasl.jaas.config: ${JAASLOGIN}
 
 101 #          topic: policy-acruntime-participant
 
 103 #            - {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092
 
 104 #          topicCommInfrastructure: kafka
 
 107 #            security.protocol: SASL_PLAINTEXT
 
 108 #            sasl.mechanism: SCRAM-SHA-512
 
 109 #            sasl.jaas.config: ${JAASLOGIN}
 
 115         include: health, metrics, prometheus
 
 120     context-path: /onap/policyparticipant
 
 122     enabled: {{ (eq "true" (include "common.needTLS" .)) | ternary true false }}