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 | |
rameshiyer27 | 01b8cc0 | 2021-09-21 15:07:50 +0100 | [diff] [blame] | 30 | security: |
| 31 | enable-csrf: false |
| 32 | |
| 33 | participant: |
| 34 | localChartDirectory: /home/policy/local-charts |
| 35 | infoFileName: CHART_INFO.json |
| 36 | intermediaryParameters: |
| 37 | reportingTimeIntervalMs: 120000 |
| 38 | description: Participant Description |
saul.gill | 5e61140 | 2023-03-02 11:49:23 +0000 | [diff] [blame] | 39 | participantId: 101c62b3-8918-41b9-a747-d21eb79c6c02 |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 40 | clampAutomationCompositionTopics: |
rameshiyer27 | 01b8cc0 | 2021-09-21 15:07:50 +0100 | [diff] [blame] | 41 | topicSources: |
| 42 | - |
efiacor | 6910bbe | 2023-03-03 14:53:16 +0000 | [diff] [blame] | 43 | useHttps: false |
| 44 | fetchTimeout: 15000 |
| 45 | topic: {{ .Values.global.kafkaTopics.acRuntimeTopic.name }} |
| 46 | {{ if .Values.global.useStrimziKafka }} |
| 47 | topicCommInfrastructure: kafka |
| 48 | servers: |
| 49 | - {{ include "common.release" . }}-strimzi-kafka-bootstrap:9092 |
| 50 | additionalProps: |
| 51 | group.id: {{ (first .Values.kafkaUser.acls).name }} |
| 52 | allow.auto.create.topics: false |
| 53 | security.protocol: SASL_PLAINTEXT |
| 54 | sasl.mechanism: {{ .Values.kafkaUser.authenticationType | upper }} |
| 55 | sasl.jaas.config: ${SASL_JAAS_CONFIG} |
| 56 | {{ else }} |
| 57 | topicCommInfrastructure: dmaap |
rameshiyer27 | 01b8cc0 | 2021-09-21 15:07:50 +0100 | [diff] [blame] | 58 | servers: |
| 59 | - ${topicServer:message-router} |
efiacor | 6910bbe | 2023-03-03 14:53:16 +0000 | [diff] [blame] | 60 | {{ end }} |
rameshiyer27 | 01b8cc0 | 2021-09-21 15:07:50 +0100 | [diff] [blame] | 61 | topicSinks: |
| 62 | - |
efiacor | 6910bbe | 2023-03-03 14:53:16 +0000 | [diff] [blame] | 63 | useHttps: false |
| 64 | fetchTimeout: 15000 |
| 65 | topic: {{ .Values.global.kafkaTopics.acRuntimeTopic.name }} |
| 66 | {{ if .Values.global.useStrimziKafka }} |
| 67 | topicCommInfrastructure: kafka |
| 68 | servers: |
| 69 | - {{ include "common.release" . }}-strimzi-kafka-bootstrap:9092 |
| 70 | additionalProps: |
| 71 | client.id: {{ (first .Values.kafkaUser.acls).name }}-client-id |
| 72 | security.protocol: SASL_PLAINTEXT |
| 73 | sasl.mechanism: {{ .Values.kafkaUser.authenticationType | upper }} |
| 74 | sasl.jaas.config: ${SASL_JAAS_CONFIG} |
| 75 | {{ else }} |
| 76 | topicCommInfrastructure: dmaap |
rameshiyer27 | 01b8cc0 | 2021-09-21 15:07:50 +0100 | [diff] [blame] | 77 | servers: |
| 78 | - ${topicServer:message-router} |
efiacor | 6910bbe | 2023-03-03 14:53:16 +0000 | [diff] [blame] | 79 | {{ end }} |
saul.gill | 5e61140 | 2023-03-02 11:49:23 +0000 | [diff] [blame] | 80 | participantSupportedElementTypes: |
| 81 | - |
| 82 | typeName: org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement |
| 83 | typeVersion: 1.0.0 |
rameshiyer27 | 01b8cc0 | 2021-09-21 15:07:50 +0100 | [diff] [blame] | 84 | |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 85 | management: |
| 86 | endpoints: |
| 87 | web: |
| 88 | exposure: |
| 89 | include: health, metrics, prometheus |
| 90 | |
rameshiyer27 | 01b8cc0 | 2021-09-21 15:07:50 +0100 | [diff] [blame] | 91 | server: |
| 92 | # Configuration of the HTTP/REST server. The parameters are defined and handled by the springboot framework. |
| 93 | # See springboot documentation. |
| 94 | port: 8083 |
Lathish | 738ed77 | 2022-02-15 20:12:09 +0530 | [diff] [blame] | 95 | servlet: |
| 96 | context-path: /onap/policy/clamp/acm/k8sparticipant |
amatthews | 736bf37 | 2021-12-14 16:04:15 +0000 | [diff] [blame] | 97 | ssl: |
Andreas Geissler | f10c555 | 2023-03-21 18:09:46 +0100 | [diff] [blame] | 98 | enabled: false |
amatthews | 736bf37 | 2021-12-14 16:04:15 +0000 | [diff] [blame] | 99 | |
rameshiyer27 | 01b8cc0 | 2021-09-21 15:07:50 +0100 | [diff] [blame] | 100 | |
Lathish | 738ed77 | 2022-02-15 20:12:09 +0530 | [diff] [blame] | 101 | logging: |
| 102 | # Configuration of logging |
| 103 | level: |
Lathish | e999dad | 2022-02-28 10:34:46 +0000 | [diff] [blame] | 104 | ROOT: INFO |
Lathish | 738ed77 | 2022-02-15 20:12:09 +0530 | [diff] [blame] | 105 | org.springframework: ERROR |
| 106 | org.springframework.data: ERROR |
| 107 | org.springframework.web.reactive.function.client.ExchangeFunctions: ERROR |
| 108 | org.onap.policy.clamp.controlloop.participant.kubernetes: INFO |
| 109 | |
| 110 | file: |
| 111 | name: /var/log/onap/policy/clamp/application.log |
| 112 | |
| 113 | chart: |
| 114 | api: |
Lathish | e999dad | 2022-02-28 10:34:46 +0000 | [diff] [blame] | 115 | enabled: false |
| 116 | |
rameshiyer27 | 3c81b1d | 2022-07-18 16:54:51 +0100 | [diff] [blame] | 117 | # Permitted list of helm repositories. Values are updated from values.yaml |