7f17820742a2504400a27a52a5989bb82f7fd79c
[policy/docker.git] /
1 #  ============LICENSE_START=======================================================
2 #   Copyright (C) 2024 Nordix Foundation.
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 #
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
19 spring:
20   autoconfigure:
21     exclude:
22       - org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration
23       - org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration
24       - org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration
25       - org.springframework.boot.autoconfigure.data.web.SpringDataWebAutoConfiguration
26   security:
27     user:
28       name: ${RESTSERVER_USER}
29       password: ${RESTSERVER_PASSWORD}
30
31 security:
32   enable-csrf: false
33
34 participant:
35   intermediaryParameters:
36     topics:
37       operationTopic: policy-acruntime-participant
38       syncTopic: acm-ppnt-sync
39     reportingTimeIntervalMs: 120000
40     description: Participant Description
41     participantId: 101c62b3-8918-41b9-a747-d21eb79c6c90
42     clampAutomationCompositionTopics:
43       topicSources:
44         - topic: ${participant.intermediaryParameters.topics.operationTopic}
45           servers:
46             - "{{ .Values.global.kafkaServer }}:9092"
47           topicCommInfrastructure: kafka
48           fetchTimeout: 15000
49           useHttps: false
50           additionalProps:
51             group.id: policy-clamp-ac-sim-ppnt
52         - topic: ${participant.intermediaryParameters.topics.syncTopic}
53           servers:
54             - "{{ .Values.global.kafkaServer }}:9092"
55           topicCommInfrastructure: kafka
56           fetchTimeout: 15000
57           useHttps: false
58       topicSinks:
59         - topic: ${participant.intermediaryParameters.topics.operationTopic}
60           servers:
61             - "{{ .Values.global.kafkaServer }}:9092"
62           topicCommInfrastructure: kafka
63           useHttps: false
64     participantSupportedElementTypes:
65       -
66         typeName: org.onap.policy.clamp.acm.SimAutomationCompositionElement
67         typeVersion: 1.0.0
68
69 management:
70   endpoints:
71     web:
72       base-path: /
73       exposure:
74         include: health, metrics, prometheus
75 server:
76   port: 6969
77   servlet:
78     context-path: /onap/policy/simparticipant
79   ssl:
80     enabled: false