blob: b5959ae765bac703c931d46afaed975a09b52b18 [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#################################
53# InitContainer Images.
54#################################################################
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
denilson.l65ce758f82021-05-25 13:54:50 +000062
63# Log directory where logging sidecar should look for log files
Maciej Wereski7000a7c2021-12-16 12:24:06 +010064# if path is set to null sidecar won't be deployed in spite of
65# global.centralizedLoggingEnabled setting.
66log:
67 path: /var/log/ONAP/dcaegen2/services/sliceanalysisms
68logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
denilson.l65ce758f82021-05-25 13:54:50 +000069
70# Directory where TLS certs should be stored
71# if absent, no certs will be retrieved and stored
72certDirectory: /opt/app/sliceanalysisms/etc/cert/
73
74# TLS role -- set to true if microservice acts as server
75# If true, an init container will retrieve a server cert
76# and key from AAF and mount them in certDirectory.
77tlsServer: true
78
79# Dependencies
80readinessCheck:
81 wait_for:
denilson.l65ce758f82021-05-25 13:54:50 +000082 - aaf-cm
83 - &postgresName dcae-sliceanalysisms-postgres
84
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:
99 - name: https
100 port: 8080
101 port_protocol: http
102
103# AAF Credentials
104aafCreds:
105 identity: dcae@dcae.onap.org
106 password: demo123456!
107
108credentials:
109- name: AAF_IDENTITY
110 uid: *aafCredsUID
111 key: login
112- name: AAF_PASSWORD
113 uid: *aafCredsUID
114 key: password
115- name: PG_USERNAME
116 uid: *pgUserCredsSecretUid
117 key: login
118- name: PG_PASSWORD
119 uid: *pgUserCredsSecretUid
120 key: password
121
122# Initial Application Configuration
123applicationConfig:
denilson.l65ce758f82021-05-25 13:54:50 +0000124 postgres.host: dcae-sliceanalysisms-pg-primary
125 postgres.port: 5432
126 postgres.username: ${PG_USERNAME}
127 postgres.password: ${PG_PASSWORD}
128 trust_store_path: /opt/app/sliceanalysisms/etc/cert/trust.jks
129 trust_store_pass_path: /opt/app/sliceanalysisms/etc/cert/trust.pass
130 sliceanalysisms.pollingInterval: 20
131 sliceanalysisms.pollingTimeout: 60
132 cbsPollingInterval: 60
133 sliceanalysisms.namespace: onap
134 sliceanalysisms.dmaap.server: ["message-router"]
135 sliceanalysisms.bufferTime: 60
136 sliceanalysisms.cg: sliceanalysisms-cg
137 sliceanalysisms.cid: sliceanalysisms-cid
138 sliceanalysisms.configDb.service: http://config-db:8080
139 sliceanalysisms.configDbEnabled: true
140 sliceanalysisms.aai.url: https://aai.onap.svc.cluster.local:8443/aai/v21
141 sliceanalysisms.cps.url: https://cps:8088
142 sliceanalysisms.samples: 3
143 sliceanalysisms.minPercentageChange: 5
144 sliceanalysisms.initialDelaySeconds: 120000
Niranjanac8359122022-03-10 14:38:02 +0000145 sliceanalysisms.rannfnssiDetailsTemplateId: get-rannfnssiid-details
146 sliceanalysisms.desUrl: http://dl-des:1681/datalake/v1/exposure/pm_data
147 sliceanalysisms.pmDataDurationInWeeks: 4
decheng zhang449c1012022-03-23 12:33:40 -0400148 sliceanalysisms.vesNotifPollingInterval: 15
149 sliceanalysisms.vesNotifChangeIdentifier: PM_BW_UPDATE
150 sliceanalysisms.vesNotifChangeType: BandwidthChanged
151 sliceanalysisms.aaiNotif.targetAction: UPDATE
152 sliceanalysisms.aaiNotif.targetSource: UUI
153 sliceanalysisms.aaiNotif.targetEntity: service-instance
154 sliceanalysisms.ccvpnEvalInterval: 15
155 sliceanalysisms.ccvpnEvalThreshold: 0.8
156 sliceanalysisms.ccvpnEvalPrecision: 100.0
157 sliceanalysisms.ccvpnEvalPeriodicCheckOn: true
158 sliceanalysisms.ccvpnEvalOnDemandCheckOn: true
denilson.l65ce758f82021-05-25 13:54:50 +0000159 streams_publishes:
160 CL_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.DCAE_CL_OUTPUT
denilson.l65ce758f82021-05-25 13:54:50 +0000164 streams_subscribes:
165 performance_management_topic:
166 type: message-router
denilson.l65ce758f82021-05-25 13:54:50 +0000167 dmaap_info:
Niranjanac8359122022-03-10 14:38:02 +0000168 topic_url: http://message-router:3904/events/unauthenticated.PERFORMANCE_MEASUREMENTS
denilson.l65ce758f82021-05-25 13:54:50 +0000169 intelligent_slicing_topic:
170 type: message-router
denilson.l65ce758f82021-05-25 13:54:50 +0000171 dmaap_info:
Niranjanac8359122022-03-10 14:38:02 +0000172 topic_url: http://message-router:3904/events/unauthenticated.ML_RESPONSE_TOPIC
denilson.l65ce758f82021-05-25 13:54:50 +0000173 dcae_cl_response_topic:
174 type: message-router
denilson.l65ce758f82021-05-25 13:54:50 +0000175 dmaap_info:
Niranjanac8359122022-03-10 14:38:02 +0000176 topic_url: http://message-router:3904/events/DCAE_CL_RSP
decheng zhang449c1012022-03-23 12:33:40 -0400177 ves_ccvpn_notification_topic:
178 type: message-router
179 dmaap_info:
180 topic_url: http://message-router:3904/events/unauthenticated.VES_NOTIFICATION_OUTPUT
181 aai_subscriber:
182 type: message-router
183 servers : ["message-router:3904"]
184 consumer_group: dcae_ccvpn_cl
185 consumer_instance: dcae_ccvpn_cl_aaievent
186 fetch_timeout: 15000
187 fetch_limit: 100
188 dmaap_info:
189 topic_url: http://message-router:3904/events/AAI-EVENT
denilson.l65ce758f82021-05-25 13:54:50 +0000190
191applicationEnv:
192 STANDALONE: 'false'
193
194# Resource Limit Flavor -By Default Using Small
195flavor: small
196# Segregation for Different Environment (Small and Large)
197resources:
198 small:
199 limits:
200 cpu: 1
201 memory: 1Gi
202 requests:
203 cpu: 1
204 memory: 1Gi
205 large:
206 limits:
207 cpu: 2
208 memory: 2Gi
209 requests:
210 cpu: 2
211 memory: 2Gi
212 unlimited: {}
213
214#################################################################
215# Application configuration Overriding Defaults in the Postgres.
216#################################################################
217postgres:
218 nameOverride: *postgresName
219 service:
220 name: *postgresName
221 name2: dcae-sliceanalysisms-pg-primary
222 name3: dcae-sliceanalysisms-pg-replica
223 container:
224 name:
225 primary: dcae-sliceanalysisms-pg-primary
226 replica: dcae-sliceanalysisms-pg-replica
227 persistence:
228 mountSubPath: sliceanalysisms/data
229 mountInitPath: sliceanalysisms
230 config:
231 pgUserName: sliceanalysisms
232 pgDatabase: sliceanalysisms
233 pgUserExternalSecret: *pgUserCredsSecretName
farida azmycb03ac72021-09-12 16:14:12 +0200234
235#Pods Service Account
236serviceAccount:
237 nameOverride: dcae-slice-analysis-ms
238 roles:
239 - read