1 # ============= LICENSE_START ================================================
2 # ============================================================================
3 # Copyright (C) 2021-2022 Wipro Limited.
4 # Copyright (c) 2022 J. F. Lucas. All rights reserved.
5 # ============================================================================
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
10 # http://www.apache.org/licenses/LICENSE-2.0
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 ==================================================
19 #################################################################
20 # Global Configuration Defaults.
21 #################################################################
24 nodePortPrefixExt: 304
25 centralizedLoggingEnabled: true
27 #################################################################
28 # Filebeat Configuration Defaults.
29 #################################################################
31 logstashServiceName: log-ls
34 #################################################################
35 # Secrets Configuration.
36 #################################################################
38 - uid: &aafCredsUID aafcreds
40 login: '{{ .Values.aafCreds.identity }}'
41 password: '{{ .Values.aafCreds.password }}'
42 passwordPolicy: required
43 - uid: &cpsCredsUID cpscreds
45 login: '{{ .Values.cpsCreds.identity }}'
46 password: '{{ .Values.cpsCreds.password }}'
47 passwordPolicy: required
48 - uid: &pgUserCredsSecretUid pg-user-creds
49 name: &pgUserCredsSecretName '{{ include "common.release" . }}-sonhms-pg-user-creds'
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
56 #################################################################
57 # InitContainer Images.
58 #################################################################
59 tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
61 #################################################################
62 # Application Configuration Defaults.
63 #################################################################
65 image: onap/org.onap.dcaegen2.services.son-handler:2.1.7
68 # Log directory where logging sidecar should look for log files
69 # if path is set to null sidecar won't be deployed in spite of
70 # global.centralizedLoggingEnabled setting.
72 path: /var/log/ONAP/dcaegen2/services/sonhms
73 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
75 # Directory where TLS certs should be stored
76 # if absent, no certs will be retrieved and stored
77 certDirectory: /opt/app/sonhms/etc/certs
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.
84 # Optional Policy configuration properties
85 # if present, policy-sync side car will be deployed
86 #dcaePolicySyncImage: onap/org.onap.dcaegen2.deployments.dcae-services-policy-sync:1.0.1
89 # '["com.Config_PCIMS_CONFIG_POLICY"]'
95 - &postgresName dcae-sonhms-postgres
99 initialDelaySeconds: 10
106 # Service Configuration
109 name: dcae-son-handler
117 identity: dcae@dcae.onap.org
118 password: demo123456!
137 uid: *pgUserCredsSecretUid
140 uid: *pgUserCredsSecretUid
144 # Initial Application Configuration
146 postgres.host: &dcaeSonhmsPgPrimary dcae-sonhms-pg-primary
148 postgres.username: ${PG_USERNAME}
149 postgres.password: ${PG_PASSWORD}
150 cps.username: ${CPS_IDENTITY}
151 cps.password: ${CPS_PASSWORD}
152 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
167 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
173 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
190 topic_url: http://message-router:3904/events/unauthenticated.DCAE_CL_OUTPUT
192 performance_management_topic:
195 topic_url: http://message-router:3904/events/unauthenticated.VES_MEASUREMENT_OUTPUT
196 fault_management_topic:
199 topic_url: http://message-router:3904/events/unauthenticated.SEC_FAULT_OUTPUT
200 nbr_list_change_topic:
203 topic_url: http://message-router:3904/events/PCI-NOTIF-TOPIC-NGHBR-LIST-CHANGE-INFO
204 dcae_cl_response_topic:
207 topic_url: http://message-router:3904/events/DCAE_CL_RSP
219 # Resource Limit Flavor -By Default Using Small
222 # Segregation for Different Environment (Small and Large)
240 #################################################################
241 # Application configuration Overriding Defaults in the Postgres.
242 #################################################################
244 nameOverride: *postgresName
247 name2: *dcaeSonhmsPgPrimary
248 name3: dcae-sonhms-pg-replica
251 primary: dcae-sonhms-pg-primary
252 replica: dcae-sonhms-pg-replica
254 mountSubPath: sonhms/data
255 mountInitPath: sonhms
259 pgUserExternalSecret: *pgUserCredsSecretName
261 #Pods Service Account
263 nameOverride: dcae-son-handler