blob: e57c781ed5642da1e87b3a4c8cb62b3ec0858e60 [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.
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:
denilson.l65ce758f82021-05-25 13:54:50 +000039 - uid: &pgUserCredsSecretUid pg-user-creds
40 name: &pgUserCredsSecretName '{{ include "common.release" . }}-sliceanalysisms-pg-user-creds'
41 type: basicAuth
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
46
denilson.l65ce758f82021-05-25 13:54:50 +000047#################################################################
48# Application Configuration Defaults.
49#################################################################
50# Application Image
Vijay Venkatesh Kumar9b90d412022-09-30 12:17:28 -040051repository: nexus3.onap.org:10001
52image: onap/org.onap.dcaegen2.services.components.slice-analysis-ms:1.1.5
qingshutingba86c112022-08-04 11:49:23 +080053pullPolicy: IfNotPresent
54
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"
62
Vijay Venkatesh Kumar9b90d412022-09-30 12:17:28 -040063#dcaePolicySyncImage: onap/org.onap.dcaegen2.deployments.dcae-services-policy-sync:1.0.1
64#pullPolicy: IfNotPresent
65#policies:
qingshutingba86c112022-08-04 11:49:23 +080066# duration:
Vijay Venkatesh Kumar9b90d412022-09-30 12:17:28 -040067# 10
qingshutingba86c112022-08-04 11:49:23 +080068# policyID: |
69# '["onap.dcae.slicems.config"]'
denilson.l65ce758f82021-05-25 13:54:50 +000070
71# Log directory where logging sidecar should look for log files
Maciej Wereski7000a7c2021-12-16 12:24:06 +010072# if path is set to null sidecar won't be deployed in spite of
73# global.centralizedLoggingEnabled setting.
74log:
75 path: /var/log/ONAP/dcaegen2/services/sliceanalysisms
76logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
denilson.l65ce758f82021-05-25 13:54:50 +000077
denilson.l65ce758f82021-05-25 13:54:50 +000078# Dependencies
79readinessCheck:
80 wait_for:
denilson.l65ce758f82021-05-25 13:54:50 +000081 - &postgresName dcae-sliceanalysisms-postgres
rope2525a7fbee2022-07-25 20:00:36 +010082 - message-router
denilson.l65ce758f82021-05-25 13:54:50 +000083
84# Probe Configuration
85readiness:
86 initialDelaySeconds: 60
87 periodSeconds: 15
88 timeoutSeconds: 1
89 path: /healthcheck
90 scheme: HTTP
91 port: 8080
92
93# Service Configuration
94service:
95 type: ClusterIP
96 name: dcae-slice-analysis-ms
97 ports:
rope2525a7fbee2022-07-25 20:00:36 +010098 - name: http
denilson.l65ce758f82021-05-25 13:54:50 +000099 port: 8080
100 port_protocol: http
101
denilson.l65ce758f82021-05-25 13:54:50 +0000102credentials:
denilson.l65ce758f82021-05-25 13:54:50 +0000103- name: PG_USERNAME
104 uid: *pgUserCredsSecretUid
105 key: login
106- name: PG_PASSWORD
107 uid: *pgUserCredsSecretUid
108 key: password
109
110# Initial Application Configuration
111applicationConfig:
denilson.l65ce758f82021-05-25 13:54:50 +0000112 postgres.host: dcae-sliceanalysisms-pg-primary
113 postgres.port: 5432
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
rope2525a7fbee2022-07-25 20:00:36 +0100128 sliceanalysisms.aai.url: http://aai-internal.onap.svc.cluster.local:80/aai/v21
129 sliceanalysisms.cps.url: http://cps:8080
denilson.l65ce758f82021-05-25 13:54:50 +0000130 sliceanalysisms.samples: 3
131 sliceanalysisms.minPercentageChange: 5
132 sliceanalysisms.initialDelaySeconds: 120000
Niranjanac8359122022-03-10 14:38:02 +0000133 sliceanalysisms.rannfnssiDetailsTemplateId: get-rannfnssiid-details
134 sliceanalysisms.desUrl: http://dl-des:1681/datalake/v1/exposure/pm_data
135 sliceanalysisms.pmDataDurationInWeeks: 4
decheng zhang449c1012022-03-23 12:33:40 -0400136 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
Vijay Venkatesh Kumar9b90d412022-09-30 12:17:28 -0400142 sliceanalysisms.ccvpnEvalInterval: 5
143 sliceanalysisms.ccvpnEvalUpperThreshold: 0.8
144 sliceanalysisms.ccvpnEvalLowerThreshold: 0.3
decheng zhang449c1012022-03-23 12:33:40 -0400145 sliceanalysisms.ccvpnEvalPrecision: 100.0
146 sliceanalysisms.ccvpnEvalPeriodicCheckOn: true
147 sliceanalysisms.ccvpnEvalOnDemandCheckOn: true
Vijay Venkatesh Kumar9b90d412022-09-30 12:17:28 -0400148 sliceanalysisms.ccvpnEvalStrategy: FlexibleThresholdStrategy
denilson.l65ce758f82021-05-25 13:54:50 +0000149 streams_publishes:
150 CL_topic:
151 type: message-router
denilson.l65ce758f82021-05-25 13:54:50 +0000152 dmaap_info:
Niranjanac8359122022-03-10 14:38:02 +0000153 topic_url: http://message-router:3904/events/unauthenticated.DCAE_CL_OUTPUT
denilson.l65ce758f82021-05-25 13:54:50 +0000154 streams_subscribes:
155 performance_management_topic:
156 type: message-router
denilson.l65ce758f82021-05-25 13:54:50 +0000157 dmaap_info:
Niranjanac8359122022-03-10 14:38:02 +0000158 topic_url: http://message-router:3904/events/unauthenticated.PERFORMANCE_MEASUREMENTS
denilson.l65ce758f82021-05-25 13:54:50 +0000159 intelligent_slicing_topic:
160 type: message-router
denilson.l65ce758f82021-05-25 13:54:50 +0000161 dmaap_info:
Niranjanac8359122022-03-10 14:38:02 +0000162 topic_url: http://message-router:3904/events/unauthenticated.ML_RESPONSE_TOPIC
denilson.l65ce758f82021-05-25 13:54:50 +0000163 dcae_cl_response_topic:
164 type: message-router
denilson.l65ce758f82021-05-25 13:54:50 +0000165 dmaap_info:
Niranjanac8359122022-03-10 14:38:02 +0000166 topic_url: http://message-router:3904/events/DCAE_CL_RSP
decheng zhang449c1012022-03-23 12:33:40 -0400167 ves_ccvpn_notification_topic:
168 type: message-router
169 dmaap_info:
170 topic_url: http://message-router:3904/events/unauthenticated.VES_NOTIFICATION_OUTPUT
171 aai_subscriber:
172 type: message-router
173 servers : ["message-router:3904"]
174 consumer_group: dcae_ccvpn_cl
175 consumer_instance: dcae_ccvpn_cl_aaievent
176 fetch_timeout: 15000
177 fetch_limit: 100
178 dmaap_info:
179 topic_url: http://message-router:3904/events/AAI-EVENT
denilson.l65ce758f82021-05-25 13:54:50 +0000180
181applicationEnv:
rope2525a7fbee2022-07-25 20:00:36 +0100182 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'
denilson.l65ce758f82021-05-25 13:54:50 +0000185 STANDALONE: 'false'
186
187# Resource Limit Flavor -By Default Using Small
188flavor: small
189# Segregation for Different Environment (Small and Large)
190resources:
191 small:
192 limits:
193 cpu: 1
194 memory: 1Gi
195 requests:
196 cpu: 1
197 memory: 1Gi
198 large:
199 limits:
200 cpu: 2
201 memory: 2Gi
202 requests:
203 cpu: 2
204 memory: 2Gi
205 unlimited: {}
206
207#################################################################
208# Application configuration Overriding Defaults in the Postgres.
209#################################################################
210postgres:
211 nameOverride: *postgresName
212 service:
213 name: *postgresName
214 name2: dcae-sliceanalysisms-pg-primary
215 name3: dcae-sliceanalysisms-pg-replica
216 container:
217 name:
218 primary: dcae-sliceanalysisms-pg-primary
219 replica: dcae-sliceanalysisms-pg-replica
220 persistence:
221 mountSubPath: sliceanalysisms/data
222 mountInitPath: sliceanalysisms
223 config:
224 pgUserName: sliceanalysisms
225 pgDatabase: sliceanalysisms
226 pgUserExternalSecret: *pgUserCredsSecretName
farida azmycb03ac72021-09-12 16:14:12 +0200227
228#Pods Service Account
229serviceAccount:
230 nameOverride: dcae-slice-analysis-ms
231 roles:
232 - read