blob: 5e16967203a0854abd3bc0d29aee4e934dbcdf92 [file] [log] [blame]
Niranjana97097752021-06-11 07:44:13 +00001# ============= LICENSE_START ================================================
2# ============================================================================
Niranjana094e02d2022-03-21 09:32:15 +00003# Copyright (C) 2021-2022 Wipro Limited.
Jack Lucas64da4e72023-03-03 14:46:05 -05004# Copyright (c) 2022-2023 J. F. Lucas. All rights reserved.
pranitk19052e4c8f52023-04-17 17:04:14 +05305# Copyright (c) 2023 Deutsche Telekom AG. All rights reserved.
Niranjana97097752021-06-11 07:44:13 +00006# ============================================================================
7# Licensed under the Apache License, Version 2.0 (the "License");
8# you may not use this file except in compliance with the License.
9# You may obtain a copy of the License at
10#
11# http://www.apache.org/licenses/LICENSE-2.0
12#
13# Unless required by applicable law or agreed to in writing, software
14# distributed under the License is distributed on an "AS IS" BASIS,
15# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16# See the License for the specific language governing permissions and
17# limitations under the License.
18# ============= LICENSE_END ==================================================
19
20#################################################################
21# Global Configuration Defaults.
22#################################################################
23global:
24 nodePortPrefix: 302
25 nodePortPrefixExt: 304
Maciej Wereski7000a7c2021-12-16 12:24:06 +010026 centralizedLoggingEnabled: true
Niranjana97097752021-06-11 07:44:13 +000027
28#################################################################
29# Filebeat Configuration Defaults.
30#################################################################
31filebeatConfig:
32 logstashServiceName: log-ls
33 logstashPort: 5044
34
35#################################################################
36# Secrets Configuration.
37#################################################################
38secrets:
Malarvizhia14d1742021-12-03 09:44:35 +000039 - uid: &cpsCredsUID cpscreds
40 type: basicAuth
41 login: '{{ .Values.cpsCreds.identity }}'
42 password: '{{ .Values.cpsCreds.password }}'
43 passwordPolicy: required
Niranjana97097752021-06-11 07:44:13 +000044 - uid: &pgUserCredsSecretUid pg-user-creds
45 name: &pgUserCredsSecretName '{{ include "common.release" . }}-sonhms-pg-user-creds'
46 type: basicAuth
47 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "sonhms-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}'
48 login: '{{ .Values.postgres.config.pgUserName }}'
49 password: '{{ .Values.postgres.config.pgUserPassword }}'
50 passwordPolicy: generate
51
52#################################################################
Niranjana97097752021-06-11 07:44:13 +000053# Application Configuration Defaults.
54#################################################################
55# Application Image
pranitk19052e4c8f52023-04-17 17:04:14 +053056image: onap/org.onap.dcaegen2.services.son-handler:2.2.1
Niranjana97097752021-06-11 07:44:13 +000057pullPolicy: Always
58
59# Log directory where logging sidecar should look for log files
Maciej Wereski7000a7c2021-12-16 12:24:06 +010060# if path is set to null sidecar won't be deployed in spite of
61# global.centralizedLoggingEnabled setting.
62log:
63 path: /var/log/ONAP/dcaegen2/services/sonhms
64logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
Niranjana97097752021-06-11 07:44:13 +000065
Vijay Venkatesh Kumar17186582022-05-18 16:06:18 -040066# Optional Policy configuration properties
Niranjana97097752021-06-11 07:44:13 +000067# if present, policy-sync side car will be deployed
Vijay Venkatesh Kumar17186582022-05-18 16:06:18 -040068#dcaePolicySyncImage: onap/org.onap.dcaegen2.deployments.dcae-services-policy-sync:1.0.1
69#policies:
70# policyID: |
71# '["com.Config_PCIMS_CONFIG_POLICY"]'
Niranjana97097752021-06-11 07:44:13 +000072
Niranjana97097752021-06-11 07:44:13 +000073# Probe Configuration
74readiness:
75 initialDelaySeconds: 10
76 periodSeconds: 15
77 timeoutSeconds: 1
78 path: /healthcheck
Malarvizhia14d1742021-12-03 09:44:35 +000079 scheme: HTTP
Niranjana97097752021-06-11 07:44:13 +000080 port: 8080
81
82# Service Configuration
83service:
84 type: ClusterIP
85 name: dcae-son-handler
86 ports:
rope2525a7fbee2022-07-25 20:00:36 +010087 - name: http
Niranjana97097752021-06-11 07:44:13 +000088 port: 8080
89 port_protocol: http
90
AndrewLambbd6ff6b2023-05-04 15:56:49 +010091serviceMesh:
92 authorizationPolicy:
93 authorizedPrincipals:
94 - serviceAccount: message-router-read
95 authorizedPrincipalsPostgres:
96 - serviceAccount: dcae-son-handler-read
97
Jack Lucas64da4e72023-03-03 14:46:05 -050098# Credentials
Malarvizhia14d1742021-12-03 09:44:35 +000099cpsCreds:
100 identity: cps
101 password: cpsr0cks!
Niranjana97097752021-06-11 07:44:13 +0000102
103credentials:
Malarvizhia14d1742021-12-03 09:44:35 +0000104- name: CPS_IDENTITY
105 uid: *cpsCredsUID
106 key: login
107- name: CPS_PASSWORD
108 uid: *cpsCredsUID
109 key: password
Niranjana97097752021-06-11 07:44:13 +0000110- name: PG_USERNAME
111 uid: *pgUserCredsSecretUid
112 key: login
113- name: PG_PASSWORD
114 uid: *pgUserCredsSecretUid
115 key: password
116
117
118# Initial Application Configuration
119applicationConfig:
120 postgres.host: &dcaeSonhmsPgPrimary dcae-sonhms-pg-primary
121 postgres.port: 5432
122 postgres.username: ${PG_USERNAME}
123 postgres.password: ${PG_PASSWORD}
Malarvizhia14d1742021-12-03 09:44:35 +0000124 cps.username: ${CPS_IDENTITY}
125 cps.password: ${CPS_PASSWORD}
Niranjana97097752021-06-11 07:44:13 +0000126 sonhandler.pollingInterval: 20
127 sonhandler.pollingTimeout: 60
128 cbsPollingInterval: 60
129 sonhandler.numSolutions: 5
130 sonhandler.minCollision: 5
131 sonhandler.minConfusion: 5
132 sonhandler.maximumClusters: 5
133 sonhandler.badThreshold: 50
134 sonhandler.poorThreshold: 70
135 sonhandler.namespace: onap
136 sonhandler.sourceId: SONHMS
137 sonhandler.dmaap.server: ["message-router"]
138 sonhandler.bufferTime: 60
139 sonhandler.cg: sonhms-cg
140 sonhandler.cid: sonhms-cid
Malarvizhia14d1742021-12-03 09:44:35 +0000141 sonhandler.clientType: cps
malar40b16672022-11-29 07:04:54 +0000142 sonhandler.nearRtricUrl: "https://a1-policy-management:30294/a1-policy/v2/policies"
Malarvizhia14d1742021-12-03 09:44:35 +0000143 cps.service.url: http://cps-tbdmt:8080
144 cps.get.celldata: execute/cps-ran-schemaset/get-cell-data
145 cps.get.nbr.list.url: execute/cps-ran-schemaset/get-nbr-list
146 cps.get.pci.url: execute/ran-network-schemaset/get-pci
147 cps.get.pnf.url: execute/ran-network-schemaset/get-pnf
Niranjana97097752021-06-11 07:44:13 +0000148 sonhandler.configDb.service: http://configdb:8080
149 sonhandler.oof.service: https://oof-osdf:8698
150 sonhandler.oof.endpoint: /api/oof/v1/pci
151 sonhandler.pciOptimizer: pci
152 sonhandler.pciAnrOptimizer: pci_anr
153 sonhandler.poorCountThreshold: 3
154 sonhandler.badCountThreshold: 3
155 sonhandler.oofTriggerCountTimer: 30
156 sonhandler.oofTriggerCountThreshold: 5
157 sonhandler.policyRespTimer: 10
158 sonhandler.policyNegativeAckThreshold: 3
159 sonhandler.policyFixedPciTimeInterval: 30000
160 sonhandler.nfNamingCode: RansimAgent
161 streams_publishes:
162 CL_topic:
163 type: message-router
Niranjana97097752021-06-11 07:44:13 +0000164 dmaap_info:
Niranjana094e02d2022-03-21 09:32:15 +0000165 topic_url: http://message-router:3904/events/unauthenticated.DCAE_CL_OUTPUT
Niranjana97097752021-06-11 07:44:13 +0000166 streams_subscribes:
167 performance_management_topic:
168 type: message-router
Niranjana97097752021-06-11 07:44:13 +0000169 dmaap_info:
Niranjana094e02d2022-03-21 09:32:15 +0000170 topic_url: http://message-router:3904/events/unauthenticated.VES_MEASUREMENT_OUTPUT
Niranjana97097752021-06-11 07:44:13 +0000171 fault_management_topic:
172 type: message-router
Niranjana97097752021-06-11 07:44:13 +0000173 dmaap_info:
Niranjana094e02d2022-03-21 09:32:15 +0000174 topic_url: http://message-router:3904/events/unauthenticated.SEC_FAULT_OUTPUT
Niranjana97097752021-06-11 07:44:13 +0000175 nbr_list_change_topic:
176 type: message-router
Niranjana97097752021-06-11 07:44:13 +0000177 dmaap_info:
Niranjana094e02d2022-03-21 09:32:15 +0000178 topic_url: http://message-router:3904/events/PCI-NOTIF-TOPIC-NGHBR-LIST-CHANGE-INFO
Niranjana97097752021-06-11 07:44:13 +0000179 dcae_cl_response_topic:
180 type: message-router
Niranjana97097752021-06-11 07:44:13 +0000181 dmaap_info:
Niranjana094e02d2022-03-21 09:32:15 +0000182 topic_url: http://message-router:3904/events/DCAE_CL_RSP
Niranjana97097752021-06-11 07:44:13 +0000183 service_calls:
184 sdnr-getpnfname: []
185 sdnr-getpci: []
186 sdnr-getnbrlist: []
187 sdnr-getcelllist: []
188 oof-req: []
189 policy-req: []
190
191applicationEnv:
rope2525a7fbee2022-07-25 20:00:36 +0100192 CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml'
193 #Temporary Dummy CBS Port Value until internal SDK library is updated
194 CONFIG_BINDING_SERVICE_SERVICE_PORT: '0000'
Niranjana97097752021-06-11 07:44:13 +0000195 STANDALONE: 'false'
196
197# Resource Limit Flavor -By Default Using Small
198flavor: small
199
200# Segregation for Different Environment (Small and Large)
201resources:
202 small:
203 limits:
Andreas Geissler47537432024-02-27 08:55:23 +0100204 cpu: "2"
205 memory: "1Gi"
Niranjana97097752021-06-11 07:44:13 +0000206 requests:
Andreas Geissler47537432024-02-27 08:55:23 +0100207 cpu: "1"
208 memory: "1Gi"
Niranjana97097752021-06-11 07:44:13 +0000209 large:
210 limits:
Andreas Geissler47537432024-02-27 08:55:23 +0100211 cpu: "4"
212 memory: "2Gi"
Niranjana97097752021-06-11 07:44:13 +0000213 requests:
Andreas Geissler47537432024-02-27 08:55:23 +0100214 cpu: "2"
215 memory: "2Gi"
Niranjana97097752021-06-11 07:44:13 +0000216 unlimited: {}
217
218#################################################################
219# Application configuration Overriding Defaults in the Postgres.
220#################################################################
221postgres:
Andreas Geissleree119102024-04-11 13:53:39 +0200222 nameOverride: &postgresName dcae-sonhms-postgres
Niranjana97097752021-06-11 07:44:13 +0000223 service:
224 name: *postgresName
225 name2: *dcaeSonhmsPgPrimary
226 name3: dcae-sonhms-pg-replica
227 container:
228 name:
229 primary: dcae-sonhms-pg-primary
230 replica: dcae-sonhms-pg-replica
231 persistence:
232 mountSubPath: sonhms/data
233 mountInitPath: sonhms
234 config:
235 pgUserName: sonhms
236 pgDatabase: sonhms
237 pgUserExternalSecret: *pgUserCredsSecretName
farida azmycb03ac72021-09-12 16:14:12 +0200238
Andreas Geissleree119102024-04-11 13:53:39 +0200239# Dependencies
240readinessCheck:
241 wait_for:
242 services:
243 - '{{ .Values.postgres.service.name2 }}'
244 - message-router
245
farida azmycb03ac72021-09-12 16:14:12 +0200246#Pods Service Account
247serviceAccount:
248 nameOverride: dcae-son-handler
249 roles:
250 - read