1 # ============= LICENSE_START ================================================
2 # ============================================================================
3 # Copyright (C) 2021-2022 Wipro Limited.
4 # Copyright (c) 2022-2023 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: &cpsCredsUID cpscreds
40 login: '{{ .Values.cpsCreds.identity }}'
41 password: '{{ .Values.cpsCreds.password }}'
42 passwordPolicy: required
43 - uid: &pgUserCredsSecretUid pg-user-creds
44 name: &pgUserCredsSecretName '{{ include "common.release" . }}-sonhms-pg-user-creds'
46 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "sonhms-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}'
47 login: '{{ .Values.postgres.config.pgUserName }}'
48 password: '{{ .Values.postgres.config.pgUserPassword }}'
49 passwordPolicy: generate
51 #################################################################
52 # Application Configuration Defaults.
53 #################################################################
55 image: onap/org.onap.dcaegen2.services.son-handler:2.1.11
58 # Log directory where logging sidecar should look for log files
59 # if path is set to null sidecar won't be deployed in spite of
60 # global.centralizedLoggingEnabled setting.
62 path: /var/log/ONAP/dcaegen2/services/sonhms
63 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
65 # Optional Policy configuration properties
66 # if present, policy-sync side car will be deployed
67 #dcaePolicySyncImage: onap/org.onap.dcaegen2.deployments.dcae-services-policy-sync:1.0.1
70 # '["com.Config_PCIMS_CONFIG_POLICY"]'
75 - &postgresName dcae-sonhms-postgres
80 initialDelaySeconds: 10
87 # Service Configuration
90 name: dcae-son-handler
109 uid: *pgUserCredsSecretUid
112 uid: *pgUserCredsSecretUid
116 # Initial Application Configuration
118 postgres.host: &dcaeSonhmsPgPrimary dcae-sonhms-pg-primary
120 postgres.username: ${PG_USERNAME}
121 postgres.password: ${PG_PASSWORD}
122 cps.username: ${CPS_IDENTITY}
123 cps.password: ${CPS_PASSWORD}
124 sonhandler.pollingInterval: 20
125 sonhandler.pollingTimeout: 60
126 cbsPollingInterval: 60
127 sonhandler.numSolutions: 5
128 sonhandler.minCollision: 5
129 sonhandler.minConfusion: 5
130 sonhandler.maximumClusters: 5
131 sonhandler.badThreshold: 50
132 sonhandler.poorThreshold: 70
133 sonhandler.namespace: onap
134 sonhandler.sourceId: SONHMS
135 sonhandler.dmaap.server: ["message-router"]
136 sonhandler.bufferTime: 60
137 sonhandler.cg: sonhms-cg
138 sonhandler.cid: sonhms-cid
139 sonhandler.clientType: cps
140 sonhandler.nearRtricUrl: "https://a1-policy-management:30294/a1-policy/v2/policies"
141 cps.service.url: http://cps-tbdmt:8080
142 cps.get.celldata: execute/cps-ran-schemaset/get-cell-data
143 cps.get.nbr.list.url: execute/cps-ran-schemaset/get-nbr-list
144 cps.get.pci.url: execute/ran-network-schemaset/get-pci
145 cps.get.pnf.url: execute/ran-network-schemaset/get-pnf
146 sonhandler.configDb.service: http://configdb:8080
147 sonhandler.oof.service: https://oof-osdf:8698
148 sonhandler.oof.endpoint: /api/oof/v1/pci
149 sonhandler.pciOptimizer: pci
150 sonhandler.pciAnrOptimizer: pci_anr
151 sonhandler.poorCountThreshold: 3
152 sonhandler.badCountThreshold: 3
153 sonhandler.oofTriggerCountTimer: 30
154 sonhandler.oofTriggerCountThreshold: 5
155 sonhandler.policyRespTimer: 10
156 sonhandler.policyNegativeAckThreshold: 3
157 sonhandler.policyFixedPciTimeInterval: 30000
158 sonhandler.nfNamingCode: RansimAgent
163 topic_url: http://message-router:3904/events/unauthenticated.DCAE_CL_OUTPUT
165 performance_management_topic:
168 topic_url: http://message-router:3904/events/unauthenticated.VES_MEASUREMENT_OUTPUT
169 fault_management_topic:
172 topic_url: http://message-router:3904/events/unauthenticated.SEC_FAULT_OUTPUT
173 nbr_list_change_topic:
176 topic_url: http://message-router:3904/events/PCI-NOTIF-TOPIC-NGHBR-LIST-CHANGE-INFO
177 dcae_cl_response_topic:
180 topic_url: http://message-router:3904/events/DCAE_CL_RSP
190 CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml'
191 #Temporary Dummy CBS Port Value until internal SDK library is updated
192 CONFIG_BINDING_SERVICE_SERVICE_PORT: '0000'
195 # Resource Limit Flavor -By Default Using Small
198 # Segregation for Different Environment (Small and Large)
216 #################################################################
217 # Application configuration Overriding Defaults in the Postgres.
218 #################################################################
220 nameOverride: *postgresName
223 name2: *dcaeSonhmsPgPrimary
224 name3: dcae-sonhms-pg-replica
227 primary: dcae-sonhms-pg-primary
228 replica: dcae-sonhms-pg-replica
230 mountSubPath: sonhms/data
231 mountInitPath: sonhms
235 pgUserExternalSecret: *pgUserCredsSecretName
237 #Pods Service Account
239 nameOverride: dcae-son-handler