blob: 0b7e2ab22d3f90aa33a0a0ecc48517cdd2d6d0fa [file] [log] [blame]
rameshiyer2701b8cc02021-09-21 15:07:50 +01001# ============LICENSE_START=======================================================
Lathish738ed772022-02-15 20:12:09 +05302# Copyright (C) 2021-2022 Nordix Foundation. All rights reserved.
rameshiyer2701b8cc02021-09-21 15:07:50 +01003# ================================================================================
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
19spring:
20 security:
21 user:
22 name: ${RESTSERVER_USER}
23 password: ${RESTSERVER_PASSWORD}
24security:
25 enable-csrf: false
26
27participant:
28 localChartDirectory: /home/policy/local-charts
29 infoFileName: CHART_INFO.json
30 intermediaryParameters:
31 reportingTimeIntervalMs: 120000
32 description: Participant Description
33 participantId:
34 name: K8sParticipant0
35 version: 1.0.0
36 participantType:
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000037 name: org.onap.policy.clamp.acm.KubernetesParticipant
rameshiyer2701b8cc02021-09-21 15:07:50 +010038 version: 2.3.4
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000039 clampAutomationCompositionTopics:
rameshiyer2701b8cc02021-09-21 15:07:50 +010040 topicSources:
41 -
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000042 topic: POLICY-ACRUNTIME-PARTICIPANT
rameshiyer2701b8cc02021-09-21 15:07:50 +010043 servers:
44 - ${topicServer:message-router}
45 topicCommInfrastructure: dmaap
46 fetchTimeout: 15000
47 useHttps: true
48 topicSinks:
49 -
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000050 topic: POLICY-ACRUNTIME-PARTICIPANT
rameshiyer2701b8cc02021-09-21 15:07:50 +010051 servers:
52 - ${topicServer:message-router}
53 topicCommInfrastructure: dmaap
54 useHttps: true
55
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000056management:
57 endpoints:
58 web:
59 exposure:
60 include: health, metrics, prometheus
61
rameshiyer2701b8cc02021-09-21 15:07:50 +010062server:
63 # Configuration of the HTTP/REST server. The parameters are defined and handled by the springboot framework.
64 # See springboot documentation.
65 port: 8083
Lathish738ed772022-02-15 20:12:09 +053066 servlet:
67 context-path: /onap/policy/clamp/acm/k8sparticipant
rameshiyer2701b8cc02021-09-21 15:07:50 +010068
Lathish738ed772022-02-15 20:12:09 +053069logging:
70 # Configuration of logging
71 level:
Lathishe999dad2022-02-28 10:34:46 +000072 ROOT: INFO
Lathish738ed772022-02-15 20:12:09 +053073 org.springframework: ERROR
74 org.springframework.data: ERROR
75 org.springframework.web.reactive.function.client.ExchangeFunctions: ERROR
76 org.onap.policy.clamp.controlloop.participant.kubernetes: INFO
77
78 file:
79 name: /var/log/onap/policy/clamp/application.log
80
81chart:
82 api:
Lathishe999dad2022-02-28 10:34:46 +000083 enabled: false
84
85# Sample Permitted list of helm repositories. Before deployment update the repositories where the helm charts are located.
86# The Kubernetes participant accept only HTTPS Address
87helm:
88 repos:
89 -
90 repoName: bitnami
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000091 address: https://charts.bitnami.com/bitnami