1 # ============= 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
9 # http://www.apache.org/licenses/LICENSE-2.0
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 ==================================================
18 #################################################################
19 # Global Configuration Defaults.
20 #################################################################
23 nodePortPrefixExt: 304
25 #################################################################
26 # Filebeat Configuration Defaults.
27 #################################################################
29 logstashServiceName: log-ls
32 #################################################################
33 # Secrets Configuration.
34 #################################################################
36 - uid: &aafCredsUID aafcreds
38 login: '{{ .Values.aafCreds.identity }}'
39 password: '{{ .Values.aafCreds.password }}'
40 passwordPolicy: required
41 - uid: &cpsCredsUID cpscreds
43 login: '{{ .Values.cpsCreds.identity }}'
44 password: '{{ .Values.cpsCreds.password }}'
45 passwordPolicy: required
46 - uid: &pgUserCredsSecretUid pg-user-creds
47 name: &pgUserCredsSecretName '{{ include "common.release" . }}-sonhms-pg-user-creds'
49 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "sonhms-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}'
50 login: '{{ .Values.postgres.config.pgUserName }}'
51 password: '{{ .Values.postgres.config.pgUserPassword }}'
52 passwordPolicy: generate
54 #################################################################
55 # InitContainer Images.
56 #################################################################
57 tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
58 consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.1
60 #################################################################
61 # Application Configuration Defaults.
62 #################################################################
64 image: onap/org.onap.dcaegen2.services.son-handler:2.1.5
67 # Log directory where logging sidecar should look for log files
68 # if absent, no sidecar will be deployed
69 logDirectory: /var/log/ONAP/dcaegen2/services/sonhms
71 # Directory where TLS certs should be stored
72 # if absent, no certs will be retrieved and stored
73 certDirectory: /opt/app/sonhms/etc/certs
75 # TLS role -- set to true if microservice acts as server
76 # If true, an init container will retrieve a server cert
77 # and key from AAF and mount them in certDirectory.
80 # Policy configuraiton properties
81 # if present, policy-sync side car will be deployed
82 dcaePolicySyncImage: onap/org.onap.dcaegen2.deployments.dcae-services-policy-sync:1.0.1
85 '["com.Config_PCIMS_CONFIG_POLICY"]'
90 - dcae-config-binding-service
92 - &postgresName dcae-sonhms-postgres
96 initialDelaySeconds: 10
103 # Service Configuration
106 name: dcae-son-handler
114 identity: dcae@dcae.onap.org
115 password: demo123456!
134 uid: *pgUserCredsSecretUid
137 uid: *pgUserCredsSecretUid
141 # Initial Application Configuration
143 postgres.host: &dcaeSonhmsPgPrimary dcae-sonhms-pg-primary
145 postgres.username: ${PG_USERNAME}
146 postgres.password: ${PG_PASSWORD}
147 cps.username: ${CPS_IDENTITY}
148 cps.password: ${CPS_PASSWORD}
149 sonhandler.pollingInterval: 20
150 sonhandler.pollingTimeout: 60
151 cbsPollingInterval: 60
152 sonhandler.numSolutions: 5
153 sonhandler.minCollision: 5
154 sonhandler.minConfusion: 5
155 sonhandler.maximumClusters: 5
156 sonhandler.badThreshold: 50
157 sonhandler.poorThreshold: 70
158 sonhandler.namespace: onap
159 sonhandler.sourceId: SONHMS
160 sonhandler.dmaap.server: ["message-router"]
161 sonhandler.bufferTime: 60
162 sonhandler.cg: sonhms-cg
163 sonhandler.cid: sonhms-cid
164 sonhandler.clientType: cps
165 cps.service.url: http://cps-tbdmt:8080
166 cps.get.celldata: execute/cps-ran-schemaset/get-cell-data
167 cps.get.nbr.list.url: execute/cps-ran-schemaset/get-nbr-list
168 cps.get.pci.url: execute/ran-network-schemaset/get-pci
169 cps.get.pnf.url: execute/ran-network-schemaset/get-pnf
170 sonhandler.configDb.service: http://configdb:8080
171 sonhandler.oof.service: https://oof-osdf:8698
172 sonhandler.oof.endpoint: /api/oof/v1/pci
173 sonhandler.pciOptimizer: pci
174 sonhandler.pciAnrOptimizer: pci_anr
175 sonhandler.poorCountThreshold: 3
176 sonhandler.badCountThreshold: 3
177 sonhandler.oofTriggerCountTimer: 30
178 sonhandler.oofTriggerCountThreshold: 5
179 sonhandler.policyRespTimer: 10
180 sonhandler.policyNegativeAckThreshold: 3
181 sonhandler.policyFixedPciTimeInterval: 30000
182 sonhandler.nfNamingCode: RansimAgent
186 aaf_username: ${AAF_IDENTITY}
187 aaf_password: ${AAF_PASSWORD}
189 topic_url: https://message-router:3905/events/unauthenticated.DCAE_CL_OUTPUT
191 performance_management_topic:
193 aaf_username: ${AAF_IDENTITY}
194 aaf_password: ${AAF_PASSWORD}
196 topic_url: https://message-router:3905/events/unauthenticated.VES_MEASUREMENT_OUTPUT
197 fault_management_topic:
199 aaf_username: ${AAF_IDENTITY}
200 aaf_password: ${AAF_PASSWORD}
202 topic_url: https://message-router:3905/events/unauthenticated.SEC_FAULT_OUTPUT
203 nbr_list_change_topic:
205 aaf_username: ${AAF_IDENTITY}
206 aaf_password: ${AAF_PASSWORD}
208 topic_url: https://message-router:3905/events/PCI-NOTIF-TOPIC-NGHBR-LIST-CHANGE-INFO
209 dcae_cl_response_topic:
211 aaf_username: ${AAF_IDENTITY}
212 aaf_password: ${AAF_PASSWORD}
214 topic_url: https://message-router:3905/events/DCAE_CL_RSP
226 # Resource Limit Flavor -By Default Using Small
229 # Segregation for Different Environment (Small and Large)
247 #################################################################
248 # Application configuration Overriding Defaults in the Postgres.
249 #################################################################
251 nameOverride: *postgresName
254 name2: *dcaeSonhmsPgPrimary
255 name3: dcae-sonhms-pg-replica
258 primary: dcae-sonhms-pg-primary
259 replica: dcae-sonhms-pg-replica
261 mountSubPath: sonhms/data
262 mountInitPath: sonhms
266 pgUserExternalSecret: *pgUserCredsSecretName
268 #Pods Service Account
270 nameOverride: dcae-son-handler