1 # ============= LICENSE_START ================================================
2 # ============================================================================
3 # Copyright (C) 2021-2022 Wipro Limited.
4 # Copyright (c) 2022 J. F. Lucas. All rights reserved.
5 # Copyright (C) 2022 Huawei Canada Limited.
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: &aafCredsUID aafcreds
41 login: '{{ .Values.aafCreds.identity }}'
42 password: '{{ .Values.aafCreds.password }}'
43 passwordPolicy: required
44 - uid: &pgUserCredsSecretUid pg-user-creds
45 name: &pgUserCredsSecretName '{{ include "common.release" . }}-sliceanalysisms-pg-user-creds'
47 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "sliceanalysisms-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}'
48 login: '{{ .Values.postgres.config.pgUserName }}'
49 password: '{{ .Values.postgres.config.pgUserPassword }}'
50 passwordPolicy: generate
52 ################################aafcreds#################################
53 # InitContainer Image.
54 #################################################################
55 tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
57 #################################################################
58 # Application Configuration Defaults.
59 #################################################################
61 image: onap/org.onap.dcaegen2.services.components.slice-analysis-ms:1.1.3
62 pullPolicy: IfNotPresent
64 #################################################################
65 # Policy Sync Container Image.
66 #################################################################
67 # optional Policy configuration properties
68 # if present, policy-sync side car will be deployed
69 # policy sync is used for provide runtime configuration for slicems
70 # policy id is originally set to "onap.dcae.slicems.config"
72 # dcaePolicySyncImage: onap/org.onap.dcaegen2.deployments.dcae-services-policy-sync:1.0.1
77 # '["onap.dcae.slicems.config"]'
79 # Log directory where logging sidecar should look for log files
80 # if path is set to null sidecar won't be deployed in spite of
81 # global.centralizedLoggingEnabled setting.
83 path: /var/log/ONAP/dcaegen2/services/sliceanalysisms
84 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
86 # Directory where TLS certs should be stored
87 # if absent, no certs will be retrieved and stored
88 certDirectory: /opt/app/sliceanalysisms/etc/cert/
90 # TLS role -- set to true if microservice acts as server
91 # If true, an init container will retrieve a server cert
92 # and key from AAF and mount them in certDirectory.
99 - &postgresName dcae-sliceanalysisms-postgres
101 # Probe Configuration
103 initialDelaySeconds: 60
110 # Service Configuration
113 name: dcae-slice-analysis-ms
121 identity: dcae@dcae.onap.org
122 password: demo123456!
132 uid: *pgUserCredsSecretUid
135 uid: *pgUserCredsSecretUid
138 # Initial Application Configuration
140 postgres.host: dcae-sliceanalysisms-pg-primary
142 postgres.username: ${PG_USERNAME}
143 postgres.password: ${PG_PASSWORD}
144 trust_store_path: /opt/app/sliceanalysisms/etc/cert/trust.jks
145 trust_store_pass_path: /opt/app/sliceanalysisms/etc/cert/trust.pass
146 sliceanalysisms.pollingInterval: 20
147 sliceanalysisms.pollingTimeout: 60
148 cbsPollingInterval: 60
149 sliceanalysisms.namespace: onap
150 sliceanalysisms.dmaap.server: ["message-router"]
151 sliceanalysisms.bufferTime: 60
152 sliceanalysisms.cg: sliceanalysisms-cg
153 sliceanalysisms.cid: sliceanalysisms-cid
154 sliceanalysisms.configDb.service: http://config-db:8080
155 sliceanalysisms.configDbEnabled: true
156 sliceanalysisms.aai.url: https://aai.onap.svc.cluster.local:8443/aai/v21
157 sliceanalysisms.cps.url: https://cps:8088
158 sliceanalysisms.samples: 3
159 sliceanalysisms.minPercentageChange: 5
160 sliceanalysisms.initialDelaySeconds: 120000
161 sliceanalysisms.rannfnssiDetailsTemplateId: get-rannfnssiid-details
162 sliceanalysisms.desUrl: http://dl-des:1681/datalake/v1/exposure/pm_data
163 sliceanalysisms.pmDataDurationInWeeks: 4
164 sliceanalysisms.vesNotifPollingInterval: 15
165 sliceanalysisms.vesNotifChangeIdentifier: PM_BW_UPDATE
166 sliceanalysisms.vesNotifChangeType: BandwidthChanged
167 sliceanalysisms.aaiNotif.targetAction: UPDATE
168 sliceanalysisms.aaiNotif.targetSource: UUI
169 sliceanalysisms.aaiNotif.targetEntity: service-instance
170 sliceanalysisms.ccvpnEvalInterval: 15
171 sliceanalysisms.ccvpnEvalThreshold: 0.8
172 sliceanalysisms.ccvpnEvalPrecision: 100.0
173 sliceanalysisms.ccvpnEvalPeriodicCheckOn: true
174 sliceanalysisms.ccvpnEvalOnDemandCheckOn: true
179 topic_url: http://message-router:3904/events/unauthenticated.DCAE_CL_OUTPUT
181 performance_management_topic:
184 topic_url: http://message-router:3904/events/unauthenticated.PERFORMANCE_MEASUREMENTS
185 intelligent_slicing_topic:
188 topic_url: http://message-router:3904/events/unauthenticated.ML_RESPONSE_TOPIC
189 dcae_cl_response_topic:
192 topic_url: http://message-router:3904/events/DCAE_CL_RSP
193 ves_ccvpn_notification_topic:
196 topic_url: http://message-router:3904/events/unauthenticated.VES_NOTIFICATION_OUTPUT
199 servers : ["message-router:3904"]
200 consumer_group: dcae_ccvpn_cl
201 consumer_instance: dcae_ccvpn_cl_aaievent
205 topic_url: http://message-router:3904/events/AAI-EVENT
210 # Resource Limit Flavor -By Default Using Small
212 # Segregation for Different Environment (Small and Large)
230 #################################################################
231 # Application configuration Overriding Defaults in the Postgres.
232 #################################################################
234 nameOverride: *postgresName
237 name2: dcae-sliceanalysisms-pg-primary
238 name3: dcae-sliceanalysisms-pg-replica
241 primary: dcae-sliceanalysisms-pg-primary
242 replica: dcae-sliceanalysisms-pg-replica
244 mountSubPath: sliceanalysisms/data
245 mountInitPath: sliceanalysisms
247 pgUserName: sliceanalysisms
248 pgDatabase: sliceanalysisms
249 pgUserExternalSecret: *pgUserCredsSecretName
251 #Pods Service Account
253 nameOverride: dcae-slice-analysis-ms