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#################################
54 #################################################################
55 tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
57 #################################################################
58 # Application Configuration Defaults.
59 #################################################################
61 repository: nexus3.onap.org:10001
62 image: onap/org.onap.dcaegen2.services.components.slice-analysis-ms:1.1.5
63 pullPolicy: IfNotPresent
65 #################################################################
66 # Policy Sync Container Image.
67 #################################################################
68 # optional Policy configuration properties
69 # if present, policy-sync side car will be deployed
70 # policy sync is used for provide runtime configuration for slicems
71 # policy id is originally set to "onap.dcae.slicems.config"
73 #dcaePolicySyncImage: onap/org.onap.dcaegen2.deployments.dcae-services-policy-sync:1.0.1
74 #pullPolicy: IfNotPresent
79 # '["onap.dcae.slicems.config"]'
81 # Log directory where logging sidecar should look for log files
82 # if path is set to null sidecar won't be deployed in spite of
83 # global.centralizedLoggingEnabled setting.
85 path: /var/log/ONAP/dcaegen2/services/sliceanalysisms
86 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
88 # Directory where TLS certs should be stored
89 # if absent, no certs will be retrieved and stored
90 certDirectory: /opt/app/sliceanalysisms/etc/cert/
92 # TLS role -- set to true if microservice acts as server
93 # If true, an init container will retrieve a server cert
94 # and key from AAF and mount them in certDirectory.
100 - &postgresName dcae-sliceanalysisms-postgres
103 # Probe Configuration
105 initialDelaySeconds: 60
112 # Service Configuration
115 name: dcae-slice-analysis-ms
123 identity: dcae@dcae.onap.org
124 password: demo123456!
134 uid: *pgUserCredsSecretUid
137 uid: *pgUserCredsSecretUid
140 # Initial Application Configuration
142 postgres.host: dcae-sliceanalysisms-pg-primary
144 postgres.username: ${PG_USERNAME}
145 postgres.password: ${PG_PASSWORD}
146 trust_store_path: /opt/app/sliceanalysisms/etc/cert/trust.jks
147 trust_store_pass_path: /opt/app/sliceanalysisms/etc/cert/trust.pass
148 sliceanalysisms.pollingInterval: 20
149 sliceanalysisms.pollingTimeout: 60
150 cbsPollingInterval: 60
151 sliceanalysisms.namespace: onap
152 sliceanalysisms.dmaap.server: ["message-router"]
153 sliceanalysisms.bufferTime: 60
154 sliceanalysisms.cg: sliceanalysisms-cg
155 sliceanalysisms.cid: sliceanalysisms-cid
156 sliceanalysisms.configDb.service: http://config-db:8080
157 sliceanalysisms.configDbEnabled: true
158 sliceanalysisms.aai.url: http://aai-internal.onap.svc.cluster.local:80/aai/v21
159 sliceanalysisms.cps.url: http://cps:8080
160 sliceanalysisms.samples: 3
161 sliceanalysisms.minPercentageChange: 5
162 sliceanalysisms.initialDelaySeconds: 120000
163 sliceanalysisms.rannfnssiDetailsTemplateId: get-rannfnssiid-details
164 sliceanalysisms.desUrl: http://dl-des:1681/datalake/v1/exposure/pm_data
165 sliceanalysisms.pmDataDurationInWeeks: 4
166 sliceanalysisms.vesNotifPollingInterval: 15
167 sliceanalysisms.vesNotifChangeIdentifier: PM_BW_UPDATE
168 sliceanalysisms.vesNotifChangeType: BandwidthChanged
169 sliceanalysisms.aaiNotif.targetAction: UPDATE
170 sliceanalysisms.aaiNotif.targetSource: UUI
171 sliceanalysisms.aaiNotif.targetEntity: service-instance
172 sliceanalysisms.ccvpnEvalInterval: 5
173 sliceanalysisms.ccvpnEvalUpperThreshold: 0.8
174 sliceanalysisms.ccvpnEvalLowerThreshold: 0.3
175 sliceanalysisms.ccvpnEvalPrecision: 100.0
176 sliceanalysisms.ccvpnEvalPeriodicCheckOn: true
177 sliceanalysisms.ccvpnEvalOnDemandCheckOn: true
178 sliceanalysisms.ccvpnEvalStrategy: FlexibleThresholdStrategy
183 topic_url: http://message-router:3904/events/unauthenticated.DCAE_CL_OUTPUT
185 performance_management_topic:
188 topic_url: http://message-router:3904/events/unauthenticated.PERFORMANCE_MEASUREMENTS
189 intelligent_slicing_topic:
192 topic_url: http://message-router:3904/events/unauthenticated.ML_RESPONSE_TOPIC
193 dcae_cl_response_topic:
196 topic_url: http://message-router:3904/events/DCAE_CL_RSP
197 ves_ccvpn_notification_topic:
200 topic_url: http://message-router:3904/events/unauthenticated.VES_NOTIFICATION_OUTPUT
203 servers : ["message-router:3904"]
204 consumer_group: dcae_ccvpn_cl
205 consumer_instance: dcae_ccvpn_cl_aaievent
209 topic_url: http://message-router:3904/events/AAI-EVENT
212 CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml'
213 #Temporary Dummy CBS Port Value until internal SDK library is updated
214 CONFIG_BINDING_SERVICE_SERVICE_PORT: '0000'
217 # Resource Limit Flavor -By Default Using Small
219 # Segregation for Different Environment (Small and Large)
237 #################################################################
238 # Application configuration Overriding Defaults in the Postgres.
239 #################################################################
241 nameOverride: *postgresName
244 name2: dcae-sliceanalysisms-pg-primary
245 name3: dcae-sliceanalysisms-pg-replica
248 primary: dcae-sliceanalysisms-pg-primary
249 replica: dcae-sliceanalysisms-pg-replica
251 mountSubPath: sliceanalysisms/data
252 mountInitPath: sliceanalysisms
254 pgUserName: sliceanalysisms
255 pgDatabase: sliceanalysisms
256 pgUserExternalSecret: *pgUserCredsSecretName
258 #Pods Service Account
260 nameOverride: dcae-slice-analysis-ms