1 # ============= LICENSE_START ================================================
2 # ============================================================================
3 # Copyright (C) 2021-2022 Wipro Limited.
4 # Copyright (c) 2022-2023 J. F. Lucas. All rights reserved.
5 # Copyright (c) 2023 Deutsche Telekom AG. All rights reserved.
6 # ============================================================================
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
11 # http://www.apache.org/licenses/LICENSE-2.0
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
18 # ============= LICENSE_END ==================================================
20 #################################################################
21 # Global Configuration Defaults.
22 #################################################################
25 nodePortPrefixExt: 304
26 centralizedLoggingEnabled: true
28 #################################################################
29 # Filebeat Configuration Defaults.
30 #################################################################
32 logstashServiceName: log-ls
35 #################################################################
36 # Secrets Configuration.
37 #################################################################
39 - uid: &cpsCredsUID cpscreds
41 login: '{{ .Values.cpsCreds.identity }}'
42 password: '{{ .Values.cpsCreds.password }}'
43 passwordPolicy: required
44 - uid: &pgUserCredsSecretUid pg-user-creds
45 name: &pgUserCredsSecretName '{{ include "common.release" . }}-sonhms-pg-user-creds'
47 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "sonhms-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}'
48 login: '{{ .Values.postgres.config.pgUserName }}'
49 password: '{{ .Values.postgres.config.pgUserPassword }}'
50 passwordPolicy: generate
52 #################################################################
53 # Application Configuration Defaults.
54 #################################################################
56 image: onap/org.onap.dcaegen2.services.son-handler:2.2.1
59 # Log directory where logging sidecar should look for log files
60 # if path is set to null sidecar won't be deployed in spite of
61 # global.centralizedLoggingEnabled setting.
63 path: /var/log/ONAP/dcaegen2/services/sonhms
64 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
66 # Optional Policy configuration properties
67 # if present, policy-sync side car will be deployed
68 #dcaePolicySyncImage: onap/org.onap.dcaegen2.deployments.dcae-services-policy-sync:1.0.1
71 # '["com.Config_PCIMS_CONFIG_POLICY"]'
75 initialDelaySeconds: 10
82 # Service Configuration
85 name: dcae-son-handler
94 - serviceAccount: message-router-read
95 authorizedPrincipalsPostgres:
96 - serviceAccount: dcae-son-handler-read
111 uid: *pgUserCredsSecretUid
114 uid: *pgUserCredsSecretUid
118 # Initial Application Configuration
120 postgres.host: &dcaeSonhmsPgPrimary dcae-sonhms-pg-primary
122 postgres.username: ${PG_USERNAME}
123 postgres.password: ${PG_PASSWORD}
124 cps.username: ${CPS_IDENTITY}
125 cps.password: ${CPS_PASSWORD}
126 sonhandler.pollingInterval: 20
127 sonhandler.pollingTimeout: 60
128 cbsPollingInterval: 60
129 sonhandler.numSolutions: 5
130 sonhandler.minCollision: 5
131 sonhandler.minConfusion: 5
132 sonhandler.maximumClusters: 5
133 sonhandler.badThreshold: 50
134 sonhandler.poorThreshold: 70
135 sonhandler.namespace: onap
136 sonhandler.sourceId: SONHMS
137 sonhandler.dmaap.server: ["message-router"]
138 sonhandler.bufferTime: 60
139 sonhandler.cg: sonhms-cg
140 sonhandler.cid: sonhms-cid
141 sonhandler.clientType: cps
142 sonhandler.nearRtricUrl: "https://a1-policy-management:30294/a1-policy/v2/policies"
143 cps.service.url: http://cps-tbdmt:8080
144 cps.get.celldata: execute/cps-ran-schemaset/get-cell-data
145 cps.get.nbr.list.url: execute/cps-ran-schemaset/get-nbr-list
146 cps.get.pci.url: execute/ran-network-schemaset/get-pci
147 cps.get.pnf.url: execute/ran-network-schemaset/get-pnf
148 sonhandler.configDb.service: http://configdb:8080
149 sonhandler.oof.service: https://oof-osdf:8698
150 sonhandler.oof.endpoint: /api/oof/v1/pci
151 sonhandler.pciOptimizer: pci
152 sonhandler.pciAnrOptimizer: pci_anr
153 sonhandler.poorCountThreshold: 3
154 sonhandler.badCountThreshold: 3
155 sonhandler.oofTriggerCountTimer: 30
156 sonhandler.oofTriggerCountThreshold: 5
157 sonhandler.policyRespTimer: 10
158 sonhandler.policyNegativeAckThreshold: 3
159 sonhandler.policyFixedPciTimeInterval: 30000
160 sonhandler.nfNamingCode: RansimAgent
165 topic_url: http://message-router:3904/events/unauthenticated.DCAE_CL_OUTPUT
167 performance_management_topic:
170 topic_url: http://message-router:3904/events/unauthenticated.VES_MEASUREMENT_OUTPUT
171 fault_management_topic:
174 topic_url: http://message-router:3904/events/unauthenticated.SEC_FAULT_OUTPUT
175 nbr_list_change_topic:
178 topic_url: http://message-router:3904/events/PCI-NOTIF-TOPIC-NGHBR-LIST-CHANGE-INFO
179 dcae_cl_response_topic:
182 topic_url: http://message-router:3904/events/DCAE_CL_RSP
192 CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml'
193 #Temporary Dummy CBS Port Value until internal SDK library is updated
194 CONFIG_BINDING_SERVICE_SERVICE_PORT: '0000'
197 # Resource Limit Flavor -By Default Using Small
200 # Segregation for Different Environment (Small and Large)
218 #################################################################
219 # Application configuration Overriding Defaults in the Postgres.
220 #################################################################
222 nameOverride: &postgresName dcae-sonhms-postgres
225 name2: *dcaeSonhmsPgPrimary
226 name3: dcae-sonhms-pg-replica
229 primary: dcae-sonhms-pg-primary
230 replica: dcae-sonhms-pg-replica
232 mountSubPath: sonhms/data
233 mountInitPath: sonhms
237 pgUserExternalSecret: *pgUserCredsSecretName
243 - '{{ .Values.postgres.service.name2 }}'
246 #Pods Service Account
248 nameOverride: dcae-son-handler