blob: 037c5866e29731003c25bc1be90a9007ebefb42b [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
73# Dependencies
74readinessCheck:
75 wait_for:
Niranjana97097752021-06-11 07:44:13 +000076 - &postgresName dcae-sonhms-postgres
rope2525a7fbee2022-07-25 20:00:36 +010077 - message-router
Niranjana97097752021-06-11 07:44:13 +000078
79# Probe Configuration
80readiness:
81 initialDelaySeconds: 10
82 periodSeconds: 15
83 timeoutSeconds: 1
84 path: /healthcheck
Malarvizhia14d1742021-12-03 09:44:35 +000085 scheme: HTTP
Niranjana97097752021-06-11 07:44:13 +000086 port: 8080
87
88# Service Configuration
89service:
90 type: ClusterIP
91 name: dcae-son-handler
92 ports:
rope2525a7fbee2022-07-25 20:00:36 +010093 - name: http
Niranjana97097752021-06-11 07:44:13 +000094 port: 8080
95 port_protocol: http
96
Jack Lucas64da4e72023-03-03 14:46:05 -050097# Credentials
Malarvizhia14d1742021-12-03 09:44:35 +000098cpsCreds:
99 identity: cps
100 password: cpsr0cks!
Niranjana97097752021-06-11 07:44:13 +0000101
102credentials:
Malarvizhia14d1742021-12-03 09:44:35 +0000103- name: CPS_IDENTITY
104 uid: *cpsCredsUID
105 key: login
106- name: CPS_PASSWORD
107 uid: *cpsCredsUID
108 key: password
Niranjana97097752021-06-11 07:44:13 +0000109- name: PG_USERNAME
110 uid: *pgUserCredsSecretUid
111 key: login
112- name: PG_PASSWORD
113 uid: *pgUserCredsSecretUid
114 key: password
115
116
117# Initial Application Configuration
118applicationConfig:
119 postgres.host: &dcaeSonhmsPgPrimary dcae-sonhms-pg-primary
120 postgres.port: 5432
121 postgres.username: ${PG_USERNAME}
122 postgres.password: ${PG_PASSWORD}
Malarvizhia14d1742021-12-03 09:44:35 +0000123 cps.username: ${CPS_IDENTITY}
124 cps.password: ${CPS_PASSWORD}
Niranjana97097752021-06-11 07:44:13 +0000125 sonhandler.pollingInterval: 20
126 sonhandler.pollingTimeout: 60
127 cbsPollingInterval: 60
128 sonhandler.numSolutions: 5
129 sonhandler.minCollision: 5
130 sonhandler.minConfusion: 5
131 sonhandler.maximumClusters: 5
132 sonhandler.badThreshold: 50
133 sonhandler.poorThreshold: 70
134 sonhandler.namespace: onap
135 sonhandler.sourceId: SONHMS
136 sonhandler.dmaap.server: ["message-router"]
137 sonhandler.bufferTime: 60
138 sonhandler.cg: sonhms-cg
139 sonhandler.cid: sonhms-cid
Malarvizhia14d1742021-12-03 09:44:35 +0000140 sonhandler.clientType: cps
malar40b16672022-11-29 07:04:54 +0000141 sonhandler.nearRtricUrl: "https://a1-policy-management:30294/a1-policy/v2/policies"
Malarvizhia14d1742021-12-03 09:44:35 +0000142 cps.service.url: http://cps-tbdmt:8080
143 cps.get.celldata: execute/cps-ran-schemaset/get-cell-data
144 cps.get.nbr.list.url: execute/cps-ran-schemaset/get-nbr-list
145 cps.get.pci.url: execute/ran-network-schemaset/get-pci
146 cps.get.pnf.url: execute/ran-network-schemaset/get-pnf
Niranjana97097752021-06-11 07:44:13 +0000147 sonhandler.configDb.service: http://configdb:8080
148 sonhandler.oof.service: https://oof-osdf:8698
149 sonhandler.oof.endpoint: /api/oof/v1/pci
150 sonhandler.pciOptimizer: pci
151 sonhandler.pciAnrOptimizer: pci_anr
152 sonhandler.poorCountThreshold: 3
153 sonhandler.badCountThreshold: 3
154 sonhandler.oofTriggerCountTimer: 30
155 sonhandler.oofTriggerCountThreshold: 5
156 sonhandler.policyRespTimer: 10
157 sonhandler.policyNegativeAckThreshold: 3
158 sonhandler.policyFixedPciTimeInterval: 30000
159 sonhandler.nfNamingCode: RansimAgent
160 streams_publishes:
161 CL_topic:
162 type: message-router
Niranjana97097752021-06-11 07:44:13 +0000163 dmaap_info:
Niranjana094e02d2022-03-21 09:32:15 +0000164 topic_url: http://message-router:3904/events/unauthenticated.DCAE_CL_OUTPUT
Niranjana97097752021-06-11 07:44:13 +0000165 streams_subscribes:
166 performance_management_topic:
167 type: message-router
Niranjana97097752021-06-11 07:44:13 +0000168 dmaap_info:
Niranjana094e02d2022-03-21 09:32:15 +0000169 topic_url: http://message-router:3904/events/unauthenticated.VES_MEASUREMENT_OUTPUT
Niranjana97097752021-06-11 07:44:13 +0000170 fault_management_topic:
171 type: message-router
Niranjana97097752021-06-11 07:44:13 +0000172 dmaap_info:
Niranjana094e02d2022-03-21 09:32:15 +0000173 topic_url: http://message-router:3904/events/unauthenticated.SEC_FAULT_OUTPUT
Niranjana97097752021-06-11 07:44:13 +0000174 nbr_list_change_topic:
175 type: message-router
Niranjana97097752021-06-11 07:44:13 +0000176 dmaap_info:
Niranjana094e02d2022-03-21 09:32:15 +0000177 topic_url: http://message-router:3904/events/PCI-NOTIF-TOPIC-NGHBR-LIST-CHANGE-INFO
Niranjana97097752021-06-11 07:44:13 +0000178 dcae_cl_response_topic:
179 type: message-router
Niranjana97097752021-06-11 07:44:13 +0000180 dmaap_info:
Niranjana094e02d2022-03-21 09:32:15 +0000181 topic_url: http://message-router:3904/events/DCAE_CL_RSP
Niranjana97097752021-06-11 07:44:13 +0000182 service_calls:
183 sdnr-getpnfname: []
184 sdnr-getpci: []
185 sdnr-getnbrlist: []
186 sdnr-getcelllist: []
187 oof-req: []
188 policy-req: []
189
190applicationEnv:
rope2525a7fbee2022-07-25 20:00:36 +0100191 CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml'
192 #Temporary Dummy CBS Port Value until internal SDK library is updated
193 CONFIG_BINDING_SERVICE_SERVICE_PORT: '0000'
Niranjana97097752021-06-11 07:44:13 +0000194 STANDALONE: 'false'
195
196# Resource Limit Flavor -By Default Using Small
197flavor: small
198
199# Segregation for Different Environment (Small and Large)
200resources:
201 small:
202 limits:
203 cpu: 1
204 memory: 1Gi
205 requests:
206 cpu: 1
207 memory: 1Gi
208 large:
209 limits:
210 cpu: 2
211 memory: 2Gi
212 requests:
213 cpu: 2
214 memory: 2Gi
215 unlimited: {}
216
217#################################################################
218# Application configuration Overriding Defaults in the Postgres.
219#################################################################
220postgres:
221 nameOverride: *postgresName
222 service:
223 name: *postgresName
224 name2: *dcaeSonhmsPgPrimary
225 name3: dcae-sonhms-pg-replica
226 container:
227 name:
228 primary: dcae-sonhms-pg-primary
229 replica: dcae-sonhms-pg-replica
230 persistence:
231 mountSubPath: sonhms/data
232 mountInitPath: sonhms
233 config:
234 pgUserName: sonhms
235 pgDatabase: sonhms
236 pgUserExternalSecret: *pgUserCredsSecretName
farida azmycb03ac72021-09-12 16:14:12 +0200237
238#Pods Service Account
239serviceAccount:
240 nameOverride: dcae-son-handler
241 roles:
242 - read