blob: a99623bc073817f32d242c27b5c2c2efeb03ac1a [file] [log] [blame]
Niranjana97097752021-06-11 07:44:13 +00001# ============= LICENSE_START ================================================
2# ============================================================================
3# Copyright (C) 2021 Wipro Limited.
4# ============================================================================
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16# ============= LICENSE_END ==================================================
17
18#################################################################
19# Global Configuration Defaults.
20#################################################################
21global:
22 nodePortPrefix: 302
23 nodePortPrefixExt: 304
Maciej Wereski7000a7c2021-12-16 12:24:06 +010024 centralizedLoggingEnabled: true
Niranjana97097752021-06-11 07:44:13 +000025
26#################################################################
27# Filebeat Configuration Defaults.
28#################################################################
29filebeatConfig:
30 logstashServiceName: log-ls
31 logstashPort: 5044
32
33#################################################################
34# Secrets Configuration.
35#################################################################
36secrets:
37 - uid: &aafCredsUID aafcreds
38 type: basicAuth
39 login: '{{ .Values.aafCreds.identity }}'
40 password: '{{ .Values.aafCreds.password }}'
41 passwordPolicy: required
Malarvizhia14d1742021-12-03 09:44:35 +000042 - uid: &cpsCredsUID cpscreds
43 type: basicAuth
44 login: '{{ .Values.cpsCreds.identity }}'
45 password: '{{ .Values.cpsCreds.password }}'
46 passwordPolicy: required
Niranjana97097752021-06-11 07:44:13 +000047 - uid: &pgUserCredsSecretUid pg-user-creds
48 name: &pgUserCredsSecretName '{{ include "common.release" . }}-sonhms-pg-user-creds'
49 type: basicAuth
50 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "sonhms-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}'
51 login: '{{ .Values.postgres.config.pgUserName }}'
52 password: '{{ .Values.postgres.config.pgUserPassword }}'
53 passwordPolicy: generate
54
55#################################################################
56# InitContainer Images.
57#################################################################
58tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
Jack Lucasd263e692021-08-16 16:02:23 -040059consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.1
Niranjana97097752021-06-11 07:44:13 +000060
61#################################################################
62# Application Configuration Defaults.
63#################################################################
64# Application Image
malar13225e02021-10-25 13:17:11 +000065image: onap/org.onap.dcaegen2.services.son-handler:2.1.5
Niranjana97097752021-06-11 07:44:13 +000066pullPolicy: Always
67
68# Log directory where logging sidecar should look for log files
Maciej Wereski7000a7c2021-12-16 12:24:06 +010069# if path is set to null sidecar won't be deployed in spite of
70# global.centralizedLoggingEnabled setting.
71log:
72 path: /var/log/ONAP/dcaegen2/services/sonhms
73logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
Niranjana97097752021-06-11 07:44:13 +000074
75# Directory where TLS certs should be stored
76# if absent, no certs will be retrieved and stored
77certDirectory: /opt/app/sonhms/etc/certs
78
79# TLS role -- set to true if microservice acts as server
80# If true, an init container will retrieve a server cert
81# and key from AAF and mount them in certDirectory.
Malarvizhia14d1742021-12-03 09:44:35 +000082tlsServer: false
Niranjana97097752021-06-11 07:44:13 +000083
84# Policy configuraiton properties
85# if present, policy-sync side car will be deployed
86dcaePolicySyncImage: onap/org.onap.dcaegen2.deployments.dcae-services-policy-sync:1.0.1
87policies:
88 policyID: |
89 '["com.Config_PCIMS_CONFIG_POLICY"]'
90
91# Dependencies
92readinessCheck:
93 wait_for:
Niranjana97097752021-06-11 07:44:13 +000094 - aaf-cm
95 - &postgresName dcae-sonhms-postgres
96
97# Probe Configuration
98readiness:
99 initialDelaySeconds: 10
100 periodSeconds: 15
101 timeoutSeconds: 1
102 path: /healthcheck
Malarvizhia14d1742021-12-03 09:44:35 +0000103 scheme: HTTP
Niranjana97097752021-06-11 07:44:13 +0000104 port: 8080
105
106# Service Configuration
107service:
108 type: ClusterIP
109 name: dcae-son-handler
110 ports:
111 - name: https
112 port: 8080
113 port_protocol: http
114
115# AAF Credentials
116aafCreds:
117 identity: dcae@dcae.onap.org
118 password: demo123456!
Malarvizhia14d1742021-12-03 09:44:35 +0000119cpsCreds:
120 identity: cps
121 password: cpsr0cks!
Niranjana97097752021-06-11 07:44:13 +0000122
123credentials:
124- name: AAF_IDENTITY
125 uid: *aafCredsUID
126 key: login
127- name: AAF_PASSWORD
128 uid: *aafCredsUID
129 key: password
Malarvizhia14d1742021-12-03 09:44:35 +0000130- name: CPS_IDENTITY
131 uid: *cpsCredsUID
132 key: login
133- name: CPS_PASSWORD
134 uid: *cpsCredsUID
135 key: password
Niranjana97097752021-06-11 07:44:13 +0000136- name: PG_USERNAME
137 uid: *pgUserCredsSecretUid
138 key: login
139- name: PG_PASSWORD
140 uid: *pgUserCredsSecretUid
141 key: password
142
143
144# Initial Application Configuration
145applicationConfig:
146 postgres.host: &dcaeSonhmsPgPrimary dcae-sonhms-pg-primary
147 postgres.port: 5432
148 postgres.username: ${PG_USERNAME}
149 postgres.password: ${PG_PASSWORD}
Malarvizhia14d1742021-12-03 09:44:35 +0000150 cps.username: ${CPS_IDENTITY}
151 cps.password: ${CPS_PASSWORD}
Niranjana97097752021-06-11 07:44:13 +0000152 sonhandler.pollingInterval: 20
153 sonhandler.pollingTimeout: 60
154 cbsPollingInterval: 60
155 sonhandler.numSolutions: 5
156 sonhandler.minCollision: 5
157 sonhandler.minConfusion: 5
158 sonhandler.maximumClusters: 5
159 sonhandler.badThreshold: 50
160 sonhandler.poorThreshold: 70
161 sonhandler.namespace: onap
162 sonhandler.sourceId: SONHMS
163 sonhandler.dmaap.server: ["message-router"]
164 sonhandler.bufferTime: 60
165 sonhandler.cg: sonhms-cg
166 sonhandler.cid: sonhms-cid
Malarvizhia14d1742021-12-03 09:44:35 +0000167 sonhandler.clientType: cps
168 cps.service.url: http://cps-tbdmt:8080
169 cps.get.celldata: execute/cps-ran-schemaset/get-cell-data
170 cps.get.nbr.list.url: execute/cps-ran-schemaset/get-nbr-list
171 cps.get.pci.url: execute/ran-network-schemaset/get-pci
172 cps.get.pnf.url: execute/ran-network-schemaset/get-pnf
Niranjana97097752021-06-11 07:44:13 +0000173 sonhandler.configDb.service: http://configdb:8080
174 sonhandler.oof.service: https://oof-osdf:8698
175 sonhandler.oof.endpoint: /api/oof/v1/pci
176 sonhandler.pciOptimizer: pci
177 sonhandler.pciAnrOptimizer: pci_anr
178 sonhandler.poorCountThreshold: 3
179 sonhandler.badCountThreshold: 3
180 sonhandler.oofTriggerCountTimer: 30
181 sonhandler.oofTriggerCountThreshold: 5
182 sonhandler.policyRespTimer: 10
183 sonhandler.policyNegativeAckThreshold: 3
184 sonhandler.policyFixedPciTimeInterval: 30000
185 sonhandler.nfNamingCode: RansimAgent
186 streams_publishes:
187 CL_topic:
188 type: message-router
189 aaf_username: ${AAF_IDENTITY}
190 aaf_password: ${AAF_PASSWORD}
191 dmaap_info:
192 topic_url: https://message-router:3905/events/unauthenticated.DCAE_CL_OUTPUT
193 streams_subscribes:
194 performance_management_topic:
195 type: message-router
196 aaf_username: ${AAF_IDENTITY}
197 aaf_password: ${AAF_PASSWORD}
198 dmaap_info:
199 topic_url: https://message-router:3905/events/unauthenticated.VES_MEASUREMENT_OUTPUT
200 fault_management_topic:
201 type: message-router
202 aaf_username: ${AAF_IDENTITY}
203 aaf_password: ${AAF_PASSWORD}
204 dmaap_info:
205 topic_url: https://message-router:3905/events/unauthenticated.SEC_FAULT_OUTPUT
206 nbr_list_change_topic:
207 type: message-router
208 aaf_username: ${AAF_IDENTITY}
209 aaf_password: ${AAF_PASSWORD}
210 dmaap_info:
211 topic_url: https://message-router:3905/events/PCI-NOTIF-TOPIC-NGHBR-LIST-CHANGE-INFO
212 dcae_cl_response_topic:
213 type: message-router
214 aaf_username: ${AAF_IDENTITY}
215 aaf_password: ${AAF_PASSWORD}
216 dmaap_info:
217 topic_url: https://message-router:3905/events/DCAE_CL_RSP
218 service_calls:
219 sdnr-getpnfname: []
220 sdnr-getpci: []
221 sdnr-getnbrlist: []
222 sdnr-getcelllist: []
223 oof-req: []
224 policy-req: []
225
226applicationEnv:
227 STANDALONE: 'false'
228
229# Resource Limit Flavor -By Default Using Small
230flavor: small
231
232# Segregation for Different Environment (Small and Large)
233resources:
234 small:
235 limits:
236 cpu: 1
237 memory: 1Gi
238 requests:
239 cpu: 1
240 memory: 1Gi
241 large:
242 limits:
243 cpu: 2
244 memory: 2Gi
245 requests:
246 cpu: 2
247 memory: 2Gi
248 unlimited: {}
249
250#################################################################
251# Application configuration Overriding Defaults in the Postgres.
252#################################################################
253postgres:
254 nameOverride: *postgresName
255 service:
256 name: *postgresName
257 name2: *dcaeSonhmsPgPrimary
258 name3: dcae-sonhms-pg-replica
259 container:
260 name:
261 primary: dcae-sonhms-pg-primary
262 replica: dcae-sonhms-pg-replica
263 persistence:
264 mountSubPath: sonhms/data
265 mountInitPath: sonhms
266 config:
267 pgUserName: sonhms
268 pgDatabase: sonhms
269 pgUserExternalSecret: *pgUserCredsSecretName
farida azmycb03ac72021-09-12 16:14:12 +0200270
271#Pods Service Account
272serviceAccount:
273 nameOverride: dcae-son-handler
274 roles:
275 - read