Add DME Participant charts in ORAN_OOM
[it/dep.git] / smo-install / oran_oom / policy-clamp-ac-dme-ppnt / resources / config / application.yaml
1 #  ============LICENSE_START=======================================================
2 #  Copyright (C) 2024 OpenInfra Foundation Europe. 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 #       http://www.apache.org/licenses/LICENSE-2.0
8
9 #  Unless required by applicable law or agreed to in writing, software
10 #  distributed under the License is distributed on an "AS IS" BASIS,
11 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 #  See the License for the specific language governing permissions and
13 #  limitations under the License.
14
15 #  SPDX-License-Identifier: Apache-2.0
16 #  ============LICENSE_END=========================================================
17
18 spring:
19   cloud:
20     kubernetes:
21       enabled: false
22     discovery:
23       enabled: false
24   security:
25     user:
26       name: ${RESTSERVER_USER}
27       password: ${RESTSERVER_PASSWORD}
28   autoconfigure:
29     exclude:
30       - org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration
31       - org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration
32       - org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration
33       - org.springframework.boot.autoconfigure.data.web.SpringDataWebAutoConfiguration
34       - io.kubernetes.client.spring.extended.manifests.config.KubernetesManifestsAutoConfiguration
35       - io.kubernetes.client.spring.extended.network.config.KubernetesLoadBalancerAutoConfiguration
36
37 security:
38   enable-csrf: false
39
40 participant:
41   intermediaryParameters:
42     reportingTimeIntervalMs: 120000
43     description: Participant Description
44     participantId: 101c62b3-8918-41b9-a747-d21eb79c6c04
45     clampAutomationCompositionTopics:
46       topicSources:
47         -
48           useHttps: false
49           fetchTimeout: 15000
50           topic: {{ .Values.global.kafkaTopics.acRuntimeTopic.name }}
51           {{ if .Values.global.useStrimziKafka }}
52           topicCommInfrastructure: kafka
53           servers:
54             - {{ include "common.release" . }}-strimzi-kafka-bootstrap:9092
55           additionalProps:
56             group.id: {{ (first .Values.kafkaUser.acls).name }}
57             allow.auto.create.topics: false
58             security.protocol: SASL_PLAINTEXT
59             sasl.mechanism: {{ .Values.kafkaUser.authenticationType | upper }}
60             sasl.jaas.config: ${SASL_JAAS_CONFIG}
61           {{ else }}
62           topicCommInfrastructure: dmaap
63           servers:
64             - ${topicServer:message-router}
65           {{ end }}
66       topicSinks:
67         -
68           useHttps: false
69           fetchTimeout: 15000
70           topic: {{ .Values.global.kafkaTopics.acRuntimeTopic.name }}
71           {{ if .Values.global.useStrimziKafka }}
72           topicCommInfrastructure: kafka
73           servers:
74             - {{ include "common.release" . }}-strimzi-kafka-bootstrap:9092
75           additionalProps:
76             client.id: {{ (first .Values.kafkaUser.acls).name }}-client-id
77             security.protocol: SASL_PLAINTEXT
78             sasl.mechanism: {{ .Values.kafkaUser.authenticationType | upper }}
79             sasl.jaas.config: ${SASL_JAAS_CONFIG}
80           {{ else }}
81           topicCommInfrastructure: dmaap
82           servers:
83             - ${topicServer:message-router}
84           {{ end }}
85     participantSupportedElementTypes:
86       -
87         typeName: org.onap.policy.clamp.acm.DMEAutomationCompositionElement
88         typeVersion: 1.0.1
89       -
90         typeName: org.onap.policy.clamp.acm.AutomationCompositionElement
91         typeVersion: 1.0.0
92
93 management:
94   endpoints:
95     web:
96       base-path: /
97       exposure:
98         include: health, metrics, prometheus
99 server:
100   port: 8089
101   servlet:
102     context-path: /onap/policy/clamp/acm/dmeparticipant
103   ssl:
104     enabled: false
105
106