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: &pgUserCredsSecretUid pg-user-creds
42 name: &pgUserCredsSecretName '{{ include "common.release" . }}-sonhms-pg-user-creds'
44 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "sonhms-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}'
45 login: '{{ .Values.postgres.config.pgUserName }}'
46 password: '{{ .Values.postgres.config.pgUserPassword }}'
47 passwordPolicy: generate
49 #################################################################
50 # InitContainer Images.
51 #################################################################
52 tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
53 consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.0
55 #################################################################
56 # Application Configuration Defaults.
57 #################################################################
59 image: onap/org.onap.dcaegen2.services.son-handler:2.1.3
62 # Log directory where logging sidecar should look for log files
63 # if absent, no sidecar will be deployed
64 logDirectory: /var/log/ONAP/dcaegen2/services/sonhms
66 # Directory where TLS certs should be stored
67 # if absent, no certs will be retrieved and stored
68 certDirectory: /opt/app/sonhms/etc/certs
70 # TLS role -- set to true if microservice acts as server
71 # If true, an init container will retrieve a server cert
72 # and key from AAF and mount them in certDirectory.
75 # Policy configuraiton properties
76 # if present, policy-sync side car will be deployed
77 dcaePolicySyncImage: onap/org.onap.dcaegen2.deployments.dcae-services-policy-sync:1.0.1
80 '["com.Config_PCIMS_CONFIG_POLICY"]'
85 - dcae-config-binding-service
87 - &postgresName dcae-sonhms-postgres
91 initialDelaySeconds: 10
98 # Service Configuration
101 name: dcae-son-handler
109 identity: dcae@dcae.onap.org
110 password: demo123456!
120 uid: *pgUserCredsSecretUid
123 uid: *pgUserCredsSecretUid
127 # Initial Application Configuration
129 postgres.host: &dcaeSonhmsPgPrimary dcae-sonhms-pg-primary
131 postgres.username: ${PG_USERNAME}
132 postgres.password: ${PG_PASSWORD}
133 sonhandler.pollingInterval: 20
134 sonhandler.pollingTimeout: 60
135 cbsPollingInterval: 60
136 sonhandler.numSolutions: 5
137 sonhandler.minCollision: 5
138 sonhandler.minConfusion: 5
139 sonhandler.maximumClusters: 5
140 sonhandler.badThreshold: 50
141 sonhandler.poorThreshold: 70
142 sonhandler.namespace: onap
143 sonhandler.sourceId: SONHMS
144 sonhandler.dmaap.server: ["message-router"]
145 sonhandler.bufferTime: 60
146 sonhandler.cg: sonhms-cg
147 sonhandler.cid: sonhms-cid
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
164 aaf_username: ${AAF_IDENTITY}
165 aaf_password: ${AAF_PASSWORD}
167 topic_url: https://message-router:3905/events/unauthenticated.DCAE_CL_OUTPUT
169 performance_management_topic:
171 aaf_username: ${AAF_IDENTITY}
172 aaf_password: ${AAF_PASSWORD}
174 topic_url: https://message-router:3905/events/unauthenticated.VES_MEASUREMENT_OUTPUT
175 fault_management_topic:
177 aaf_username: ${AAF_IDENTITY}
178 aaf_password: ${AAF_PASSWORD}
180 topic_url: https://message-router:3905/events/unauthenticated.SEC_FAULT_OUTPUT
181 nbr_list_change_topic:
183 aaf_username: ${AAF_IDENTITY}
184 aaf_password: ${AAF_PASSWORD}
186 topic_url: https://message-router:3905/events/PCI-NOTIF-TOPIC-NGHBR-LIST-CHANGE-INFO
187 dcae_cl_response_topic:
189 aaf_username: ${AAF_IDENTITY}
190 aaf_password: ${AAF_PASSWORD}
192 topic_url: https://message-router:3905/events/DCAE_CL_RSP
204 # Resource Limit Flavor -By Default Using Small
207 # Segregation for Different Environment (Small and Large)
225 #################################################################
226 # Application configuration Overriding Defaults in the Postgres.
227 #################################################################
229 nameOverride: *postgresName
232 name2: *dcaeSonhmsPgPrimary
233 name3: dcae-sonhms-pg-replica
236 primary: dcae-sonhms-pg-primary
237 replica: dcae-sonhms-pg-replica
239 mountSubPath: sonhms/data
240 mountInitPath: sonhms
244 pgUserExternalSecret: *pgUserCredsSecretName