blob: 420814f6c2f6994b72fbe718323c43c9698dc14c [file] [log] [blame]
Niranjana97097752021-06-11 07:44:13 +00001# ============= 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
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
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 ==================================================
17
18#################################################################
19# Global Configuration Defaults.
20#################################################################
21global:
22 nodePortPrefix: 302
23 nodePortPrefixExt: 304
24
25#################################################################
26# Filebeat Configuration Defaults.
27#################################################################
28filebeatConfig:
29 logstashServiceName: log-ls
30 logstashPort: 5044
31
32#################################################################
33# Secrets Configuration.
34#################################################################
35secrets:
36 - uid: &aafCredsUID aafcreds
37 type: basicAuth
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'
43 type: basicAuth
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
48
49#################################################################
50# InitContainer Images.
51#################################################################
52tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
Jack Lucasd263e692021-08-16 16:02:23 -040053consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.1
Niranjana97097752021-06-11 07:44:13 +000054
55#################################################################
56# Application Configuration Defaults.
57#################################################################
58# Application Image
Vijay Venkatesh Kumar8eeeecd2021-09-13 17:02:05 -040059image: onap/org.onap.dcaegen2.services.son-handler:2.1.4
Niranjana97097752021-06-11 07:44:13 +000060pullPolicy: Always
61
62# Log directory where logging sidecar should look for log files
63# if absent, no sidecar will be deployed
64logDirectory: /var/log/ONAP/dcaegen2/services/sonhms
65
66# Directory where TLS certs should be stored
67# if absent, no certs will be retrieved and stored
68certDirectory: /opt/app/sonhms/etc/certs
69
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.
73tlsServer: true
74
75# Policy configuraiton properties
76# if present, policy-sync side car will be deployed
77dcaePolicySyncImage: onap/org.onap.dcaegen2.deployments.dcae-services-policy-sync:1.0.1
78policies:
79 policyID: |
80 '["com.Config_PCIMS_CONFIG_POLICY"]'
81
82# Dependencies
83readinessCheck:
84 wait_for:
85 - dcae-config-binding-service
86 - aaf-cm
87 - &postgresName dcae-sonhms-postgres
88
89# Probe Configuration
90readiness:
91 initialDelaySeconds: 10
92 periodSeconds: 15
93 timeoutSeconds: 1
94 path: /healthcheck
95 scheme: HTTPS
96 port: 8080
97
98# Service Configuration
99service:
100 type: ClusterIP
101 name: dcae-son-handler
102 ports:
103 - name: https
104 port: 8080
105 port_protocol: http
106
107# AAF Credentials
108aafCreds:
109 identity: dcae@dcae.onap.org
110 password: demo123456!
111
112credentials:
113- name: AAF_IDENTITY
114 uid: *aafCredsUID
115 key: login
116- name: AAF_PASSWORD
117 uid: *aafCredsUID
118 key: password
119- name: PG_USERNAME
120 uid: *pgUserCredsSecretUid
121 key: login
122- name: PG_PASSWORD
123 uid: *pgUserCredsSecretUid
124 key: password
125
126
127# Initial Application Configuration
128applicationConfig:
129 postgres.host: &dcaeSonhmsPgPrimary dcae-sonhms-pg-primary
130 postgres.port: 5432
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
161 streams_publishes:
162 CL_topic:
163 type: message-router
164 aaf_username: ${AAF_IDENTITY}
165 aaf_password: ${AAF_PASSWORD}
166 dmaap_info:
167 topic_url: https://message-router:3905/events/unauthenticated.DCAE_CL_OUTPUT
168 streams_subscribes:
169 performance_management_topic:
170 type: message-router
171 aaf_username: ${AAF_IDENTITY}
172 aaf_password: ${AAF_PASSWORD}
173 dmaap_info:
174 topic_url: https://message-router:3905/events/unauthenticated.VES_MEASUREMENT_OUTPUT
175 fault_management_topic:
176 type: message-router
177 aaf_username: ${AAF_IDENTITY}
178 aaf_password: ${AAF_PASSWORD}
179 dmaap_info:
180 topic_url: https://message-router:3905/events/unauthenticated.SEC_FAULT_OUTPUT
181 nbr_list_change_topic:
182 type: message-router
183 aaf_username: ${AAF_IDENTITY}
184 aaf_password: ${AAF_PASSWORD}
185 dmaap_info:
186 topic_url: https://message-router:3905/events/PCI-NOTIF-TOPIC-NGHBR-LIST-CHANGE-INFO
187 dcae_cl_response_topic:
188 type: message-router
189 aaf_username: ${AAF_IDENTITY}
190 aaf_password: ${AAF_PASSWORD}
191 dmaap_info:
192 topic_url: https://message-router:3905/events/DCAE_CL_RSP
193 service_calls:
194 sdnr-getpnfname: []
195 sdnr-getpci: []
196 sdnr-getnbrlist: []
197 sdnr-getcelllist: []
198 oof-req: []
199 policy-req: []
200
201applicationEnv:
202 STANDALONE: 'false'
203
204# Resource Limit Flavor -By Default Using Small
205flavor: small
206
207# Segregation for Different Environment (Small and Large)
208resources:
209 small:
210 limits:
211 cpu: 1
212 memory: 1Gi
213 requests:
214 cpu: 1
215 memory: 1Gi
216 large:
217 limits:
218 cpu: 2
219 memory: 2Gi
220 requests:
221 cpu: 2
222 memory: 2Gi
223 unlimited: {}
224
225#################################################################
226# Application configuration Overriding Defaults in the Postgres.
227#################################################################
228postgres:
229 nameOverride: *postgresName
230 service:
231 name: *postgresName
232 name2: *dcaeSonhmsPgPrimary
233 name3: dcae-sonhms-pg-replica
234 container:
235 name:
236 primary: dcae-sonhms-pg-primary
237 replica: dcae-sonhms-pg-replica
238 persistence:
239 mountSubPath: sonhms/data
240 mountInitPath: sonhms
241 config:
242 pgUserName: sonhms
243 pgDatabase: sonhms
244 pgUserExternalSecret: *pgUserCredsSecretName
farida azmycb03ac72021-09-12 16:14:12 +0200245
246#Pods Service Account
247serviceAccount:
248 nameOverride: dcae-son-handler
249 roles:
250 - read