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: |
liamfallon | 72ffede | 2022-10-20 11:19:18 +0100 | [diff] [blame] | 20 | autoconfigure: |
| 21 | exclude: > |
| 22 | org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration, |
| 23 | org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration, |
| 24 | org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 25 | security: |
| 26 | user: |
| 27 | name: ${RESTSERVER_USER} |
| 28 | password: ${RESTSERVER_PASSWORD} |
Sirisha_Manchikanti | 73c5f00 | 2022-07-25 17:04:45 +0100 | [diff] [blame] | 29 | {{- if .Values.config.useStrimziKafka }} |
| 30 | kafka: |
Sirisha_Manchikanti | b402a59 | 2022-09-09 12:01:20 +0100 | [diff] [blame] | 31 | consumer: |
| 32 | group-id: {{ .Values.config.kafka.consumer.groupId }} |
Sirisha_Manchikanti | 73c5f00 | 2022-07-25 17:04:45 +0100 | [diff] [blame] | 33 | bootstrap-servers: {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092 |
| 34 | security.protocol: SASL_PLAINTEXT |
| 35 | properties.sasl: |
| 36 | mechanism: SCRAM-SHA-512 |
| 37 | jaas.config: ${JAASLOGIN} |
| 38 | {{ else }} |
Sirisha_Manchikanti | b402a59 | 2022-09-09 12:01:20 +0100 | [diff] [blame] | 39 | {{ toYaml .Values.config.eventConsumption | nindent 2 }} |
Sirisha_Manchikanti | 73c5f00 | 2022-07-25 17:04:45 +0100 | [diff] [blame] | 40 | {{- end }} |
| 41 | |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 42 | security: |
| 43 | enable-csrf: false |
| 44 | |
rameshiyer27 | 3c3402d | 2021-09-21 15:14:39 +0100 | [diff] [blame] | 45 | participant: |
| 46 | intermediaryParameters: |
| 47 | reportingTimeIntervalMs: 120000 |
| 48 | description: Participant Description |
saul.gill | 5e61140 | 2023-03-02 11:49:23 +0000 | [diff] [blame] | 49 | participantId: 101c62b3-8918-41b9-a747-d21eb79c6c01 |
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 |
efiacor | 2123fec | 2022-12-09 13:40:55 +0000 | [diff] [blame] | 57 | useHttps: "false" |
rameshiyer27 | 3c3402d | 2021-09-21 15:14:39 +0100 | [diff] [blame] | 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 |
efiacor | 2123fec | 2022-12-09 13:40:55 +0000 | [diff] [blame] | 63 | useHttps: "false" |
saul.gill | 5e61140 | 2023-03-02 11:49:23 +0000 | [diff] [blame] | 64 | participantSupportedElementTypes: |
| 65 | - |
| 66 | typeName: org.onap.policy.clamp.acm.HttpAutomationCompositionElement |
| 67 | typeVersion: 1.0.0 |
| 68 | |
Sirisha_Manchikanti | b402a59 | 2022-09-09 12:01:20 +0100 | [diff] [blame] | 69 | # If Strimzi Kafka to be used for communication, replace clampAutomationCompositionTopics configuration with below |
| 70 | # clampAutomationCompositionTopics: |
| 71 | # topicSources: |
| 72 | # - topic: policy-acruntime-participant |
| 73 | # servers: |
| 74 | # - {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092 |
| 75 | # topicCommInfrastructure: kafka |
| 76 | # fetchTimeout: 15000 |
| 77 | # useHttps: true |
| 78 | # additionalProps: |
| 79 | # security.protocol: SASL_PLAINTEXT |
| 80 | # sasl.mechanism: SCRAM-SHA-512 |
| 81 | # sasl.jaas.config: ${JAASLOGIN} |
| 82 | # topicSinks: |
| 83 | # - topic: policy-acruntime-participant |
| 84 | # servers: |
| 85 | # - {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092 |
| 86 | # topicCommInfrastructure: kafka |
| 87 | # useHttps: true |
| 88 | # additionalProps: |
| 89 | # security.protocol: SASL_PLAINTEXT |
| 90 | # sasl.mechanism: SCRAM-SHA-512 |
| 91 | # sasl.jaas.config: ${JAASLOGIN} |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 92 | |
| 93 | management: |
| 94 | endpoints: |
| 95 | web: |
| 96 | exposure: |
| 97 | include: health, metrics, prometheus |
| 98 | server: |
| 99 | port: 8084 |
| 100 | servlet: |
| 101 | context-path: /onap/httpparticipant |
amatthews | 736bf37 | 2021-12-14 16:04:15 +0000 | [diff] [blame] | 102 | ssl: |
| 103 | enabled: {{ (eq "true" (include "common.needTLS" .)) | ternary true false }} |
| 104 | |