08ed5940dece03f9a112c63e5bab93695c46a39f
[policy/docker.git] /
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
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           topic: policy-acruntime-participant
44           servers:
45             - "{{ .Values.global.kafkaServer }}:9092"
46           topicCommInfrastructure: kafka
47           fetchTimeout: 15000
48           useHttps: false
49       topicSinks:
50         -
51           topic: policy-acruntime-participant
52           servers:
53             - "{{ .Values.global.kafkaServer }}:9092"
54           topicCommInfrastructure: kafka
55           useHttps: false
56     participantSupportedElementTypes:
57       -
58         typeName: org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement
59         typeVersion: 1.0.0
60
61 management:
62   endpoints:
63     web:
64       base-path: /
65       exposure:
66         include: health, metrics, prometheus
67
68 server:
69   # Configuration of the HTTP/REST server. The parameters are defined and handled by the springboot framework.
70   # See springboot documentation.
71   port: 8083
72   servlet:
73     context-path: /onap/k8sparticipant
74   ssl:
75     enabled: false
76
77
78 logging:
79   # Configuration of logging
80   level:
81     ROOT: INFO
82     org.springframework: ERROR
83     org.springframework.data: ERROR
84     org.springframework.web.reactive.function.client.ExchangeFunctions: ERROR
85     org.onap.policy.clamp.controlloop.participant.kubernetes: INFO
86
87   file:
88     name: /var/log/onap/policy/clamp/application.log
89
90 chart:
91   api:
92     enabled: false
93
94 # Permitted list of helm repositories. Values are updated from values.yaml