rameshiyer27 | 01b8cc0 | 2021-09-21 15:07:50 +0100 | [diff] [blame] | 1 | # ============LICENSE_START======================================================= |
Lathish | 738ed77 | 2022-02-15 20:12:09 +0530 | [diff] [blame] | 2 | # Copyright (C) 2021-2022 Nordix Foundation. All rights reserved. |
rameshiyer27 | 01b8cc0 | 2021-09-21 15:07:50 +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 | |
| 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 |
rameshiyer27 | 01b8cc0 | 2021-09-21 15:07:50 +0100 | [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 | |
rameshiyer27 | 01b8cc0 | 2021-09-21 15:07:50 +0100 | [diff] [blame] | 42 | security: |
| 43 | enable-csrf: false |
| 44 | |
| 45 | participant: |
| 46 | localChartDirectory: /home/policy/local-charts |
| 47 | infoFileName: CHART_INFO.json |
| 48 | intermediaryParameters: |
| 49 | reportingTimeIntervalMs: 120000 |
| 50 | description: Participant Description |
saul.gill | 5e61140 | 2023-03-02 11:49:23 +0000 | [diff] [blame] | 51 | participantId: 101c62b3-8918-41b9-a747-d21eb79c6c02 |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 52 | clampAutomationCompositionTopics: |
rameshiyer27 | 01b8cc0 | 2021-09-21 15:07:50 +0100 | [diff] [blame] | 53 | topicSources: |
| 54 | - |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 55 | topic: POLICY-ACRUNTIME-PARTICIPANT |
rameshiyer27 | 01b8cc0 | 2021-09-21 15:07:50 +0100 | [diff] [blame] | 56 | servers: |
| 57 | - ${topicServer:message-router} |
| 58 | topicCommInfrastructure: dmaap |
| 59 | fetchTimeout: 15000 |
efiacor | 2123fec | 2022-12-09 13:40:55 +0000 | [diff] [blame] | 60 | useHttps: "false" |
rameshiyer27 | 01b8cc0 | 2021-09-21 15:07:50 +0100 | [diff] [blame] | 61 | topicSinks: |
| 62 | - |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 63 | topic: POLICY-ACRUNTIME-PARTICIPANT |
rameshiyer27 | 01b8cc0 | 2021-09-21 15:07:50 +0100 | [diff] [blame] | 64 | servers: |
| 65 | - ${topicServer:message-router} |
| 66 | topicCommInfrastructure: dmaap |
efiacor | 2123fec | 2022-12-09 13:40:55 +0000 | [diff] [blame] | 67 | useHttps: "false" |
saul.gill | 5e61140 | 2023-03-02 11:49:23 +0000 | [diff] [blame] | 68 | participantSupportedElementTypes: |
| 69 | - |
| 70 | typeName: org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement |
| 71 | typeVersion: 1.0.0 |
rameshiyer27 | 01b8cc0 | 2021-09-21 15:07:50 +0100 | [diff] [blame] | 72 | |
Sirisha_Manchikanti | b402a59 | 2022-09-09 12:01:20 +0100 | [diff] [blame] | 73 | # If Strimzi Kafka to be used for communication, replace clampAutomationCompositionTopics configuration with below |
| 74 | # clampAutomationCompositionTopics: |
| 75 | # topicSources: |
| 76 | # - |
| 77 | # topic: policy-acruntime-participant |
| 78 | # servers: |
| 79 | # - {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092 |
| 80 | # topicCommInfrastructure: kafka |
| 81 | # fetchTimeout: 15000 |
| 82 | # useHttps: true |
| 83 | # additionalProps: |
| 84 | # security.protocol: SASL_PLAINTEXT |
| 85 | # sasl.mechanism: SCRAM-SHA-512 |
| 86 | # sasl.jaas.config: ${JAASLOGIN} |
| 87 | # topicSinks: |
| 88 | # - |
| 89 | # topic: policy-acruntime-participant |
| 90 | # servers: |
| 91 | # - {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092 |
| 92 | # topicCommInfrastructure: kafka |
| 93 | # useHttps: true |
| 94 | # additionalProps: |
| 95 | # security.protocol: SASL_PLAINTEXT |
| 96 | # sasl.mechanism: SCRAM-SHA-512 |
| 97 | # sasl.jaas.config: ${JAASLOGIN} |
| 98 | |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 99 | management: |
| 100 | endpoints: |
| 101 | web: |
| 102 | exposure: |
| 103 | include: health, metrics, prometheus |
| 104 | |
rameshiyer27 | 01b8cc0 | 2021-09-21 15:07:50 +0100 | [diff] [blame] | 105 | server: |
| 106 | # Configuration of the HTTP/REST server. The parameters are defined and handled by the springboot framework. |
| 107 | # See springboot documentation. |
| 108 | port: 8083 |
Lathish | 738ed77 | 2022-02-15 20:12:09 +0530 | [diff] [blame] | 109 | servlet: |
| 110 | context-path: /onap/policy/clamp/acm/k8sparticipant |
amatthews | 736bf37 | 2021-12-14 16:04:15 +0000 | [diff] [blame] | 111 | ssl: |
| 112 | enabled: {{ (eq "true" (include "common.needTLS" .)) | ternary true false }} |
| 113 | |
rameshiyer27 | 01b8cc0 | 2021-09-21 15:07:50 +0100 | [diff] [blame] | 114 | |
Lathish | 738ed77 | 2022-02-15 20:12:09 +0530 | [diff] [blame] | 115 | logging: |
| 116 | # Configuration of logging |
| 117 | level: |
Lathish | e999dad | 2022-02-28 10:34:46 +0000 | [diff] [blame] | 118 | ROOT: INFO |
Lathish | 738ed77 | 2022-02-15 20:12:09 +0530 | [diff] [blame] | 119 | org.springframework: ERROR |
| 120 | org.springframework.data: ERROR |
| 121 | org.springframework.web.reactive.function.client.ExchangeFunctions: ERROR |
| 122 | org.onap.policy.clamp.controlloop.participant.kubernetes: INFO |
| 123 | |
| 124 | file: |
| 125 | name: /var/log/onap/policy/clamp/application.log |
| 126 | |
| 127 | chart: |
| 128 | api: |
Lathish | e999dad | 2022-02-28 10:34:46 +0000 | [diff] [blame] | 129 | enabled: false |
| 130 | |
rameshiyer27 | 3c81b1d | 2022-07-18 16:54:51 +0100 | [diff] [blame] | 131 | # Permitted list of helm repositories. Values are updated from values.yaml |