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: |
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 | kafka: |
Sirisha_Manchikanti | b402a59 | 2022-09-09 12:01:20 +0100 | [diff] [blame] | 30 | consumer: |
| 31 | group-id: {{ .Values.config.kafka.consumer.groupId }} |
| 32 | {{- if .Values.config.useStrimziKafka }} |
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 | ff17665 | 2021-09-21 15:19:05 +0100 | [diff] [blame] | 45 | participant: |
| 46 | pdpGroup: defaultGroup |
| 47 | pdpType: apex |
| 48 | policyApiParameters: |
| 49 | clientName: api |
| 50 | hostname: policy-api |
| 51 | port: 6969 |
| 52 | userName: ${API_USER} |
| 53 | password: ${API_PASSWORD} |
amatthews | 736bf37 | 2021-12-14 16:04:15 +0000 | [diff] [blame] | 54 | useHttps: {{ (eq "true" (include "common.needTLS" .)) | ternary "true" "false" }} |
rameshiyer27 | ff17665 | 2021-09-21 15:19:05 +0100 | [diff] [blame] | 55 | allowSelfSignedCerts: true |
| 56 | policyPapParameters: |
| 57 | clientName: pap |
| 58 | hostname: policy-pap |
| 59 | port: 6969 |
| 60 | userName: ${PAP_USER} |
| 61 | password: ${PAP_PASSWORD} |
amatthews | 736bf37 | 2021-12-14 16:04:15 +0000 | [diff] [blame] | 62 | useHttps: {{ (eq "true" (include "common.needTLS" .)) | ternary "true" "false" }} |
rameshiyer27 | ff17665 | 2021-09-21 15:19:05 +0100 | [diff] [blame] | 63 | allowSelfSignedCerts: true |
| 64 | intermediaryParameters: |
| 65 | reportingTimeIntervalMs: 120000 |
| 66 | description: Participant Description |
| 67 | participantId: |
| 68 | name: org.onap.PM_Policy |
| 69 | version: 1.0.0 |
| 70 | participantType: |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 71 | name: org.onap.policy.clamp.acm.PolicyParticipant |
rameshiyer27 | ff17665 | 2021-09-21 15:19:05 +0100 | [diff] [blame] | 72 | version: 2.3.1 |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 73 | clampAutomationCompositionTopics: |
rameshiyer27 | ff17665 | 2021-09-21 15:19:05 +0100 | [diff] [blame] | 74 | topicSources: |
| 75 | - |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 76 | topic: POLICY-ACRUNTIME-PARTICIPANT |
rameshiyer27 | ff17665 | 2021-09-21 15:19:05 +0100 | [diff] [blame] | 77 | servers: |
| 78 | - ${topicServer:message-router} |
| 79 | topicCommInfrastructure: dmaap |
| 80 | fetchTimeout: 15000 |
efiacor | 2123fec | 2022-12-09 13:40:55 +0000 | [diff] [blame^] | 81 | useHttps: "false" |
rameshiyer27 | ff17665 | 2021-09-21 15:19:05 +0100 | [diff] [blame] | 82 | topicSinks: |
| 83 | - |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 84 | topic: POLICY-ACRUNTIME-PARTICIPANT |
rameshiyer27 | ff17665 | 2021-09-21 15:19:05 +0100 | [diff] [blame] | 85 | servers: |
| 86 | - ${topicServer:message-router} |
| 87 | topicCommInfrastructure: dmaap |
efiacor | 2123fec | 2022-12-09 13:40:55 +0000 | [diff] [blame^] | 88 | useHttps: "false" |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 89 | |
Sirisha_Manchikanti | b402a59 | 2022-09-09 12:01:20 +0100 | [diff] [blame] | 90 | # If Strimzi Kafka to be used for communication, replace clampAutomationCompositionTopics configuration with below |
| 91 | # clampAutomationCompositionTopics: |
| 92 | # topicSources: |
| 93 | # - |
| 94 | # topic: policy-acruntime-participant |
| 95 | # servers: |
| 96 | # - {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092 |
| 97 | # topicCommInfrastructure: kafka |
| 98 | # fetchTimeout: 15000 |
| 99 | # useHttps: true |
| 100 | # additionalProps: |
| 101 | # security.protocol: SASL_PLAINTEXT |
| 102 | # sasl.mechanism: SCRAM-SHA-512 |
| 103 | # sasl.jaas.config: ${JAASLOGIN} |
| 104 | # topicSinks: |
| 105 | # - |
| 106 | # topic: policy-acruntime-participant |
| 107 | # servers: |
| 108 | # - {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092 |
| 109 | # topicCommInfrastructure: kafka |
| 110 | # useHttps: true |
| 111 | # additionalProps: |
| 112 | # security.protocol: SASL_PLAINTEXT |
| 113 | # sasl.mechanism: SCRAM-SHA-512 |
| 114 | # sasl.jaas.config: ${JAASLOGIN} |
| 115 | |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 116 | management: |
| 117 | endpoints: |
| 118 | web: |
| 119 | exposure: |
| 120 | include: health, metrics, prometheus |
| 121 | |
| 122 | server: |
| 123 | port: 8085 |
| 124 | servlet: |
| 125 | context-path: /onap/policyparticipant |
amatthews | 736bf37 | 2021-12-14 16:04:15 +0000 | [diff] [blame] | 126 | ssl: |
| 127 | enabled: {{ (eq "true" (include "common.needTLS" .)) | ternary true false }} |
| 128 | |