1fe27377986f189d1bf671c6e5d0d8bda2baf9bf
[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     topics:
38       operationTopic: policy-acruntime-participant
39       syncTopic: acm-ppnt-sync
40     reportingTimeIntervalMs: 120000
41     description: Participant Description
42     participantId: 101c62b3-8918-41b9-a747-d21eb79c6c02
43     clampAutomationCompositionTopics:
44       topicSources:
45         -
46           topic: ${participant.intermediaryParameters.topics.operationTopic}
47           servers:
48             - "{{ .Values.global.kafkaServer }}:9092"
49           topicCommInfrastructure: kafka
50           fetchTimeout: 15000
51           useHttps: false
52         -
53           topic: ${participant.intermediaryParameters.topics.syncTopic}
54           servers:
55             - "{{ .Values.global.kafkaServer }}:9092"
56           topicCommInfrastructure: kafka
57           fetchTimeout: 15000
58           useHttps: false
59       topicSinks:
60         -
61           topic: ${participant.intermediaryParameters.topics.operationTopic}
62           servers:
63             - "{{ .Values.global.kafkaServer }}:9092"
64           topicCommInfrastructure: kafka
65           useHttps: false
66     participantSupportedElementTypes:
67       -
68         typeName: org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement
69         typeVersion: 1.0.0
70
71 management:
72   endpoints:
73     web:
74       base-path: /
75       exposure:
76         include: health, metrics, prometheus
77
78 server:
79   # Configuration of the HTTP/REST server. The parameters are defined and handled by the springboot framework.
80   # See springboot documentation.
81   port: 8083
82   servlet:
83     context-path: /onap/k8sparticipant
84   ssl:
85     enabled: false
86
87
88 logging:
89   # Configuration of logging
90   level:
91     ROOT: INFO
92     org.springframework: ERROR
93     org.springframework.data: ERROR
94     org.springframework.web.reactive.function.client.ExchangeFunctions: ERROR
95     org.onap.policy.clamp.controlloop.participant.kubernetes: INFO
96
97   file:
98     name: /var/log/onap/policy/clamp/application.log
99
100 chart:
101   api:
102     enabled: false
103
104 # Permitted list of helm repositories. Values are updated from values.yaml