saul.gill | 7124a4b | 2021-09-09 12:02:49 +0100 | [diff] [blame] | 1 | # ============LICENSE_START======================================================= |
efiacor | 6910bbe | 2023-03-03 14:53:16 +0000 | [diff] [blame] | 2 | # Copyright (C) 2021-2023 Nordix Foundation. |
saul.gill | 7124a4b | 2021-09-09 12:02:49 +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: |
| 20 | security: |
| 21 | user: |
| 22 | name: ${RUNTIME_USER} |
| 23 | password: ${RUNTIME_PASSWORD} |
| 24 | http: |
| 25 | converters: |
| 26 | preferred-json-mapper: gson |
liamfallon | 312ab37 | 2021-12-13 14:33:33 +0000 | [diff] [blame] | 27 | datasource: |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 28 | url: jdbc:mariadb://{{ .Values.db.service.name }}:{{ .Values.db.service.internalPort }}/clampacm |
liamfallon | 312ab37 | 2021-12-13 14:33:33 +0000 | [diff] [blame] | 29 | driverClassName: org.mariadb.jdbc.Driver |
| 30 | username: ${SQL_USER} |
| 31 | password: ${SQL_PASSWORD} |
| 32 | hikari: |
| 33 | connectionTimeout: 30000 |
| 34 | idleTimeout: 600000 |
| 35 | maxLifetime: 1800000 |
| 36 | maximumPoolSize: 10 |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 37 | jpa: |
| 38 | hibernate: |
| 39 | ddl-auto: update |
| 40 | naming: |
| 41 | physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl |
| 42 | implicit-strategy: org.onap.policy.common.spring.utils.CustomImplicitNamingStrategy |
| 43 | properties: |
| 44 | hibernate: |
| 45 | dialect: org.hibernate.dialect.MariaDB103Dialect |
| 46 | format_sql: true |
saul.gill | 7124a4b | 2021-09-09 12:02:49 +0100 | [diff] [blame] | 47 | |
saul.gill | 886dc1e | 2023-08-25 14:03:04 +0100 | [diff] [blame] | 48 | metrics: |
| 49 | security: |
| 50 | disabled: false |
| 51 | |
saul.gill | 7124a4b | 2021-09-09 12:02:49 +0100 | [diff] [blame] | 52 | security: |
| 53 | enable-csrf: false |
| 54 | |
| 55 | server: |
| 56 | port: 6969 |
| 57 | servlet: |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 58 | context-path: /onap/policy/clamp/acm |
saul.gill | 7124a4b | 2021-09-09 12:02:49 +0100 | [diff] [blame] | 59 | error: |
| 60 | path: /error |
amatthews | 736bf37 | 2021-12-14 16:04:15 +0000 | [diff] [blame] | 61 | ssl: |
Andreas Geissler | f10c555 | 2023-03-21 18:09:46 +0100 | [diff] [blame] | 62 | enabled: false |
saul.gill | 7124a4b | 2021-09-09 12:02:49 +0100 | [diff] [blame] | 63 | |
saul.gill | 7124a4b | 2021-09-09 12:02:49 +0100 | [diff] [blame] | 64 | runtime: |
saul.gill | 7124a4b | 2021-09-09 12:02:49 +0100 | [diff] [blame] | 65 | participantParameters: |
| 66 | heartBeatMs: 120000 |
| 67 | maxMessageAgeMs: 600000 |
| 68 | maxStatusWaitMs: 100000 |
| 69 | updateParameters: |
| 70 | maxRetryCount: 3 |
| 71 | maxWaitMs: 100000 |
saul.gill | 7124a4b | 2021-09-09 12:02:49 +0100 | [diff] [blame] | 72 | topicParameterGroup: |
| 73 | topicSources: |
| 74 | - |
efiacor | 6910bbe | 2023-03-03 14:53:16 +0000 | [diff] [blame] | 75 | useHttps: false |
| 76 | fetchTimeout: 15000 |
| 77 | topic: {{ .Values.global.kafkaTopics.acRuntimeTopic.name }} |
efiacor | 6910bbe | 2023-03-03 14:53:16 +0000 | [diff] [blame] | 78 | topicCommInfrastructure: kafka |
| 79 | servers: |
rameshiyer27 | bc8a6a4 | 2024-03-11 17:18:11 +0000 | [diff] [blame^] | 80 | - {{ include "common.release" . }}-{{ .Values.global.kafkaBootstrap }} |
efiacor | 6910bbe | 2023-03-03 14:53:16 +0000 | [diff] [blame] | 81 | additionalProps: |
| 82 | group.id: {{ (first .Values.kafkaUser.acls).name }} |
| 83 | allow.auto.create.topics: false |
| 84 | security.protocol: SASL_PLAINTEXT |
| 85 | sasl.mechanism: {{ .Values.kafkaUser.authenticationType | upper }} |
| 86 | sasl.jaas.config: ${SASL_JAAS_CONFIG} |
saul.gill | 7124a4b | 2021-09-09 12:02:49 +0100 | [diff] [blame] | 87 | topicSinks: |
| 88 | - |
efiacor | 6910bbe | 2023-03-03 14:53:16 +0000 | [diff] [blame] | 89 | useHttps: false |
| 90 | fetchTimeout: 15000 |
| 91 | topic: {{ .Values.global.kafkaTopics.acRuntimeTopic.name }} |
efiacor | 6910bbe | 2023-03-03 14:53:16 +0000 | [diff] [blame] | 92 | topicCommInfrastructure: kafka |
| 93 | servers: |
rameshiyer27 | bc8a6a4 | 2024-03-11 17:18:11 +0000 | [diff] [blame^] | 94 | - {{ include "common.release" . }}-{{ .Values.global.kafkaBootstrap }} |
efiacor | 6910bbe | 2023-03-03 14:53:16 +0000 | [diff] [blame] | 95 | additionalProps: |
| 96 | client.id: {{ (first .Values.kafkaUser.acls).name }}-client-id |
| 97 | security.protocol: SASL_PLAINTEXT |
| 98 | sasl.mechanism: {{ .Values.kafkaUser.authenticationType | upper }} |
| 99 | sasl.jaas.config: ${SASL_JAAS_CONFIG} |
rameshiyer27 | 6b20c09 | 2023-10-06 10:48:28 +0100 | [diff] [blame] | 100 | acmParameters: |
| 101 | toscaElementName: {{ .Values.customNaming.toscaElementName }} |
| 102 | toscaCompositionName: {{ .Values.customNaming.toscaCompositionName }} |
Sirisha_Manchikanti | b402a59 | 2022-09-09 12:01:20 +0100 | [diff] [blame] | 103 | |
saul.gill | 7124a4b | 2021-09-09 12:02:49 +0100 | [diff] [blame] | 104 | management: |
| 105 | endpoints: |
| 106 | web: |
| 107 | exposure: |
| 108 | include: health, metrics, prometheus |