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
24 centralizedLoggingEnabled: true
26 #################################################################
27 # Filebeat Configuration Defaults.
28 #################################################################
30 logstashServiceName: log-ls
33 #################################################################
34 # Secrets Configuration.
35 #################################################################
37 - uid: &aafCredsUID aafcreds
39 login: '{{ .Values.aafCreds.identity }}'
40 password: '{{ .Values.aafCreds.password }}'
41 passwordPolicy: required
42 - uid: &cpsCredsUID cpscreds
44 login: '{{ .Values.cpsCreds.identity }}'
45 password: '{{ .Values.cpsCreds.password }}'
46 passwordPolicy: required
47 - uid: &pgUserCredsSecretUid pg-user-creds
48 name: &pgUserCredsSecretName '{{ include "common.release" . }}-sonhms-pg-user-creds'
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
55 #################################################################
56 # InitContainer Images.
57 #################################################################
58 tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
59 consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.1
61 #################################################################
62 # Application Configuration Defaults.
63 #################################################################
65 image: onap/org.onap.dcaegen2.services.son-handler:2.1.5
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 # Policy configuraiton 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"]'
94 - dcae-config-binding-service
96 - &postgresName dcae-sonhms-postgres
100 initialDelaySeconds: 10
107 # Service Configuration
110 name: dcae-son-handler
118 identity: dcae@dcae.onap.org
119 password: demo123456!
138 uid: *pgUserCredsSecretUid
141 uid: *pgUserCredsSecretUid
145 # Initial Application Configuration
147 postgres.host: &dcaeSonhmsPgPrimary dcae-sonhms-pg-primary
149 postgres.username: ${PG_USERNAME}
150 postgres.password: ${PG_PASSWORD}
151 cps.username: ${CPS_IDENTITY}
152 cps.password: ${CPS_PASSWORD}
153 sonhandler.pollingInterval: 20
154 sonhandler.pollingTimeout: 60
155 cbsPollingInterval: 60
156 sonhandler.numSolutions: 5
157 sonhandler.minCollision: 5
158 sonhandler.minConfusion: 5
159 sonhandler.maximumClusters: 5
160 sonhandler.badThreshold: 50
161 sonhandler.poorThreshold: 70
162 sonhandler.namespace: onap
163 sonhandler.sourceId: SONHMS
164 sonhandler.dmaap.server: ["message-router"]
165 sonhandler.bufferTime: 60
166 sonhandler.cg: sonhms-cg
167 sonhandler.cid: sonhms-cid
168 sonhandler.clientType: cps
169 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
174 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
190 aaf_username: ${AAF_IDENTITY}
191 aaf_password: ${AAF_PASSWORD}
193 topic_url: https://message-router:3905/events/unauthenticated.DCAE_CL_OUTPUT
195 performance_management_topic:
197 aaf_username: ${AAF_IDENTITY}
198 aaf_password: ${AAF_PASSWORD}
200 topic_url: https://message-router:3905/events/unauthenticated.VES_MEASUREMENT_OUTPUT
201 fault_management_topic:
203 aaf_username: ${AAF_IDENTITY}
204 aaf_password: ${AAF_PASSWORD}
206 topic_url: https://message-router:3905/events/unauthenticated.SEC_FAULT_OUTPUT
207 nbr_list_change_topic:
209 aaf_username: ${AAF_IDENTITY}
210 aaf_password: ${AAF_PASSWORD}
212 topic_url: https://message-router:3905/events/PCI-NOTIF-TOPIC-NGHBR-LIST-CHANGE-INFO
213 dcae_cl_response_topic:
215 aaf_username: ${AAF_IDENTITY}
216 aaf_password: ${AAF_PASSWORD}
218 topic_url: https://message-router:3905/events/DCAE_CL_RSP
230 # Resource Limit Flavor -By Default Using Small
233 # Segregation for Different Environment (Small and Large)
251 #################################################################
252 # Application configuration Overriding Defaults in the Postgres.
253 #################################################################
255 nameOverride: *postgresName
258 name2: *dcaeSonhmsPgPrimary
259 name3: dcae-sonhms-pg-replica
262 primary: dcae-sonhms-pg-primary
263 replica: dcae-sonhms-pg-replica
265 mountSubPath: sonhms/data
266 mountInitPath: sonhms
270 pgUserExternalSecret: *pgUserCredsSecretName
272 #Pods Service Account
274 nameOverride: dcae-son-handler