blob: 065c19b2223355af56d5bf42cf9b195f7a87ff80 [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 Lucas64da4e72023-03-03 14:46:05 -05004# Copyright (c) 2022-2023 J. F. Lucas. All rights reserved.
decheng zhang449c1012022-03-23 12:33:40 -04005# Copyright (C) 2022 Huawei Canada Limited.
sushant53b66c74e2023-04-19 18:02:22 +05306# Copyright (c) 2023 Deutsche Telekom AG. All rights reserved.
denilson.l65ce758f82021-05-25 13:54:50 +00007# ============================================================================
8# Licensed under the Apache License, Version 2.0 (the "License");
9# you may not use this file except in compliance with the License.
10# You may obtain a copy of the License at
11#
12# http://www.apache.org/licenses/LICENSE-2.0
13#
14# Unless required by applicable law or agreed to in writing, software
15# distributed under the License is distributed on an "AS IS" BASIS,
16# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17# See the License for the specific language governing permissions and
18# limitations under the License.
19# ============= LICENSE_END ==================================================
20
21#################################################################
22# Global Configuration Defaults.
23#################################################################
24global:
25 nodePortPrefix: 302
26 nodePortPrefixExt: 304
Maciej Wereski7000a7c2021-12-16 12:24:06 +010027 centralizedLoggingEnabled: true
denilson.l65ce758f82021-05-25 13:54:50 +000028
29#################################################################
30# Filebeat Configuration Defaults.
31#################################################################
32filebeatConfig:
33 logstashServiceName: log-ls
34 logstashPort: 5044
35
36#################################################################
37# Secrets Configuration.
38#################################################################
39secrets:
denilson.l65ce758f82021-05-25 13:54:50 +000040 - uid: &pgUserCredsSecretUid pg-user-creds
41 name: &pgUserCredsSecretName '{{ include "common.release" . }}-sliceanalysisms-pg-user-creds'
42 type: basicAuth
43 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "sliceanalysisms-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}'
44 login: '{{ .Values.postgres.config.pgUserName }}'
45 password: '{{ .Values.postgres.config.pgUserPassword }}'
46 passwordPolicy: generate
47
denilson.l65ce758f82021-05-25 13:54:50 +000048#################################################################
49# Application Configuration Defaults.
50#################################################################
51# Application Image
Vijay Venkatesh Kumar9b90d412022-09-30 12:17:28 -040052repository: nexus3.onap.org:10001
sushant53b66c74e2023-04-19 18:02:22 +053053image: onap/org.onap.dcaegen2.services.components.slice-analysis-ms:1.2.1
qingshutingba86c112022-08-04 11:49:23 +080054pullPolicy: IfNotPresent
55
56#################################################################
57# Policy Sync Container Image.
58#################################################################
59# optional Policy configuration properties
60# if present, policy-sync side car will be deployed
61# policy sync is used for provide runtime configuration for slicems
62# policy id is originally set to "onap.dcae.slicems.config"
63
Vijay Venkatesh Kumar9b90d412022-09-30 12:17:28 -040064#dcaePolicySyncImage: onap/org.onap.dcaegen2.deployments.dcae-services-policy-sync:1.0.1
65#pullPolicy: IfNotPresent
66#policies:
qingshutingba86c112022-08-04 11:49:23 +080067# duration:
Vijay Venkatesh Kumar9b90d412022-09-30 12:17:28 -040068# 10
qingshutingba86c112022-08-04 11:49:23 +080069# policyID: |
70# '["onap.dcae.slicems.config"]'
denilson.l65ce758f82021-05-25 13:54:50 +000071
72# Log directory where logging sidecar should look for log files
Maciej Wereski7000a7c2021-12-16 12:24:06 +010073# if path is set to null sidecar won't be deployed in spite of
74# global.centralizedLoggingEnabled setting.
75log:
76 path: /var/log/ONAP/dcaegen2/services/sliceanalysisms
77logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
denilson.l65ce758f82021-05-25 13:54:50 +000078
denilson.l65ce758f82021-05-25 13:54:50 +000079# Dependencies
80readinessCheck:
81 wait_for:
denilson.l65ce758f82021-05-25 13:54:50 +000082 - &postgresName dcae-sliceanalysisms-postgres
rope2525a7fbee2022-07-25 20:00:36 +010083 - message-router
denilson.l65ce758f82021-05-25 13:54:50 +000084
85# Probe Configuration
86readiness:
87 initialDelaySeconds: 60
88 periodSeconds: 15
89 timeoutSeconds: 1
90 path: /healthcheck
91 scheme: HTTP
92 port: 8080
93
94# Service Configuration
95service:
96 type: ClusterIP
97 name: dcae-slice-analysis-ms
98 ports:
rope2525a7fbee2022-07-25 20:00:36 +010099 - name: http
denilson.l65ce758f82021-05-25 13:54:50 +0000100 port: 8080
101 port_protocol: http
102
denilson.l65ce758f82021-05-25 13:54:50 +0000103credentials:
denilson.l65ce758f82021-05-25 13:54:50 +0000104- name: PG_USERNAME
105 uid: *pgUserCredsSecretUid
106 key: login
107- name: PG_PASSWORD
108 uid: *pgUserCredsSecretUid
109 key: password
110
111# Initial Application Configuration
112applicationConfig:
denilson.l65ce758f82021-05-25 13:54:50 +0000113 postgres.host: dcae-sliceanalysisms-pg-primary
114 postgres.port: 5432
115 postgres.username: ${PG_USERNAME}
116 postgres.password: ${PG_PASSWORD}
117 trust_store_path: /opt/app/sliceanalysisms/etc/cert/trust.jks
118 trust_store_pass_path: /opt/app/sliceanalysisms/etc/cert/trust.pass
119 sliceanalysisms.pollingInterval: 20
120 sliceanalysisms.pollingTimeout: 60
121 cbsPollingInterval: 60
122 sliceanalysisms.namespace: onap
123 sliceanalysisms.dmaap.server: ["message-router"]
124 sliceanalysisms.bufferTime: 60
125 sliceanalysisms.cg: sliceanalysisms-cg
126 sliceanalysisms.cid: sliceanalysisms-cid
127 sliceanalysisms.configDb.service: http://config-db:8080
128 sliceanalysisms.configDbEnabled: true
rope2525a7fbee2022-07-25 20:00:36 +0100129 sliceanalysisms.aai.url: http://aai-internal.onap.svc.cluster.local:80/aai/v21
130 sliceanalysisms.cps.url: http://cps:8080
denilson.l65ce758f82021-05-25 13:54:50 +0000131 sliceanalysisms.samples: 3
132 sliceanalysisms.minPercentageChange: 5
133 sliceanalysisms.initialDelaySeconds: 120000
Niranjanac8359122022-03-10 14:38:02 +0000134 sliceanalysisms.rannfnssiDetailsTemplateId: get-rannfnssiid-details
135 sliceanalysisms.desUrl: http://dl-des:1681/datalake/v1/exposure/pm_data
136 sliceanalysisms.pmDataDurationInWeeks: 4
decheng zhang449c1012022-03-23 12:33:40 -0400137 sliceanalysisms.vesNotifPollingInterval: 15
138 sliceanalysisms.vesNotifChangeIdentifier: PM_BW_UPDATE
139 sliceanalysisms.vesNotifChangeType: BandwidthChanged
140 sliceanalysisms.aaiNotif.targetAction: UPDATE
141 sliceanalysisms.aaiNotif.targetSource: UUI
142 sliceanalysisms.aaiNotif.targetEntity: service-instance
Vijay Venkatesh Kumar9b90d412022-09-30 12:17:28 -0400143 sliceanalysisms.ccvpnEvalInterval: 5
144 sliceanalysisms.ccvpnEvalUpperThreshold: 0.8
145 sliceanalysisms.ccvpnEvalLowerThreshold: 0.3
decheng zhang449c1012022-03-23 12:33:40 -0400146 sliceanalysisms.ccvpnEvalPrecision: 100.0
147 sliceanalysisms.ccvpnEvalPeriodicCheckOn: true
148 sliceanalysisms.ccvpnEvalOnDemandCheckOn: true
Vijay Venkatesh Kumar9b90d412022-09-30 12:17:28 -0400149 sliceanalysisms.ccvpnEvalStrategy: FlexibleThresholdStrategy
denilson.l65ce758f82021-05-25 13:54:50 +0000150 streams_publishes:
151 CL_topic:
152 type: message-router
denilson.l65ce758f82021-05-25 13:54:50 +0000153 dmaap_info:
Niranjanac8359122022-03-10 14:38:02 +0000154 topic_url: http://message-router:3904/events/unauthenticated.DCAE_CL_OUTPUT
denilson.l65ce758f82021-05-25 13:54:50 +0000155 streams_subscribes:
156 performance_management_topic:
157 type: message-router
denilson.l65ce758f82021-05-25 13:54:50 +0000158 dmaap_info:
Niranjanac8359122022-03-10 14:38:02 +0000159 topic_url: http://message-router:3904/events/unauthenticated.PERFORMANCE_MEASUREMENTS
denilson.l65ce758f82021-05-25 13:54:50 +0000160 intelligent_slicing_topic:
161 type: message-router
denilson.l65ce758f82021-05-25 13:54:50 +0000162 dmaap_info:
Niranjanac8359122022-03-10 14:38:02 +0000163 topic_url: http://message-router:3904/events/unauthenticated.ML_RESPONSE_TOPIC
denilson.l65ce758f82021-05-25 13:54:50 +0000164 dcae_cl_response_topic:
165 type: message-router
denilson.l65ce758f82021-05-25 13:54:50 +0000166 dmaap_info:
Niranjanac8359122022-03-10 14:38:02 +0000167 topic_url: http://message-router:3904/events/DCAE_CL_RSP
decheng zhang449c1012022-03-23 12:33:40 -0400168 ves_ccvpn_notification_topic:
169 type: message-router
170 dmaap_info:
171 topic_url: http://message-router:3904/events/unauthenticated.VES_NOTIFICATION_OUTPUT
172 aai_subscriber:
173 type: message-router
174 servers : ["message-router:3904"]
175 consumer_group: dcae_ccvpn_cl
176 consumer_instance: dcae_ccvpn_cl_aaievent
177 fetch_timeout: 15000
178 fetch_limit: 100
179 dmaap_info:
180 topic_url: http://message-router:3904/events/AAI-EVENT
denilson.l65ce758f82021-05-25 13:54:50 +0000181
182applicationEnv:
rope2525a7fbee2022-07-25 20:00:36 +0100183 CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml'
184 #Temporary Dummy CBS Port Value until internal SDK library is updated
185 CONFIG_BINDING_SERVICE_SERVICE_PORT: '0000'
denilson.l65ce758f82021-05-25 13:54:50 +0000186 STANDALONE: 'false'
187
188# Resource Limit Flavor -By Default Using Small
189flavor: small
190# Segregation for Different Environment (Small and Large)
191resources:
192 small:
193 limits:
194 cpu: 1
195 memory: 1Gi
196 requests:
197 cpu: 1
198 memory: 1Gi
199 large:
200 limits:
201 cpu: 2
202 memory: 2Gi
203 requests:
204 cpu: 2
205 memory: 2Gi
206 unlimited: {}
207
208#################################################################
209# Application configuration Overriding Defaults in the Postgres.
210#################################################################
211postgres:
212 nameOverride: *postgresName
213 service:
214 name: *postgresName
215 name2: dcae-sliceanalysisms-pg-primary
216 name3: dcae-sliceanalysisms-pg-replica
217 container:
218 name:
219 primary: dcae-sliceanalysisms-pg-primary
220 replica: dcae-sliceanalysisms-pg-replica
221 persistence:
222 mountSubPath: sliceanalysisms/data
223 mountInitPath: sliceanalysisms
224 config:
225 pgUserName: sliceanalysisms
226 pgDatabase: sliceanalysisms
227 pgUserExternalSecret: *pgUserCredsSecretName
farida azmycb03ac72021-09-12 16:14:12 +0200228
229#Pods Service Account
230serviceAccount:
231 nameOverride: dcae-slice-analysis-ms
232 roles:
233 - read