rameshiyer27 | 3c3402d | 2021-09-21 15:14:39 +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 | 3c3402d | 2021-09-21 15:14:39 +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 | {{- if .Values.config.useStrimziKafka }} |
| 25 | kafka: |
Sirisha_Manchikanti | b402a59 | 2022-09-09 12:01:20 +0100 | [diff] [blame] | 26 | consumer: |
| 27 | group-id: {{ .Values.config.kafka.consumer.groupId }} |
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 | 3c3402d | 2021-09-21 15:14:39 +0100 | [diff] [blame] | 40 | participant: |
| 41 | intermediaryParameters: |
| 42 | reportingTimeIntervalMs: 120000 |
| 43 | description: Participant Description |
| 44 | participantId: |
| 45 | name: HttpParticipant0 |
| 46 | version: 1.0.0 |
| 47 | participantType: |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 48 | name: org.onap.policy.clamp.acm.HttpParticipant |
rameshiyer27 | 3c3402d | 2021-09-21 15:14:39 +0100 | [diff] [blame] | 49 | version: 2.3.4 |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 50 | clampAutomationCompositionTopics: |
rameshiyer27 | 3c3402d | 2021-09-21 15:14:39 +0100 | [diff] [blame] | 51 | topicSources: |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 52 | - topic: POLICY-ACRUNTIME-PARTICIPANT |
rameshiyer27 | 3c3402d | 2021-09-21 15:14:39 +0100 | [diff] [blame] | 53 | servers: |
| 54 | - ${topicServer:message-router} |
| 55 | topicCommInfrastructure: dmaap |
| 56 | fetchTimeout: 15000 |
| 57 | useHttps: true |
| 58 | topicSinks: |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 59 | - topic: POLICY-ACRUNTIME-PARTICIPANT |
rameshiyer27 | 3c3402d | 2021-09-21 15:14:39 +0100 | [diff] [blame] | 60 | servers: |
| 61 | - ${topicServer:message-router} |
| 62 | topicCommInfrastructure: dmaap |
| 63 | useHttps: true |
Sirisha_Manchikanti | b402a59 | 2022-09-09 12:01:20 +0100 | [diff] [blame] | 64 | # If Strimzi Kafka to be used for communication, replace clampAutomationCompositionTopics configuration with below |
| 65 | # clampAutomationCompositionTopics: |
| 66 | # topicSources: |
| 67 | # - topic: policy-acruntime-participant |
| 68 | # servers: |
| 69 | # - {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092 |
| 70 | # topicCommInfrastructure: kafka |
| 71 | # fetchTimeout: 15000 |
| 72 | # useHttps: true |
| 73 | # additionalProps: |
| 74 | # security.protocol: SASL_PLAINTEXT |
| 75 | # sasl.mechanism: SCRAM-SHA-512 |
| 76 | # sasl.jaas.config: ${JAASLOGIN} |
| 77 | # topicSinks: |
| 78 | # - topic: policy-acruntime-participant |
| 79 | # servers: |
| 80 | # - {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092 |
| 81 | # topicCommInfrastructure: kafka |
| 82 | # useHttps: true |
| 83 | # additionalProps: |
| 84 | # security.protocol: SASL_PLAINTEXT |
| 85 | # sasl.mechanism: SCRAM-SHA-512 |
| 86 | # sasl.jaas.config: ${JAASLOGIN} |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 87 | |
| 88 | management: |
| 89 | endpoints: |
| 90 | web: |
| 91 | exposure: |
| 92 | include: health, metrics, prometheus |
| 93 | server: |
| 94 | port: 8084 |
| 95 | servlet: |
| 96 | context-path: /onap/httpparticipant |