1 # ============= LICENSE_START ================================================
2 # ============================================================================
3 # Copyright (C) 2021-2022 Wipro Limited.
4 # Copyright (c) 2022-2023 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: &pgUserCredsSecretUid pg-user-creds
40 name: &pgUserCredsSecretName '{{ include "common.release" . }}-sliceanalysisms-pg-user-creds'
42 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "sliceanalysisms-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}'
43 login: '{{ .Values.postgres.config.pgUserName }}'
44 password: '{{ .Values.postgres.config.pgUserPassword }}'
45 passwordPolicy: generate
47 #################################################################
48 # Application Configuration Defaults.
49 #################################################################
51 repository: nexus3.onap.org:10001
52 image: onap/org.onap.dcaegen2.services.components.slice-analysis-ms:1.1.5
53 pullPolicy: IfNotPresent
55 #################################################################
56 # Policy Sync Container Image.
57 #################################################################
58 # optional Policy configuration properties
59 # if present, policy-sync side car will be deployed
60 # policy sync is used for provide runtime configuration for slicems
61 # policy id is originally set to "onap.dcae.slicems.config"
63 #dcaePolicySyncImage: onap/org.onap.dcaegen2.deployments.dcae-services-policy-sync:1.0.1
64 #pullPolicy: IfNotPresent
69 # '["onap.dcae.slicems.config"]'
71 # Log directory where logging sidecar should look for log files
72 # if path is set to null sidecar won't be deployed in spite of
73 # global.centralizedLoggingEnabled setting.
75 path: /var/log/ONAP/dcaegen2/services/sliceanalysisms
76 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
81 - &postgresName dcae-sliceanalysisms-postgres
86 initialDelaySeconds: 60
93 # Service Configuration
96 name: dcae-slice-analysis-ms
104 uid: *pgUserCredsSecretUid
107 uid: *pgUserCredsSecretUid
110 # Initial Application Configuration
112 postgres.host: dcae-sliceanalysisms-pg-primary
114 postgres.username: ${PG_USERNAME}
115 postgres.password: ${PG_PASSWORD}
116 trust_store_path: /opt/app/sliceanalysisms/etc/cert/trust.jks
117 trust_store_pass_path: /opt/app/sliceanalysisms/etc/cert/trust.pass
118 sliceanalysisms.pollingInterval: 20
119 sliceanalysisms.pollingTimeout: 60
120 cbsPollingInterval: 60
121 sliceanalysisms.namespace: onap
122 sliceanalysisms.dmaap.server: ["message-router"]
123 sliceanalysisms.bufferTime: 60
124 sliceanalysisms.cg: sliceanalysisms-cg
125 sliceanalysisms.cid: sliceanalysisms-cid
126 sliceanalysisms.configDb.service: http://config-db:8080
127 sliceanalysisms.configDbEnabled: true
128 sliceanalysisms.aai.url: http://aai-internal.onap.svc.cluster.local:80/aai/v21
129 sliceanalysisms.cps.url: http://cps:8080
130 sliceanalysisms.samples: 3
131 sliceanalysisms.minPercentageChange: 5
132 sliceanalysisms.initialDelaySeconds: 120000
133 sliceanalysisms.rannfnssiDetailsTemplateId: get-rannfnssiid-details
134 sliceanalysisms.desUrl: http://dl-des:1681/datalake/v1/exposure/pm_data
135 sliceanalysisms.pmDataDurationInWeeks: 4
136 sliceanalysisms.vesNotifPollingInterval: 15
137 sliceanalysisms.vesNotifChangeIdentifier: PM_BW_UPDATE
138 sliceanalysisms.vesNotifChangeType: BandwidthChanged
139 sliceanalysisms.aaiNotif.targetAction: UPDATE
140 sliceanalysisms.aaiNotif.targetSource: UUI
141 sliceanalysisms.aaiNotif.targetEntity: service-instance
142 sliceanalysisms.ccvpnEvalInterval: 5
143 sliceanalysisms.ccvpnEvalUpperThreshold: 0.8
144 sliceanalysisms.ccvpnEvalLowerThreshold: 0.3
145 sliceanalysisms.ccvpnEvalPrecision: 100.0
146 sliceanalysisms.ccvpnEvalPeriodicCheckOn: true
147 sliceanalysisms.ccvpnEvalOnDemandCheckOn: true
148 sliceanalysisms.ccvpnEvalStrategy: FlexibleThresholdStrategy
153 topic_url: http://message-router:3904/events/unauthenticated.DCAE_CL_OUTPUT
155 performance_management_topic:
158 topic_url: http://message-router:3904/events/unauthenticated.PERFORMANCE_MEASUREMENTS
159 intelligent_slicing_topic:
162 topic_url: http://message-router:3904/events/unauthenticated.ML_RESPONSE_TOPIC
163 dcae_cl_response_topic:
166 topic_url: http://message-router:3904/events/DCAE_CL_RSP
167 ves_ccvpn_notification_topic:
170 topic_url: http://message-router:3904/events/unauthenticated.VES_NOTIFICATION_OUTPUT
173 servers : ["message-router:3904"]
174 consumer_group: dcae_ccvpn_cl
175 consumer_instance: dcae_ccvpn_cl_aaievent
179 topic_url: http://message-router:3904/events/AAI-EVENT
182 CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml'
183 #Temporary Dummy CBS Port Value until internal SDK library is updated
184 CONFIG_BINDING_SERVICE_SERVICE_PORT: '0000'
187 # Resource Limit Flavor -By Default Using Small
189 # Segregation for Different Environment (Small and Large)
207 #################################################################
208 # Application configuration Overriding Defaults in the Postgres.
209 #################################################################
211 nameOverride: *postgresName
214 name2: dcae-sliceanalysisms-pg-primary
215 name3: dcae-sliceanalysisms-pg-replica
218 primary: dcae-sliceanalysisms-pg-primary
219 replica: dcae-sliceanalysisms-pg-replica
221 mountSubPath: sliceanalysisms/data
222 mountInitPath: sliceanalysisms
224 pgUserName: sliceanalysisms
225 pgDatabase: sliceanalysisms
226 pgUserExternalSecret: *pgUserCredsSecretName
228 #Pods Service Account
230 nameOverride: dcae-slice-analysis-ms