Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / policy / components / policy-clamp-ac-k8s-ppnt / resources / config / KubernetesParticipantParameters.yaml
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
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
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.
15 #
16 #  SPDX-License-Identifier: Apache-2.0
17 #  ============LICENSE_END=========================================================
18
19 spring:
20   autoconfigure:
21     exclude: >
22       org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,
23       org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration,
24       org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration
25   security:
26     user:
27       name: ${RESTSERVER_USER}
28       password: ${RESTSERVER_PASSWORD}
29
30 security:
31   enable-csrf: false
32
33 participant:
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:
41       topicSources:
42         -
43           useHttps: false
44           fetchTimeout: 15000
45           topic: {{ .Values.global.kafkaTopics.acRuntimeTopic.name }}
46           topicCommInfrastructure: kafka
47           servers:
48             - {{ include "common.release" . }}-{{ .Values.global.kafkaBootstrap }}
49           additionalProps:
50             group.id: {{ (first .Values.kafkaUser.acls).name }}
51             allow.auto.create.topics: false
52             security.protocol: SASL_PLAINTEXT
53             sasl.mechanism: {{ .Values.kafkaUser.authenticationType | upper }}
54             sasl.jaas.config: ${SASL_JAAS_CONFIG}
55       topicSinks:
56         -
57           useHttps: false
58           fetchTimeout: 15000
59           topic: {{ .Values.global.kafkaTopics.acRuntimeTopic.name }}
60           topicCommInfrastructure: kafka
61           servers:
62             - {{ include "common.release" . }}-{{ .Values.global.kafkaBootstrap }}
63           additionalProps:
64             client.id: {{ (first .Values.kafkaUser.acls).name }}-client-id
65             security.protocol: SASL_PLAINTEXT
66             sasl.mechanism: {{ .Values.kafkaUser.authenticationType | upper }}
67             sasl.jaas.config: ${SASL_JAAS_CONFIG}
68     participantSupportedElementTypes:
69       -
70         typeName: org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement
71         typeVersion: 1.0.0
72
73 management:
74   endpoints:
75     web:
76       exposure:
77         include: health, metrics, prometheus
78
79 server:
80   # Configuration of the HTTP/REST server. The parameters are defined and handled by the springboot framework.
81   # See springboot documentation.
82   port: 8083
83   servlet:
84     context-path: /onap/policy/clamp/acm/k8sparticipant
85   ssl:
86     enabled: false
87
88
89 logging:
90   # Configuration of logging
91   level:
92     ROOT: INFO
93     org.springframework: ERROR
94     org.springframework.data: ERROR
95     org.springframework.web.reactive.function.client.ExchangeFunctions: ERROR
96     org.onap.policy.clamp.controlloop.participant.kubernetes: INFO
97
98   file:
99     name: /var/log/onap/policy/clamp/application.log
100
101 chart:
102   api:
103     enabled: false
104
105 # Permitted list of helm repositories. Values are updated from values.yaml