blob: 6b007a330b0909ad04f67a194f404ab8155d72b6 [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.
Niranjana97097752021-06-11 07:44:13 +00005# ============================================================================
6# Licensed under the Apache License, Version 2.0 (the "License");
7# you may not use this file except in compliance with the License.
8# You may obtain a copy of the License at
9#
10# http://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing, software
13# distributed under the License is distributed on an "AS IS" BASIS,
14# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15# See the License for the specific language governing permissions and
16# limitations under the License.
17# ============= LICENSE_END ==================================================
18
19#################################################################
20# Global Configuration Defaults.
21#################################################################
22global:
23 nodePortPrefix: 302
24 nodePortPrefixExt: 304
Maciej Wereski7000a7c2021-12-16 12:24:06 +010025 centralizedLoggingEnabled: true
Niranjana97097752021-06-11 07:44:13 +000026
27#################################################################
28# Filebeat Configuration Defaults.
29#################################################################
30filebeatConfig:
31 logstashServiceName: log-ls
32 logstashPort: 5044
33
34#################################################################
35# Secrets Configuration.
36#################################################################
37secrets:
Malarvizhia14d1742021-12-03 09:44:35 +000038 - uid: &cpsCredsUID cpscreds
39 type: basicAuth
40 login: '{{ .Values.cpsCreds.identity }}'
41 password: '{{ .Values.cpsCreds.password }}'
42 passwordPolicy: required
Niranjana97097752021-06-11 07:44:13 +000043 - uid: &pgUserCredsSecretUid pg-user-creds
44 name: &pgUserCredsSecretName '{{ include "common.release" . }}-sonhms-pg-user-creds'
45 type: basicAuth
46 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "sonhms-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}'
47 login: '{{ .Values.postgres.config.pgUserName }}'
48 password: '{{ .Values.postgres.config.pgUserPassword }}'
49 passwordPolicy: generate
50
51#################################################################
Niranjana97097752021-06-11 07:44:13 +000052# Application Configuration Defaults.
53#################################################################
54# Application Image
malar40b16672022-11-29 07:04:54 +000055image: onap/org.onap.dcaegen2.services.son-handler:2.1.11
Niranjana97097752021-06-11 07:44:13 +000056pullPolicy: Always
57
58# Log directory where logging sidecar should look for log files
Maciej Wereski7000a7c2021-12-16 12:24:06 +010059# if path is set to null sidecar won't be deployed in spite of
60# global.centralizedLoggingEnabled setting.
61log:
62 path: /var/log/ONAP/dcaegen2/services/sonhms
63logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
Niranjana97097752021-06-11 07:44:13 +000064
Vijay Venkatesh Kumar17186582022-05-18 16:06:18 -040065# Optional Policy configuration properties
Niranjana97097752021-06-11 07:44:13 +000066# if present, policy-sync side car will be deployed
Vijay Venkatesh Kumar17186582022-05-18 16:06:18 -040067#dcaePolicySyncImage: onap/org.onap.dcaegen2.deployments.dcae-services-policy-sync:1.0.1
68#policies:
69# policyID: |
70# '["com.Config_PCIMS_CONFIG_POLICY"]'
Niranjana97097752021-06-11 07:44:13 +000071
72# Dependencies
73readinessCheck:
74 wait_for:
Niranjana97097752021-06-11 07:44:13 +000075 - &postgresName dcae-sonhms-postgres
rope2525a7fbee2022-07-25 20:00:36 +010076 - message-router
Niranjana97097752021-06-11 07:44:13 +000077
78# Probe Configuration
79readiness:
80 initialDelaySeconds: 10
81 periodSeconds: 15
82 timeoutSeconds: 1
83 path: /healthcheck
Malarvizhia14d1742021-12-03 09:44:35 +000084 scheme: HTTP
Niranjana97097752021-06-11 07:44:13 +000085 port: 8080
86
87# Service Configuration
88service:
89 type: ClusterIP
90 name: dcae-son-handler
91 ports:
rope2525a7fbee2022-07-25 20:00:36 +010092 - name: http
Niranjana97097752021-06-11 07:44:13 +000093 port: 8080
94 port_protocol: http
95
Jack Lucas64da4e72023-03-03 14:46:05 -050096# Credentials
Malarvizhia14d1742021-12-03 09:44:35 +000097cpsCreds:
98 identity: cps
99 password: cpsr0cks!
Niranjana97097752021-06-11 07:44:13 +0000100
101credentials:
Malarvizhia14d1742021-12-03 09:44:35 +0000102- name: CPS_IDENTITY
103 uid: *cpsCredsUID
104 key: login
105- name: CPS_PASSWORD
106 uid: *cpsCredsUID
107 key: password
Niranjana97097752021-06-11 07:44:13 +0000108- name: PG_USERNAME
109 uid: *pgUserCredsSecretUid
110 key: login
111- name: PG_PASSWORD
112 uid: *pgUserCredsSecretUid
113 key: password
114
115
116# Initial Application Configuration
117applicationConfig:
118 postgres.host: &dcaeSonhmsPgPrimary dcae-sonhms-pg-primary
119 postgres.port: 5432
120 postgres.username: ${PG_USERNAME}
121 postgres.password: ${PG_PASSWORD}
Malarvizhia14d1742021-12-03 09:44:35 +0000122 cps.username: ${CPS_IDENTITY}
123 cps.password: ${CPS_PASSWORD}
Niranjana97097752021-06-11 07:44:13 +0000124 sonhandler.pollingInterval: 20
125 sonhandler.pollingTimeout: 60
126 cbsPollingInterval: 60
127 sonhandler.numSolutions: 5
128 sonhandler.minCollision: 5
129 sonhandler.minConfusion: 5
130 sonhandler.maximumClusters: 5
131 sonhandler.badThreshold: 50
132 sonhandler.poorThreshold: 70
133 sonhandler.namespace: onap
134 sonhandler.sourceId: SONHMS
135 sonhandler.dmaap.server: ["message-router"]
136 sonhandler.bufferTime: 60
137 sonhandler.cg: sonhms-cg
138 sonhandler.cid: sonhms-cid
Malarvizhia14d1742021-12-03 09:44:35 +0000139 sonhandler.clientType: cps
malar40b16672022-11-29 07:04:54 +0000140 sonhandler.nearRtricUrl: "https://a1-policy-management:30294/a1-policy/v2/policies"
Malarvizhia14d1742021-12-03 09:44:35 +0000141 cps.service.url: http://cps-tbdmt:8080
142 cps.get.celldata: execute/cps-ran-schemaset/get-cell-data
143 cps.get.nbr.list.url: execute/cps-ran-schemaset/get-nbr-list
144 cps.get.pci.url: execute/ran-network-schemaset/get-pci
145 cps.get.pnf.url: execute/ran-network-schemaset/get-pnf
Niranjana97097752021-06-11 07:44:13 +0000146 sonhandler.configDb.service: http://configdb:8080
147 sonhandler.oof.service: https://oof-osdf:8698
148 sonhandler.oof.endpoint: /api/oof/v1/pci
149 sonhandler.pciOptimizer: pci
150 sonhandler.pciAnrOptimizer: pci_anr
151 sonhandler.poorCountThreshold: 3
152 sonhandler.badCountThreshold: 3
153 sonhandler.oofTriggerCountTimer: 30
154 sonhandler.oofTriggerCountThreshold: 5
155 sonhandler.policyRespTimer: 10
156 sonhandler.policyNegativeAckThreshold: 3
157 sonhandler.policyFixedPciTimeInterval: 30000
158 sonhandler.nfNamingCode: RansimAgent
159 streams_publishes:
160 CL_topic:
161 type: message-router
Niranjana97097752021-06-11 07:44:13 +0000162 dmaap_info:
Niranjana094e02d2022-03-21 09:32:15 +0000163 topic_url: http://message-router:3904/events/unauthenticated.DCAE_CL_OUTPUT
Niranjana97097752021-06-11 07:44:13 +0000164 streams_subscribes:
165 performance_management_topic:
166 type: message-router
Niranjana97097752021-06-11 07:44:13 +0000167 dmaap_info:
Niranjana094e02d2022-03-21 09:32:15 +0000168 topic_url: http://message-router:3904/events/unauthenticated.VES_MEASUREMENT_OUTPUT
Niranjana97097752021-06-11 07:44:13 +0000169 fault_management_topic:
170 type: message-router
Niranjana97097752021-06-11 07:44:13 +0000171 dmaap_info:
Niranjana094e02d2022-03-21 09:32:15 +0000172 topic_url: http://message-router:3904/events/unauthenticated.SEC_FAULT_OUTPUT
Niranjana97097752021-06-11 07:44:13 +0000173 nbr_list_change_topic:
174 type: message-router
Niranjana97097752021-06-11 07:44:13 +0000175 dmaap_info:
Niranjana094e02d2022-03-21 09:32:15 +0000176 topic_url: http://message-router:3904/events/PCI-NOTIF-TOPIC-NGHBR-LIST-CHANGE-INFO
Niranjana97097752021-06-11 07:44:13 +0000177 dcae_cl_response_topic:
178 type: message-router
Niranjana97097752021-06-11 07:44:13 +0000179 dmaap_info:
Niranjana094e02d2022-03-21 09:32:15 +0000180 topic_url: http://message-router:3904/events/DCAE_CL_RSP
Niranjana97097752021-06-11 07:44:13 +0000181 service_calls:
182 sdnr-getpnfname: []
183 sdnr-getpci: []
184 sdnr-getnbrlist: []
185 sdnr-getcelllist: []
186 oof-req: []
187 policy-req: []
188
189applicationEnv:
rope2525a7fbee2022-07-25 20:00:36 +0100190 CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml'
191 #Temporary Dummy CBS Port Value until internal SDK library is updated
192 CONFIG_BINDING_SERVICE_SERVICE_PORT: '0000'
Niranjana97097752021-06-11 07:44:13 +0000193 STANDALONE: 'false'
194
195# Resource Limit Flavor -By Default Using Small
196flavor: small
197
198# Segregation for Different Environment (Small and Large)
199resources:
200 small:
201 limits:
202 cpu: 1
203 memory: 1Gi
204 requests:
205 cpu: 1
206 memory: 1Gi
207 large:
208 limits:
209 cpu: 2
210 memory: 2Gi
211 requests:
212 cpu: 2
213 memory: 2Gi
214 unlimited: {}
215
216#################################################################
217# Application configuration Overriding Defaults in the Postgres.
218#################################################################
219postgres:
220 nameOverride: *postgresName
221 service:
222 name: *postgresName
223 name2: *dcaeSonhmsPgPrimary
224 name3: dcae-sonhms-pg-replica
225 container:
226 name:
227 primary: dcae-sonhms-pg-primary
228 replica: dcae-sonhms-pg-replica
229 persistence:
230 mountSubPath: sonhms/data
231 mountInitPath: sonhms
232 config:
233 pgUserName: sonhms
234 pgDatabase: sonhms
235 pgUserExternalSecret: *pgUserCredsSecretName
farida azmycb03ac72021-09-12 16:14:12 +0200236
237#Pods Service Account
238serviceAccount:
239 nameOverride: dcae-son-handler
240 roles:
241 - read