blob: bd684e3db54b6c8631a5d610e10a349a94f49333 [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 Lucasc9797322022-03-18 12:32:59 -04004# Copyright (c) 2022 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:
38 - uid: &aafCredsUID aafcreds
39 type: basicAuth
40 login: '{{ .Values.aafCreds.identity }}'
41 password: '{{ .Values.aafCreds.password }}'
42 passwordPolicy: required
Malarvizhia14d1742021-12-03 09:44:35 +000043 - uid: &cpsCredsUID cpscreds
44 type: basicAuth
45 login: '{{ .Values.cpsCreds.identity }}'
46 password: '{{ .Values.cpsCreds.password }}'
47 passwordPolicy: required
Niranjana97097752021-06-11 07:44:13 +000048 - uid: &pgUserCredsSecretUid pg-user-creds
49 name: &pgUserCredsSecretName '{{ include "common.release" . }}-sonhms-pg-user-creds'
50 type: basicAuth
51 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "sonhms-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}'
52 login: '{{ .Values.postgres.config.pgUserName }}'
53 password: '{{ .Values.postgres.config.pgUserPassword }}'
54 passwordPolicy: generate
55
56#################################################################
57# InitContainer Images.
58#################################################################
59tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
Niranjana97097752021-06-11 07:44:13 +000060
61#################################################################
62# Application Configuration Defaults.
63#################################################################
64# Application Image
malar40b16672022-11-29 07:04:54 +000065image: onap/org.onap.dcaegen2.services.son-handler:2.1.11
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
Vijay Venkatesh Kumar17186582022-05-18 16:06:18 -040084# Optional Policy configuration properties
Niranjana97097752021-06-11 07:44:13 +000085# if present, policy-sync side car will be deployed
Vijay Venkatesh Kumar17186582022-05-18 16:06:18 -040086#dcaePolicySyncImage: onap/org.onap.dcaegen2.deployments.dcae-services-policy-sync:1.0.1
87#policies:
88# policyID: |
89# '["com.Config_PCIMS_CONFIG_POLICY"]'
Niranjana97097752021-06-11 07:44:13 +000090
91# Dependencies
92readinessCheck:
93 wait_for:
Niranjana97097752021-06-11 07:44:13 +000094 - &postgresName dcae-sonhms-postgres
rope2525a7fbee2022-07-25 20:00:36 +010095 - message-router
Niranjana97097752021-06-11 07:44:13 +000096
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:
rope2525a7fbee2022-07-25 20:00:36 +0100111 - name: http
Niranjana97097752021-06-11 07:44:13 +0000112 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
malar40b16672022-11-29 07:04:54 +0000168 sonhandler.nearRtricUrl: "https://a1-policy-management:30294/a1-policy/v2/policies"
Malarvizhia14d1742021-12-03 09:44:35 +0000169 cps.service.url: http://cps-tbdmt:8080
170 cps.get.celldata: execute/cps-ran-schemaset/get-cell-data
171 cps.get.nbr.list.url: execute/cps-ran-schemaset/get-nbr-list
172 cps.get.pci.url: execute/ran-network-schemaset/get-pci
173 cps.get.pnf.url: execute/ran-network-schemaset/get-pnf
Niranjana97097752021-06-11 07:44:13 +0000174 sonhandler.configDb.service: http://configdb:8080
175 sonhandler.oof.service: https://oof-osdf:8698
176 sonhandler.oof.endpoint: /api/oof/v1/pci
177 sonhandler.pciOptimizer: pci
178 sonhandler.pciAnrOptimizer: pci_anr
179 sonhandler.poorCountThreshold: 3
180 sonhandler.badCountThreshold: 3
181 sonhandler.oofTriggerCountTimer: 30
182 sonhandler.oofTriggerCountThreshold: 5
183 sonhandler.policyRespTimer: 10
184 sonhandler.policyNegativeAckThreshold: 3
185 sonhandler.policyFixedPciTimeInterval: 30000
186 sonhandler.nfNamingCode: RansimAgent
187 streams_publishes:
188 CL_topic:
189 type: message-router
Niranjana97097752021-06-11 07:44:13 +0000190 dmaap_info:
Niranjana094e02d2022-03-21 09:32:15 +0000191 topic_url: http://message-router:3904/events/unauthenticated.DCAE_CL_OUTPUT
Niranjana97097752021-06-11 07:44:13 +0000192 streams_subscribes:
193 performance_management_topic:
194 type: message-router
Niranjana97097752021-06-11 07:44:13 +0000195 dmaap_info:
Niranjana094e02d2022-03-21 09:32:15 +0000196 topic_url: http://message-router:3904/events/unauthenticated.VES_MEASUREMENT_OUTPUT
Niranjana97097752021-06-11 07:44:13 +0000197 fault_management_topic:
198 type: message-router
Niranjana97097752021-06-11 07:44:13 +0000199 dmaap_info:
Niranjana094e02d2022-03-21 09:32:15 +0000200 topic_url: http://message-router:3904/events/unauthenticated.SEC_FAULT_OUTPUT
Niranjana97097752021-06-11 07:44:13 +0000201 nbr_list_change_topic:
202 type: message-router
Niranjana97097752021-06-11 07:44:13 +0000203 dmaap_info:
Niranjana094e02d2022-03-21 09:32:15 +0000204 topic_url: http://message-router:3904/events/PCI-NOTIF-TOPIC-NGHBR-LIST-CHANGE-INFO
Niranjana97097752021-06-11 07:44:13 +0000205 dcae_cl_response_topic:
206 type: message-router
Niranjana97097752021-06-11 07:44:13 +0000207 dmaap_info:
Niranjana094e02d2022-03-21 09:32:15 +0000208 topic_url: http://message-router:3904/events/DCAE_CL_RSP
Niranjana97097752021-06-11 07:44:13 +0000209 service_calls:
210 sdnr-getpnfname: []
211 sdnr-getpci: []
212 sdnr-getnbrlist: []
213 sdnr-getcelllist: []
214 oof-req: []
215 policy-req: []
216
217applicationEnv:
rope2525a7fbee2022-07-25 20:00:36 +0100218 CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml'
219 #Temporary Dummy CBS Port Value until internal SDK library is updated
220 CONFIG_BINDING_SERVICE_SERVICE_PORT: '0000'
Niranjana97097752021-06-11 07:44:13 +0000221 STANDALONE: 'false'
222
223# Resource Limit Flavor -By Default Using Small
224flavor: small
225
226# Segregation for Different Environment (Small and Large)
227resources:
228 small:
229 limits:
230 cpu: 1
231 memory: 1Gi
232 requests:
233 cpu: 1
234 memory: 1Gi
235 large:
236 limits:
237 cpu: 2
238 memory: 2Gi
239 requests:
240 cpu: 2
241 memory: 2Gi
242 unlimited: {}
243
244#################################################################
245# Application configuration Overriding Defaults in the Postgres.
246#################################################################
247postgres:
248 nameOverride: *postgresName
249 service:
250 name: *postgresName
251 name2: *dcaeSonhmsPgPrimary
252 name3: dcae-sonhms-pg-replica
253 container:
254 name:
255 primary: dcae-sonhms-pg-primary
256 replica: dcae-sonhms-pg-replica
257 persistence:
258 mountSubPath: sonhms/data
259 mountInitPath: sonhms
260 config:
261 pgUserName: sonhms
262 pgDatabase: sonhms
263 pgUserExternalSecret: *pgUserCredsSecretName
farida azmycb03ac72021-09-12 16:14:12 +0200264
265#Pods Service Account
266serviceAccount:
267 nameOverride: dcae-son-handler
268 roles:
269 - read