rameshiyer27 | ff17665 | 2021-09-21 15:19:05 +0100 | [diff] [blame] | 1 | # ============LICENSE_START======================================================= |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 2 | # Copyright (C) 2021-2022 Nordix Foundation. |
rameshiyer27 | ff17665 | 2021-09-21 15:19:05 +0100 | [diff] [blame] | 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 | |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 19 | spring: |
| 20 | security: |
| 21 | user: |
| 22 | name: ${RESTSERVER_USER} |
| 23 | password: ${RESTSERVER_PASSWORD} |
Sirisha_Manchikanti | 73c5f00 | 2022-07-25 17:04:45 +0100 | [diff] [blame] | 24 | kafka: |
Sirisha_Manchikanti | b402a59 | 2022-09-09 12:01:20 +0100 | [diff] [blame^] | 25 | consumer: |
| 26 | group-id: {{ .Values.config.kafka.consumer.groupId }} |
| 27 | {{- if .Values.config.useStrimziKafka }} |
Sirisha_Manchikanti | 73c5f00 | 2022-07-25 17:04:45 +0100 | [diff] [blame] | 28 | bootstrap-servers: {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092 |
| 29 | security.protocol: SASL_PLAINTEXT |
| 30 | properties.sasl: |
| 31 | mechanism: SCRAM-SHA-512 |
| 32 | jaas.config: ${JAASLOGIN} |
| 33 | {{ else }} |
Sirisha_Manchikanti | b402a59 | 2022-09-09 12:01:20 +0100 | [diff] [blame^] | 34 | {{ toYaml .Values.config.eventConsumption | nindent 2 }} |
Sirisha_Manchikanti | 73c5f00 | 2022-07-25 17:04:45 +0100 | [diff] [blame] | 35 | {{- end }} |
| 36 | |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 37 | security: |
| 38 | enable-csrf: false |
| 39 | |
rameshiyer27 | ff17665 | 2021-09-21 15:19:05 +0100 | [diff] [blame] | 40 | participant: |
| 41 | pdpGroup: defaultGroup |
| 42 | pdpType: apex |
| 43 | policyApiParameters: |
| 44 | clientName: api |
| 45 | hostname: policy-api |
| 46 | port: 6969 |
| 47 | userName: ${API_USER} |
| 48 | password: ${API_PASSWORD} |
saul.gill | f16e856 | 2021-11-10 15:37:53 +0000 | [diff] [blame] | 49 | useHttps: true |
rameshiyer27 | ff17665 | 2021-09-21 15:19:05 +0100 | [diff] [blame] | 50 | allowSelfSignedCerts: true |
| 51 | policyPapParameters: |
| 52 | clientName: pap |
| 53 | hostname: policy-pap |
| 54 | port: 6969 |
| 55 | userName: ${PAP_USER} |
| 56 | password: ${PAP_PASSWORD} |
saul.gill | f16e856 | 2021-11-10 15:37:53 +0000 | [diff] [blame] | 57 | useHttps: true |
rameshiyer27 | ff17665 | 2021-09-21 15:19:05 +0100 | [diff] [blame] | 58 | allowSelfSignedCerts: true |
| 59 | intermediaryParameters: |
| 60 | reportingTimeIntervalMs: 120000 |
| 61 | description: Participant Description |
| 62 | participantId: |
| 63 | name: org.onap.PM_Policy |
| 64 | version: 1.0.0 |
| 65 | participantType: |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 66 | name: org.onap.policy.clamp.acm.PolicyParticipant |
rameshiyer27 | ff17665 | 2021-09-21 15:19:05 +0100 | [diff] [blame] | 67 | version: 2.3.1 |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 68 | clampAutomationCompositionTopics: |
rameshiyer27 | ff17665 | 2021-09-21 15:19:05 +0100 | [diff] [blame] | 69 | topicSources: |
| 70 | - |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 71 | topic: POLICY-ACRUNTIME-PARTICIPANT |
rameshiyer27 | ff17665 | 2021-09-21 15:19:05 +0100 | [diff] [blame] | 72 | servers: |
| 73 | - ${topicServer:message-router} |
| 74 | topicCommInfrastructure: dmaap |
| 75 | fetchTimeout: 15000 |
| 76 | useHttps: true |
| 77 | topicSinks: |
| 78 | - |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 79 | topic: POLICY-ACRUNTIME-PARTICIPANT |
rameshiyer27 | ff17665 | 2021-09-21 15:19:05 +0100 | [diff] [blame] | 80 | servers: |
| 81 | - ${topicServer:message-router} |
| 82 | topicCommInfrastructure: dmaap |
| 83 | useHttps: true |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 84 | |
Sirisha_Manchikanti | b402a59 | 2022-09-09 12:01:20 +0100 | [diff] [blame^] | 85 | # If Strimzi Kafka to be used for communication, replace clampAutomationCompositionTopics configuration with below |
| 86 | # clampAutomationCompositionTopics: |
| 87 | # topicSources: |
| 88 | # - |
| 89 | # topic: policy-acruntime-participant |
| 90 | # servers: |
| 91 | # - {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092 |
| 92 | # topicCommInfrastructure: kafka |
| 93 | # fetchTimeout: 15000 |
| 94 | # useHttps: true |
| 95 | # additionalProps: |
| 96 | # security.protocol: SASL_PLAINTEXT |
| 97 | # sasl.mechanism: SCRAM-SHA-512 |
| 98 | # sasl.jaas.config: ${JAASLOGIN} |
| 99 | # topicSinks: |
| 100 | # - |
| 101 | # topic: policy-acruntime-participant |
| 102 | # servers: |
| 103 | # - {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092 |
| 104 | # topicCommInfrastructure: kafka |
| 105 | # useHttps: true |
| 106 | # additionalProps: |
| 107 | # security.protocol: SASL_PLAINTEXT |
| 108 | # sasl.mechanism: SCRAM-SHA-512 |
| 109 | # sasl.jaas.config: ${JAASLOGIN} |
| 110 | |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 111 | management: |
| 112 | endpoints: |
| 113 | web: |
| 114 | exposure: |
| 115 | include: health, metrics, prometheus |
| 116 | |
| 117 | server: |
| 118 | port: 8085 |
| 119 | servlet: |
| 120 | context-path: /onap/policyparticipant |