blob: 3fdd251110c8e6e47d1cb68e024315950d3fc7c5 [file] [log] [blame]
denilson.l65ce758f82021-05-25 13:54:50 +00001# ============= LICENSE_START ================================================
2# ============================================================================
Niranjanac8359122022-03-10 14:38:02 +00003# Copyright (C) 2021-2022 Wipro Limited.
Jack Lucasc9797322022-03-18 12:32:59 -04004# Copyright (c) 2022 J. F. Lucas. All rights reserved.
decheng zhang449c1012022-03-23 12:33:40 -04005# Copyright (C) 2022 Huawei Canada Limited.
denilson.l65ce758f82021-05-25 13:54:50 +00006# ============================================================================
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
10#
11# http://www.apache.org/licenses/LICENSE-2.0
12#
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 ==================================================
19
20#################################################################
21# Global Configuration Defaults.
22#################################################################
23global:
24 nodePortPrefix: 302
25 nodePortPrefixExt: 304
Maciej Wereski7000a7c2021-12-16 12:24:06 +010026 centralizedLoggingEnabled: true
denilson.l65ce758f82021-05-25 13:54:50 +000027
28#################################################################
29# Filebeat Configuration Defaults.
30#################################################################
31filebeatConfig:
32 logstashServiceName: log-ls
33 logstashPort: 5044
34
35#################################################################
36# Secrets Configuration.
37#################################################################
38secrets:
39 - uid: &aafCredsUID aafcreds
40 type: basicAuth
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'
46 type: basicAuth
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
51
52################################aafcreds#################################
Vijay Venkatesh Kumar9b90d412022-09-30 12:17:28 -040053# InitContainer Image
denilson.l65ce758f82021-05-25 13:54:50 +000054#################################################################
55tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
denilson.l65ce758f82021-05-25 13:54:50 +000056
57#################################################################
58# Application Configuration Defaults.
59#################################################################
60# Application Image
Vijay Venkatesh Kumar9b90d412022-09-30 12:17:28 -040061repository: nexus3.onap.org:10001
62image: onap/org.onap.dcaegen2.services.components.slice-analysis-ms:1.1.5
qingshutingba86c112022-08-04 11:49:23 +080063pullPolicy: IfNotPresent
64
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"
72
Vijay Venkatesh Kumar9b90d412022-09-30 12:17:28 -040073#dcaePolicySyncImage: onap/org.onap.dcaegen2.deployments.dcae-services-policy-sync:1.0.1
74#pullPolicy: IfNotPresent
75#policies:
qingshutingba86c112022-08-04 11:49:23 +080076# duration:
Vijay Venkatesh Kumar9b90d412022-09-30 12:17:28 -040077# 10
qingshutingba86c112022-08-04 11:49:23 +080078# policyID: |
79# '["onap.dcae.slicems.config"]'
denilson.l65ce758f82021-05-25 13:54:50 +000080
81# Log directory where logging sidecar should look for log files
Maciej Wereski7000a7c2021-12-16 12:24:06 +010082# if path is set to null sidecar won't be deployed in spite of
83# global.centralizedLoggingEnabled setting.
84log:
85 path: /var/log/ONAP/dcaegen2/services/sliceanalysisms
86logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
denilson.l65ce758f82021-05-25 13:54:50 +000087
88# Directory where TLS certs should be stored
89# if absent, no certs will be retrieved and stored
90certDirectory: /opt/app/sliceanalysisms/etc/cert/
91
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.
rope2525a7fbee2022-07-25 20:00:36 +010095tlsServer: false
denilson.l65ce758f82021-05-25 13:54:50 +000096
97# Dependencies
98readinessCheck:
99 wait_for:
denilson.l65ce758f82021-05-25 13:54:50 +0000100 - &postgresName dcae-sliceanalysisms-postgres
rope2525a7fbee2022-07-25 20:00:36 +0100101 - message-router
denilson.l65ce758f82021-05-25 13:54:50 +0000102
103# Probe Configuration
104readiness:
105 initialDelaySeconds: 60
106 periodSeconds: 15
107 timeoutSeconds: 1
108 path: /healthcheck
109 scheme: HTTP
110 port: 8080
111
112# Service Configuration
113service:
114 type: ClusterIP
115 name: dcae-slice-analysis-ms
116 ports:
rope2525a7fbee2022-07-25 20:00:36 +0100117 - name: http
denilson.l65ce758f82021-05-25 13:54:50 +0000118 port: 8080
119 port_protocol: http
120
121# AAF Credentials
122aafCreds:
123 identity: dcae@dcae.onap.org
124 password: demo123456!
125
126credentials:
127- name: AAF_IDENTITY
128 uid: *aafCredsUID
129 key: login
130- name: AAF_PASSWORD
131 uid: *aafCredsUID
132 key: password
133- name: PG_USERNAME
134 uid: *pgUserCredsSecretUid
135 key: login
136- name: PG_PASSWORD
137 uid: *pgUserCredsSecretUid
138 key: password
139
140# Initial Application Configuration
141applicationConfig:
denilson.l65ce758f82021-05-25 13:54:50 +0000142 postgres.host: dcae-sliceanalysisms-pg-primary
143 postgres.port: 5432
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
rope2525a7fbee2022-07-25 20:00:36 +0100158 sliceanalysisms.aai.url: http://aai-internal.onap.svc.cluster.local:80/aai/v21
159 sliceanalysisms.cps.url: http://cps:8080
denilson.l65ce758f82021-05-25 13:54:50 +0000160 sliceanalysisms.samples: 3
161 sliceanalysisms.minPercentageChange: 5
162 sliceanalysisms.initialDelaySeconds: 120000
Niranjanac8359122022-03-10 14:38:02 +0000163 sliceanalysisms.rannfnssiDetailsTemplateId: get-rannfnssiid-details
164 sliceanalysisms.desUrl: http://dl-des:1681/datalake/v1/exposure/pm_data
165 sliceanalysisms.pmDataDurationInWeeks: 4
decheng zhang449c1012022-03-23 12:33:40 -0400166 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
Vijay Venkatesh Kumar9b90d412022-09-30 12:17:28 -0400172 sliceanalysisms.ccvpnEvalInterval: 5
173 sliceanalysisms.ccvpnEvalUpperThreshold: 0.8
174 sliceanalysisms.ccvpnEvalLowerThreshold: 0.3
decheng zhang449c1012022-03-23 12:33:40 -0400175 sliceanalysisms.ccvpnEvalPrecision: 100.0
176 sliceanalysisms.ccvpnEvalPeriodicCheckOn: true
177 sliceanalysisms.ccvpnEvalOnDemandCheckOn: true
Vijay Venkatesh Kumar9b90d412022-09-30 12:17:28 -0400178 sliceanalysisms.ccvpnEvalStrategy: FlexibleThresholdStrategy
denilson.l65ce758f82021-05-25 13:54:50 +0000179 streams_publishes:
180 CL_topic:
181 type: message-router
denilson.l65ce758f82021-05-25 13:54:50 +0000182 dmaap_info:
Niranjanac8359122022-03-10 14:38:02 +0000183 topic_url: http://message-router:3904/events/unauthenticated.DCAE_CL_OUTPUT
denilson.l65ce758f82021-05-25 13:54:50 +0000184 streams_subscribes:
185 performance_management_topic:
186 type: message-router
denilson.l65ce758f82021-05-25 13:54:50 +0000187 dmaap_info:
Niranjanac8359122022-03-10 14:38:02 +0000188 topic_url: http://message-router:3904/events/unauthenticated.PERFORMANCE_MEASUREMENTS
denilson.l65ce758f82021-05-25 13:54:50 +0000189 intelligent_slicing_topic:
190 type: message-router
denilson.l65ce758f82021-05-25 13:54:50 +0000191 dmaap_info:
Niranjanac8359122022-03-10 14:38:02 +0000192 topic_url: http://message-router:3904/events/unauthenticated.ML_RESPONSE_TOPIC
denilson.l65ce758f82021-05-25 13:54:50 +0000193 dcae_cl_response_topic:
194 type: message-router
denilson.l65ce758f82021-05-25 13:54:50 +0000195 dmaap_info:
Niranjanac8359122022-03-10 14:38:02 +0000196 topic_url: http://message-router:3904/events/DCAE_CL_RSP
decheng zhang449c1012022-03-23 12:33:40 -0400197 ves_ccvpn_notification_topic:
198 type: message-router
199 dmaap_info:
200 topic_url: http://message-router:3904/events/unauthenticated.VES_NOTIFICATION_OUTPUT
201 aai_subscriber:
202 type: message-router
203 servers : ["message-router:3904"]
204 consumer_group: dcae_ccvpn_cl
205 consumer_instance: dcae_ccvpn_cl_aaievent
206 fetch_timeout: 15000
207 fetch_limit: 100
208 dmaap_info:
209 topic_url: http://message-router:3904/events/AAI-EVENT
denilson.l65ce758f82021-05-25 13:54:50 +0000210
211applicationEnv:
rope2525a7fbee2022-07-25 20:00:36 +0100212 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'
denilson.l65ce758f82021-05-25 13:54:50 +0000215 STANDALONE: 'false'
216
217# Resource Limit Flavor -By Default Using Small
218flavor: small
219# Segregation for Different Environment (Small and Large)
220resources:
221 small:
222 limits:
223 cpu: 1
224 memory: 1Gi
225 requests:
226 cpu: 1
227 memory: 1Gi
228 large:
229 limits:
230 cpu: 2
231 memory: 2Gi
232 requests:
233 cpu: 2
234 memory: 2Gi
235 unlimited: {}
236
237#################################################################
238# Application configuration Overriding Defaults in the Postgres.
239#################################################################
240postgres:
241 nameOverride: *postgresName
242 service:
243 name: *postgresName
244 name2: dcae-sliceanalysisms-pg-primary
245 name3: dcae-sliceanalysisms-pg-replica
246 container:
247 name:
248 primary: dcae-sliceanalysisms-pg-primary
249 replica: dcae-sliceanalysisms-pg-replica
250 persistence:
251 mountSubPath: sliceanalysisms/data
252 mountInitPath: sliceanalysisms
253 config:
254 pgUserName: sliceanalysisms
255 pgDatabase: sliceanalysisms
256 pgUserExternalSecret: *pgUserCredsSecretName
farida azmycb03ac72021-09-12 16:14:12 +0200257
258#Pods Service Account
259serviceAccount:
260 nameOverride: dcae-slice-analysis-ms
261 roles:
262 - read