1 #  ============LICENSE_START=======================================================
 
   2 #   Copyright (C) 2022,2024 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=========================================================
 
  24       org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,
 
  25       org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration,
 
  26       org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration
 
  29       name: ${RESTSERVER_USER}
 
  30       password: ${RESTSERVER_PASSWORD}
 
  36   localChartDirectory: /home/policy/local-charts
 
  37   infoFileName: CHART_INFO.json
 
  38   intermediaryParameters:
 
  40       operationTopic: policy-acruntime-participant
 
  41       syncTopic: acm-ppnt-sync
 
  42     reportingTimeIntervalMs: 120000
 
  43     description: Participant Description
 
  44     participantId: 101c62b3-8918-41b9-a747-d21eb79c6c02
 
  45     clampAutomationCompositionTopics:
 
  48           topic: ${participant.intermediaryParameters.topics.operationTopic}
 
  50             - "{{ .Values.global.kafkaServer }}:9092"
 
  51           topicCommInfrastructure: kafka
 
  54           allowTracing: {{ include "policy-clamp-ac-k8s-ppnt.jaeger-enabled" . }}
 
  56             group.id: policy-clamp-ac-k8s-ppnt
 
  58           topic: ${participant.intermediaryParameters.topics.syncTopic}
 
  60             - "{{ .Values.global.kafkaServer }}:9092"
 
  61           topicCommInfrastructure: kafka
 
  64           allowTracing: {{ include "policy-clamp-ac-k8s-ppnt.jaeger-enabled" . }}
 
  67           topic: ${participant.intermediaryParameters.topics.operationTopic}
 
  69             - "{{ .Values.global.kafkaServer }}:9092"
 
  70           topicCommInfrastructure: kafka
 
  72           allowTracing: {{ include "policy-clamp-ac-k8s-ppnt.jaeger-enabled" . }}
 
  73     participantSupportedElementTypes:
 
  75         typeName: org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement
 
  81       produce: [{{ .Values.jaeger.producer.type }}]
 
  83       probability: {{ .Values.jaeger.sampling.probability }}
 
  88         include: health, metrics, prometheus
 
  91   # Configuration of the HTTP/REST server. The parameters are defined and handled by the springboot framework.
 
  92   # See springboot documentation.
 
  95     context-path: /onap/k8sparticipant
 
 101   # Configuration of logging
 
 104     org.springframework: ERROR
 
 105     org.springframework.data: ERROR
 
 106     org.springframework.web.reactive.function.client.ExchangeFunctions: ERROR
 
 107     org.onap.policy.clamp.controlloop.participant.kubernetes: INFO
 
 110     name: /var/log/onap/policy/clamp/application.log
 
 116 # Permitted list of helm repositories. Values are updated from values.yaml
 
 120   enabled: {{ .Values.jaeger.enabled }}
 
 122     endpoint: {{ .Values.jaeger.collector.host }}:{{ include "policy-clamp-ac-k8s-ppnt.exporter-port" . }}
 
 123     protocol: {{ .Values.jaeger.collector.protocol }}
 
 126       endpoint: {{ .Values.jaeger.collector.host }}:{{ .Values.jaeger.collector.portJaegerGrpc }}