f8932ecbdb67390cad67831853752a29cb7d051f
[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   application:
21     name: sim-ppnt
22   autoconfigure:
23     exclude:
24       - org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration
25       - org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration
26       - org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration
27       - org.springframework.boot.autoconfigure.data.web.SpringDataWebAutoConfiguration
28   security:
29     user:
30       name: ${RESTSERVER_USER}
31       password: ${RESTSERVER_PASSWORD}
32
33 security:
34   enable-csrf: false
35
36 participant:
37   intermediaryParameters:
38     topics:
39       operationTopic: policy-acruntime-participant
40       syncTopic: acm-ppnt-sync
41     reportingTimeIntervalMs: 120000
42     description: Participant Description
43     participantId: 101c62b3-8918-41b9-a747-d21eb79c6c90
44     clampAutomationCompositionTopics:
45       topicSources:
46         - topic: ${participant.intermediaryParameters.topics.operationTopic}
47           servers:
48             - "{{ .Values.global.kafkaServer }}:9092"
49           topicCommInfrastructure: kafka
50           fetchTimeout: 15000
51           useHttps: false
52           allowTracing: {{ include "policy-clamp-ac-sim-ppnt.jaeger-enabled" . }}
53           additionalProps:
54             group.id: policy-clamp-ac-sim-ppnt
55         - topic: ${participant.intermediaryParameters.topics.syncTopic}
56           servers:
57             - "{{ .Values.global.kafkaServer }}:9092"
58           topicCommInfrastructure: kafka
59           fetchTimeout: 15000
60           useHttps: false
61           allowTracing: {{ include "policy-clamp-ac-sim-ppnt.jaeger-enabled" . }}
62       topicSinks:
63         - topic: ${participant.intermediaryParameters.topics.operationTopic}
64           servers:
65             - "{{ .Values.global.kafkaServer }}:9092"
66           topicCommInfrastructure: kafka
67           useHttps: false
68           allowTracing: {{ include "policy-clamp-ac-sim-ppnt.jaeger-enabled" . }}
69     participantSupportedElementTypes:
70       -
71         typeName: org.onap.policy.clamp.acm.SimAutomationCompositionElement
72         typeVersion: 1.0.0
73
74 management:
75   tracing:
76     propagation:
77       produce: [{{ .Values.jaeger.producer.type }}]
78     sampling:
79       probability: {{ .Values.jaeger.sampling.probability }}
80   endpoints:
81     web:
82       base-path: /
83       exposure:
84         include: health, metrics, prometheus
85 server:
86   port: 6969
87   servlet:
88     context-path: /onap/policy/simparticipant
89   ssl:
90     enabled: false
91
92 tracing:
93   enabled: {{ .Values.jaeger.enabled }}
94   exporter:
95     endpoint: {{ .Values.jaeger.collector.host }}:{{ include "policy-clamp-ac-sim-ppnt.exporter-port" . }}
96     protocol: {{ .Values.jaeger.collector.protocol }}
97   sampler:
98     jaeger-remote:
99       endpoint: {{ .Values.jaeger.collector.host }}:{{ .Values.jaeger.collector.portJaegerGrpc }}