[DMAAP] DMaaP ServiceMesh compatibility
[oom.git] / kubernetes / policy / components / policy-clamp-ac-pf-ppnt / resources / config / PolicyParticipantParameters.yaml
1 #  ============LICENSE_START=======================================================
2 #   Copyright (C) 2021-2022 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   security:
21     user:
22       name: ${RESTSERVER_USER}
23       password: ${RESTSERVER_PASSWORD}
24 security:
25   enable-csrf: false
26
27 participant:
28   pdpGroup: defaultGroup
29   pdpType: apex
30   policyApiParameters:
31     clientName: api
32     hostname: policy-api
33     port: 6969
34     userName: ${API_USER}
35     password: ${API_PASSWORD}
36     useHttps: true
37     allowSelfSignedCerts: true
38   policyPapParameters:
39     clientName: pap
40     hostname: policy-pap
41     port: 6969
42     userName: ${PAP_USER}
43     password: ${PAP_PASSWORD}
44     useHttps: true
45     allowSelfSignedCerts: true
46   intermediaryParameters:
47     reportingTimeIntervalMs: 120000
48     description: Participant Description
49     participantId:
50       name: org.onap.PM_Policy
51       version: 1.0.0
52     participantType:
53       name: org.onap.policy.clamp.acm.PolicyParticipant
54       version: 2.3.1
55     clampAutomationCompositionTopics:
56       topicSources:
57         -
58           topic: POLICY-ACRUNTIME-PARTICIPANT
59           servers:
60             - ${topicServer:message-router}
61           topicCommInfrastructure: dmaap
62           fetchTimeout: 15000
63           useHttps: true
64       topicSinks:
65         -
66           topic: POLICY-ACRUNTIME-PARTICIPANT
67           servers:
68             - ${topicServer:message-router}
69           topicCommInfrastructure: dmaap
70           useHttps: true
71
72 management:
73   endpoints:
74     web:
75       exposure:
76         include: health, metrics, prometheus
77
78 server:
79   port: 8085
80   servlet:
81     context-path: /onap/policyparticipant