55aa8eb6419e65a4d020d10c174492ae84637066
[oom.git] /
1 #  ============LICENSE_START=======================================================
2 #  Copyright (C) 2023 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 #       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     topics:
43       operationTopic: {{ .Values.global.kafkaTopics.acRuntimeOperationTopic.name }}
44       syncTopic: {{ .Values.global.kafkaTopics.acRuntimeSyncTopic.name }}
45     reportingTimeIntervalMs: 120000
46     description: Participant Description
47     participantId: 101c62b3-8918-41b9-a747-d21eb79c6c04
48     clampAutomationCompositionTopics:
49       topicSources:
50         -
51           useHttps: false
52           fetchTimeout: 15000
53           topic: {{ .Values.global.kafkaTopics.acRuntimeOperationTopic.name }}
54           topicCommInfrastructure: kafka
55           servers:
56             - {{ include "common.release" . }}-{{ .Values.global.kafkaBootstrap }}
57           additionalProps:
58             group.id: {{ (first .Values.kafkaUser.acls).name }}
59             allow.auto.create.topics: false
60             security.protocol: SASL_PLAINTEXT
61             sasl.mechanism: {{ .Values.kafkaUser.authenticationType | upper }}
62             sasl.jaas.config: ${SASL_JAAS_CONFIG}
63         -
64           useHttps: false
65           fetchTimeout: 15000
66           topic: {{ .Values.global.kafkaTopics.acRuntimeSyncTopic.name }}
67           topicCommInfrastructure: kafka
68           servers:
69             - {{ include "common.release" . }}-{{ .Values.global.kafkaBootstrap }}
70           additionalProps:
71             allow.auto.create.topics: false
72             security.protocol: SASL_PLAINTEXT
73             sasl.mechanism: {{ .Values.kafkaUser.authenticationType | upper }}
74             sasl.jaas.config: ${SASL_JAAS_CONFIG}
75       topicSinks:
76         -
77           useHttps: false
78           fetchTimeout: 15000
79           topic: {{ .Values.global.kafkaTopics.acRuntimeOperationTopic.name }}
80           topicCommInfrastructure: kafka
81           servers:
82             - {{ include "common.release" . }}-{{ .Values.global.kafkaBootstrap }}
83           additionalProps:
84             client.id: {{ (first .Values.kafkaUser.acls).name }}-client-id
85             security.protocol: SASL_PLAINTEXT
86             sasl.mechanism: {{ .Values.kafkaUser.authenticationType | upper }}
87             sasl.jaas.config: ${SASL_JAAS_CONFIG}
88     participantSupportedElementTypes:
89       -
90         typeName: org.onap.policy.clamp.acm.KserveAutomationCompositionElement
91         typeVersion: 1.0.1
92       -
93         typeName: org.onap.policy.clamp.acm.AutomationCompositionElement
94         typeVersion: 1.0.0
95
96 customresourcedefinition:
97   group: serving.kserve.io
98   version: v1beta1
99   plural: inferenceservices
100   grace-period: 10
101
102 management:
103   endpoints:
104     web:
105       base-path: /
106       exposure:
107         include: health, metrics, prometheus
108 server:
109   port: 8087
110   servlet:
111     context-path: /onap/policy/clamp/acm/kserveparticipant
112   ssl:
113     enabled: false