blob: 6ee1a491afeaa9caf6338495b6ced3d28de0415b [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#################################
qingshutingba86c112022-08-04 11:49:23 +080053# 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
malar4e1a71f2022-05-12 14:39:31 +000061image: onap/org.onap.dcaegen2.services.components.slice-analysis-ms:1.1.3
qingshutingba86c112022-08-04 11:49:23 +080062pullPolicy: IfNotPresent
63
64#################################################################
65# Policy Sync Container Image.
66#################################################################
67# optional Policy configuration properties
68# if present, policy-sync side car will be deployed
69# policy sync is used for provide runtime configuration for slicems
70# policy id is originally set to "onap.dcae.slicems.config"
71
72# dcaePolicySyncImage: onap/org.onap.dcaegen2.deployments.dcae-services-policy-sync:1.0.1
73# policies:
74# duration:
75# 300
76# policyID: |
77# '["onap.dcae.slicems.config"]'
denilson.l65ce758f82021-05-25 13:54:50 +000078
79# Log directory where logging sidecar should look for log files
Maciej Wereski7000a7c2021-12-16 12:24:06 +010080# if path is set to null sidecar won't be deployed in spite of
81# global.centralizedLoggingEnabled setting.
82log:
83 path: /var/log/ONAP/dcaegen2/services/sliceanalysisms
84logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
denilson.l65ce758f82021-05-25 13:54:50 +000085
86# Directory where TLS certs should be stored
87# if absent, no certs will be retrieved and stored
88certDirectory: /opt/app/sliceanalysisms/etc/cert/
89
90# TLS role -- set to true if microservice acts as server
91# If true, an init container will retrieve a server cert
92# and key from AAF and mount them in certDirectory.
93tlsServer: true
94
95# Dependencies
96readinessCheck:
97 wait_for:
denilson.l65ce758f82021-05-25 13:54:50 +000098 - aaf-cm
99 - &postgresName dcae-sliceanalysisms-postgres
100
101# Probe Configuration
102readiness:
103 initialDelaySeconds: 60
104 periodSeconds: 15
105 timeoutSeconds: 1
106 path: /healthcheck
107 scheme: HTTP
108 port: 8080
109
110# Service Configuration
111service:
112 type: ClusterIP
113 name: dcae-slice-analysis-ms
114 ports:
115 - name: https
116 port: 8080
117 port_protocol: http
118
119# AAF Credentials
120aafCreds:
121 identity: dcae@dcae.onap.org
122 password: demo123456!
123
124credentials:
125- name: AAF_IDENTITY
126 uid: *aafCredsUID
127 key: login
128- name: AAF_PASSWORD
129 uid: *aafCredsUID
130 key: password
131- name: PG_USERNAME
132 uid: *pgUserCredsSecretUid
133 key: login
134- name: PG_PASSWORD
135 uid: *pgUserCredsSecretUid
136 key: password
137
138# Initial Application Configuration
139applicationConfig:
denilson.l65ce758f82021-05-25 13:54:50 +0000140 postgres.host: dcae-sliceanalysisms-pg-primary
141 postgres.port: 5432
142 postgres.username: ${PG_USERNAME}
143 postgres.password: ${PG_PASSWORD}
144 trust_store_path: /opt/app/sliceanalysisms/etc/cert/trust.jks
145 trust_store_pass_path: /opt/app/sliceanalysisms/etc/cert/trust.pass
146 sliceanalysisms.pollingInterval: 20
147 sliceanalysisms.pollingTimeout: 60
148 cbsPollingInterval: 60
149 sliceanalysisms.namespace: onap
150 sliceanalysisms.dmaap.server: ["message-router"]
151 sliceanalysisms.bufferTime: 60
152 sliceanalysisms.cg: sliceanalysisms-cg
153 sliceanalysisms.cid: sliceanalysisms-cid
154 sliceanalysisms.configDb.service: http://config-db:8080
155 sliceanalysisms.configDbEnabled: true
156 sliceanalysisms.aai.url: https://aai.onap.svc.cluster.local:8443/aai/v21
157 sliceanalysisms.cps.url: https://cps:8088
158 sliceanalysisms.samples: 3
159 sliceanalysisms.minPercentageChange: 5
160 sliceanalysisms.initialDelaySeconds: 120000
Niranjanac8359122022-03-10 14:38:02 +0000161 sliceanalysisms.rannfnssiDetailsTemplateId: get-rannfnssiid-details
162 sliceanalysisms.desUrl: http://dl-des:1681/datalake/v1/exposure/pm_data
163 sliceanalysisms.pmDataDurationInWeeks: 4
decheng zhang449c1012022-03-23 12:33:40 -0400164 sliceanalysisms.vesNotifPollingInterval: 15
165 sliceanalysisms.vesNotifChangeIdentifier: PM_BW_UPDATE
166 sliceanalysisms.vesNotifChangeType: BandwidthChanged
167 sliceanalysisms.aaiNotif.targetAction: UPDATE
168 sliceanalysisms.aaiNotif.targetSource: UUI
169 sliceanalysisms.aaiNotif.targetEntity: service-instance
170 sliceanalysisms.ccvpnEvalInterval: 15
171 sliceanalysisms.ccvpnEvalThreshold: 0.8
172 sliceanalysisms.ccvpnEvalPrecision: 100.0
173 sliceanalysisms.ccvpnEvalPeriodicCheckOn: true
174 sliceanalysisms.ccvpnEvalOnDemandCheckOn: true
denilson.l65ce758f82021-05-25 13:54:50 +0000175 streams_publishes:
176 CL_topic:
177 type: message-router
denilson.l65ce758f82021-05-25 13:54:50 +0000178 dmaap_info:
Niranjanac8359122022-03-10 14:38:02 +0000179 topic_url: http://message-router:3904/events/unauthenticated.DCAE_CL_OUTPUT
denilson.l65ce758f82021-05-25 13:54:50 +0000180 streams_subscribes:
181 performance_management_topic:
182 type: message-router
denilson.l65ce758f82021-05-25 13:54:50 +0000183 dmaap_info:
Niranjanac8359122022-03-10 14:38:02 +0000184 topic_url: http://message-router:3904/events/unauthenticated.PERFORMANCE_MEASUREMENTS
denilson.l65ce758f82021-05-25 13:54:50 +0000185 intelligent_slicing_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.ML_RESPONSE_TOPIC
denilson.l65ce758f82021-05-25 13:54:50 +0000189 dcae_cl_response_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/DCAE_CL_RSP
decheng zhang449c1012022-03-23 12:33:40 -0400193 ves_ccvpn_notification_topic:
194 type: message-router
195 dmaap_info:
196 topic_url: http://message-router:3904/events/unauthenticated.VES_NOTIFICATION_OUTPUT
197 aai_subscriber:
198 type: message-router
199 servers : ["message-router:3904"]
200 consumer_group: dcae_ccvpn_cl
201 consumer_instance: dcae_ccvpn_cl_aaievent
202 fetch_timeout: 15000
203 fetch_limit: 100
204 dmaap_info:
205 topic_url: http://message-router:3904/events/AAI-EVENT
denilson.l65ce758f82021-05-25 13:54:50 +0000206
207applicationEnv:
208 STANDALONE: 'false'
209
210# Resource Limit Flavor -By Default Using Small
211flavor: small
212# Segregation for Different Environment (Small and Large)
213resources:
214 small:
215 limits:
216 cpu: 1
217 memory: 1Gi
218 requests:
219 cpu: 1
220 memory: 1Gi
221 large:
222 limits:
223 cpu: 2
224 memory: 2Gi
225 requests:
226 cpu: 2
227 memory: 2Gi
228 unlimited: {}
229
230#################################################################
231# Application configuration Overriding Defaults in the Postgres.
232#################################################################
233postgres:
234 nameOverride: *postgresName
235 service:
236 name: *postgresName
237 name2: dcae-sliceanalysisms-pg-primary
238 name3: dcae-sliceanalysisms-pg-replica
239 container:
240 name:
241 primary: dcae-sliceanalysisms-pg-primary
242 replica: dcae-sliceanalysisms-pg-replica
243 persistence:
244 mountSubPath: sliceanalysisms/data
245 mountInitPath: sliceanalysisms
246 config:
247 pgUserName: sliceanalysisms
248 pgDatabase: sliceanalysisms
249 pgUserExternalSecret: *pgUserCredsSecretName
farida azmycb03ac72021-09-12 16:14:12 +0200250
251#Pods Service Account
252serviceAccount:
253 nameOverride: dcae-slice-analysis-ms
254 roles:
255 - read