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       org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,
 
  23       org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration,
 
  24       org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration
 
  27       name: ${RESTSERVER_USER}
 
  28       password: ${RESTSERVER_PASSWORD}
 
  31       group-id: {{ .Values.config.kafka.consumer.groupId }}
 
  32 {{- if .Values.config.useStrimziKafka }}
 
  33     bootstrap-servers: {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092
 
  34     security.protocol: SASL_PLAINTEXT
 
  36       mechanism: SCRAM-SHA-512
 
  37       jaas.config: ${JAASLOGIN}
 
  39 {{ toYaml .Values.config.eventConsumption | nindent 2 }}
 
  46   pdpGroup: defaultGroup
 
  53     password: ${API_PASSWORD}
 
  54     useHttps: {{ (eq "true" (include "common.needTLS" .)) | ternary "true" "false" }}
 
  55     allowSelfSignedCerts: true
 
  61     password: ${PAP_PASSWORD}
 
  62     useHttps: {{ (eq "true" (include "common.needTLS" .)) | ternary "true" "false" }}
 
  63     allowSelfSignedCerts: true
 
  64   intermediaryParameters:
 
  65     reportingTimeIntervalMs: 120000
 
  66     description: Participant Description
 
  67     participantId: 101c62b3-8918-41b9-a747-d21eb79c6c03
 
  68     clampAutomationCompositionTopics:
 
  71           topic: POLICY-ACRUNTIME-PARTICIPANT
 
  73             - ${topicServer:message-router}
 
  74           topicCommInfrastructure: dmaap
 
  79           topic: POLICY-ACRUNTIME-PARTICIPANT
 
  81             - ${topicServer:message-router}
 
  82           topicCommInfrastructure: dmaap
 
  84     participantSupportedElementTypes:
 
  86         typeName: org.onap.policy.clamp.acm.PolicyAutomationCompositionElement
 
  89 # If Strimzi Kafka to be used for communication, replace clampAutomationCompositionTopics configuration with below
 
  90 #    clampAutomationCompositionTopics:
 
  93 #          topic: policy-acruntime-participant
 
  95 #            - {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092
 
  96 #          topicCommInfrastructure: kafka
 
 100 #            security.protocol: SASL_PLAINTEXT
 
 101 #            sasl.mechanism: SCRAM-SHA-512
 
 102 #            sasl.jaas.config: ${JAASLOGIN}
 
 105 #          topic: policy-acruntime-participant
 
 107 #            - {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092
 
 108 #          topicCommInfrastructure: kafka
 
 111 #            security.protocol: SASL_PLAINTEXT
 
 112 #            sasl.mechanism: SCRAM-SHA-512
 
 113 #            sasl.jaas.config: ${JAASLOGIN}
 
 119         include: health, metrics, prometheus
 
 124     context-path: /onap/policyparticipant
 
 126     enabled: {{ (eq "true" (include "common.needTLS" .)) | ternary true false }}