6e854c9a3de17b1c9fca56911abbf87af48db1f5
[policy/docker.git] /
1 #  ============LICENSE_START=======================================================
2 #  Copyright (C) 2023-2024 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: policy-acruntime-participant
44       syncTopic: acm-ppnt-sync
45     reportingTimeIntervalMs: 120000
46     description: Participant Description
47     participantId: 101c62b3-8918-41b9-a747-d21eb79c6c04
48     clampAutomationCompositionTopics:
49       topicSources:
50         - topic: ${participant.intermediaryParameters.topics.operationTopic}
51           servers:
52             - "{{ .Values.global.kafkaServer }}:9092"
53           topicCommInfrastructure: kafka
54           fetchTimeout: 15000
55           additionalProps:
56             group.id: policy-clamp-ac-kserve-ppnt
57         - topic: ${participant.intermediaryParameters.topics.syncTopic}
58           servers:
59             - "{{ .Values.global.kafkaServer }}:9092"
60           topicCommInfrastructure: kafka
61           fetchTimeout: 15000
62       topicSinks:
63         - topic: ${participant.intermediaryParameters.topics.operationTopic}
64           servers:
65             - "{{ .Values.global.kafkaServer }}:9092"
66           topicCommInfrastructure: kafka
67     participantSupportedElementTypes:
68       -
69         typeName: org.onap.policy.clamp.acm.KserveAutomationCompositionElement
70         typeVersion: 1.0.1
71
72 customresourcedefinition:
73   group: serving.kserve.io
74   version: v1beta1
75   plural: inferenceservices
76   grace-period: 10
77
78 management:
79   endpoints:
80     web:
81       base-path: /
82       exposure:
83         include: health, metrics, prometheus
84 server:
85   port: 8087
86   servlet:
87     context-path: /onap/policy/clamp/acm/kserveparticipant
88   ssl:
89     enabled: false
90
91