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}
 
  34   localChartDirectory: /home/policy/local-charts
 
  35   infoFileName: CHART_INFO.json
 
  36   intermediaryParameters:
 
  37     reportingTimeIntervalMs: 120000
 
  38     description: Participant Description
 
  39     participantId: 101c62b3-8918-41b9-a747-d21eb79c6c02
 
  40     clampAutomationCompositionTopics:
 
  45           topic: {{ .Values.global.kafkaTopics.acRuntimeTopic.name }}
 
  46           {{ if .Values.global.useStrimziKafka }}
 
  47           topicCommInfrastructure: kafka
 
  49             - {{ include "common.release" . }}-strimzi-kafka-bootstrap:9092
 
  51             group.id: {{ (first .Values.kafkaUser.acls).name }}
 
  52             allow.auto.create.topics: false
 
  53             security.protocol: SASL_PLAINTEXT
 
  54             sasl.mechanism: {{ .Values.kafkaUser.authenticationType | upper }}
 
  55             sasl.jaas.config: ${SASL_JAAS_CONFIG}
 
  57           topicCommInfrastructure: dmaap
 
  59             - ${topicServer:message-router}
 
  65           topic: {{ .Values.global.kafkaTopics.acRuntimeTopic.name }}
 
  66           {{ if .Values.global.useStrimziKafka }}
 
  67           topicCommInfrastructure: kafka
 
  69             - {{ include "common.release" . }}-strimzi-kafka-bootstrap:9092
 
  71             client.id: {{ (first .Values.kafkaUser.acls).name }}-client-id
 
  72             security.protocol: SASL_PLAINTEXT
 
  73             sasl.mechanism: {{ .Values.kafkaUser.authenticationType | upper }}
 
  74             sasl.jaas.config: ${SASL_JAAS_CONFIG}
 
  76           topicCommInfrastructure: dmaap
 
  78             - ${topicServer:message-router}
 
  80     participantSupportedElementTypes:
 
  82         typeName: org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement
 
  89         include: health, metrics, prometheus
 
  92   # Configuration of the HTTP/REST server. The parameters are defined and handled by the springboot framework.
 
  93   # See springboot documentation.
 
  96     context-path: /onap/policy/clamp/acm/k8sparticipant
 
  98     enabled: {{ (eq "true" (include "common.needTLS" .)) | ternary true false }}
 
 102   # Configuration of logging
 
 105     org.springframework: ERROR
 
 106     org.springframework.data: ERROR
 
 107     org.springframework.web.reactive.function.client.ExchangeFunctions: ERROR
 
 108     org.onap.policy.clamp.controlloop.participant.kubernetes: INFO
 
 111     name: /var/log/onap/policy/clamp/application.log
 
 117 # Permitted list of helm repositories. Values are updated from values.yaml