1 #  ============LICENSE_START=======================================================
 
   2 #   Copyright (C) 2021-2022 Nordix Foundation. All rights reserved.
 
   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   localChartDirectory: /home/policy/local-charts
 
  47   infoFileName: CHART_INFO.json
 
  48   intermediaryParameters:
 
  49     reportingTimeIntervalMs: 120000
 
  50     description: Participant Description
 
  51     participantId: 101c62b3-8918-41b9-a747-d21eb79c6c02
 
  52     clampAutomationCompositionTopics:
 
  55           topic: POLICY-ACRUNTIME-PARTICIPANT
 
  57             - ${topicServer:message-router}
 
  58           topicCommInfrastructure: dmaap
 
  63           topic: POLICY-ACRUNTIME-PARTICIPANT
 
  65             - ${topicServer:message-router}
 
  66           topicCommInfrastructure: dmaap
 
  68     participantSupportedElementTypes:
 
  70         typeName: org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement
 
  73 # If Strimzi Kafka to be used for communication, replace clampAutomationCompositionTopics configuration with below
 
  74 #    clampAutomationCompositionTopics:
 
  77 #          topic: policy-acruntime-participant
 
  79 #            - {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092
 
  80 #          topicCommInfrastructure: kafka
 
  84 #            security.protocol: SASL_PLAINTEXT
 
  85 #            sasl.mechanism: SCRAM-SHA-512
 
  86 #            sasl.jaas.config: ${JAASLOGIN}
 
  89 #          topic: policy-acruntime-participant
 
  91 #            - {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092
 
  92 #          topicCommInfrastructure: kafka
 
  95 #            security.protocol: SASL_PLAINTEXT
 
  96 #            sasl.mechanism: SCRAM-SHA-512
 
  97 #            sasl.jaas.config: ${JAASLOGIN}
 
 103         include: health, metrics, prometheus
 
 106   # Configuration of the HTTP/REST server. The parameters are defined and handled by the springboot framework.
 
 107   # See springboot documentation.
 
 110     context-path: /onap/policy/clamp/acm/k8sparticipant
 
 112     enabled: {{ (eq "true" (include "common.needTLS" .)) | ternary true false }}
 
 116   # Configuration of logging
 
 119     org.springframework: ERROR
 
 120     org.springframework.data: ERROR
 
 121     org.springframework.web.reactive.function.client.ExchangeFunctions: ERROR
 
 122     org.onap.policy.clamp.controlloop.participant.kubernetes: INFO
 
 125     name: /var/log/onap/policy/clamp/application.log
 
 131 # Permitted list of helm repositories. Values are updated from values.yaml