50bb10ac5a0220880f38943a94938f2d454fc2a7
[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         - topic: ${participant.intermediaryParameters.topics.syncTopic}
56           servers:
57             - "{{ .Values.global.kafkaServer }}:9092"
58           topicCommInfrastructure: kafka
59           fetchTimeout: 15000
60       topicSinks:
61         - topic: ${participant.intermediaryParameters.topics.operationTopic}
62           servers:
63             - "{{ .Values.global.kafkaServer }}:9092"
64           topicCommInfrastructure: kafka
65     participantSupportedElementTypes:
66       -
67         typeName: org.onap.policy.clamp.acm.KserveAutomationCompositionElement
68         typeVersion: 1.0.1
69
70 customresourcedefinition:
71   group: serving.kserve.io
72   version: v1beta1
73   plural: inferenceservices
74   grace-period: 10
75
76 management:
77   endpoints:
78     web:
79       base-path: /
80       exposure:
81         include: health, metrics, prometheus
82 server:
83   port: 8087
84   servlet:
85     context-path: /onap/policy/clamp/acm/kserveparticipant
86   ssl:
87     enabled: false
88
89