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 Images.
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.2
63 # Log directory where logging sidecar should look for log files
64 # if path is set to null sidecar won't be deployed in spite of
65 # global.centralizedLoggingEnabled setting.
67 path: /var/log/ONAP/dcaegen2/services/sliceanalysisms
68 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
70 # Directory where TLS certs should be stored
71 # if absent, no certs will be retrieved and stored
72 certDirectory: /opt/app/sliceanalysisms/etc/cert/
74 # TLS role -- set to true if microservice acts as server
75 # If true, an init container will retrieve a server cert
76 # and key from AAF and mount them in certDirectory.
83 - &postgresName dcae-sliceanalysisms-postgres
87 initialDelaySeconds: 60
94 # Service Configuration
97 name: dcae-slice-analysis-ms
105 identity: dcae@dcae.onap.org
106 password: demo123456!
116 uid: *pgUserCredsSecretUid
119 uid: *pgUserCredsSecretUid
122 # Initial Application Configuration
124 postgres.host: dcae-sliceanalysisms-pg-primary
126 postgres.username: ${PG_USERNAME}
127 postgres.password: ${PG_PASSWORD}
128 trust_store_path: /opt/app/sliceanalysisms/etc/cert/trust.jks
129 trust_store_pass_path: /opt/app/sliceanalysisms/etc/cert/trust.pass
130 sliceanalysisms.pollingInterval: 20
131 sliceanalysisms.pollingTimeout: 60
132 cbsPollingInterval: 60
133 sliceanalysisms.namespace: onap
134 sliceanalysisms.dmaap.server: ["message-router"]
135 sliceanalysisms.bufferTime: 60
136 sliceanalysisms.cg: sliceanalysisms-cg
137 sliceanalysisms.cid: sliceanalysisms-cid
138 sliceanalysisms.configDb.service: http://config-db:8080
139 sliceanalysisms.configDbEnabled: true
140 sliceanalysisms.aai.url: https://aai.onap.svc.cluster.local:8443/aai/v21
141 sliceanalysisms.cps.url: https://cps:8088
142 sliceanalysisms.samples: 3
143 sliceanalysisms.minPercentageChange: 5
144 sliceanalysisms.initialDelaySeconds: 120000
145 sliceanalysisms.rannfnssiDetailsTemplateId: get-rannfnssiid-details
146 sliceanalysisms.desUrl: http://dl-des:1681/datalake/v1/exposure/pm_data
147 sliceanalysisms.pmDataDurationInWeeks: 4
148 sliceanalysisms.vesNotifPollingInterval: 15
149 sliceanalysisms.vesNotifChangeIdentifier: PM_BW_UPDATE
150 sliceanalysisms.vesNotifChangeType: BandwidthChanged
151 sliceanalysisms.aaiNotif.targetAction: UPDATE
152 sliceanalysisms.aaiNotif.targetSource: UUI
153 sliceanalysisms.aaiNotif.targetEntity: service-instance
154 sliceanalysisms.ccvpnEvalInterval: 15
155 sliceanalysisms.ccvpnEvalThreshold: 0.8
156 sliceanalysisms.ccvpnEvalPrecision: 100.0
157 sliceanalysisms.ccvpnEvalPeriodicCheckOn: true
158 sliceanalysisms.ccvpnEvalOnDemandCheckOn: true
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.PERFORMANCE_MEASUREMENTS
169 intelligent_slicing_topic:
172 topic_url: http://message-router:3904/events/unauthenticated.ML_RESPONSE_TOPIC
173 dcae_cl_response_topic:
176 topic_url: http://message-router:3904/events/DCAE_CL_RSP
177 ves_ccvpn_notification_topic:
180 topic_url: http://message-router:3904/events/unauthenticated.VES_NOTIFICATION_OUTPUT
183 servers : ["message-router:3904"]
184 consumer_group: dcae_ccvpn_cl
185 consumer_instance: dcae_ccvpn_cl_aaievent
189 topic_url: http://message-router:3904/events/AAI-EVENT
194 # Resource Limit Flavor -By Default Using Small
196 # Segregation for Different Environment (Small and Large)
214 #################################################################
215 # Application configuration Overriding Defaults in the Postgres.
216 #################################################################
218 nameOverride: *postgresName
221 name2: dcae-sliceanalysisms-pg-primary
222 name3: dcae-sliceanalysisms-pg-replica
225 primary: dcae-sliceanalysisms-pg-primary
226 replica: dcae-sliceanalysisms-pg-replica
228 mountSubPath: sliceanalysisms/data
229 mountInitPath: sliceanalysisms
231 pgUserName: sliceanalysisms
232 pgDatabase: sliceanalysisms
233 pgUserExternalSecret: *pgUserCredsSecretName
235 #Pods Service Account
237 nameOverride: dcae-slice-analysis-ms