d13dccee48ca239e885ce2a408c4460e8460a87b
[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         - topic: ${participant.intermediaryParameters.topics.syncTopic}
51           servers:
52             - "{{ .Values.global.kafkaServer }}:9092"
53           topicCommInfrastructure: kafka
54           fetchTimeout: 15000
55           useHttps: false
56       topicSinks:
57         - topic: ${participant.intermediaryParameters.topics.operationTopic}
58           servers:
59             - "{{ .Values.global.kafkaServer }}:9092"
60           topicCommInfrastructure: kafka
61           useHttps: false
62     participantSupportedElementTypes:
63       -
64         typeName: org.onap.policy.clamp.acm.SimAutomationCompositionElement
65         typeVersion: 1.0.0
66
67 management:
68   endpoints:
69     web:
70       base-path: /
71       exposure:
72         include: health, metrics, prometheus
73 server:
74   port: 6969
75   servlet:
76     context-path: /onap/policy/simparticipant
77   ssl:
78     enabled: false