[DCAE] Remove references to AAF
[oom.git] / kubernetes / dcaegen2-services / components / dcae-slice-analysis-ms / values.yaml
1 # ============= LICENSE_START ================================================
2 # ============================================================================
3 # Copyright (C) 2021-2022 Wipro Limited.
4 # Copyright (c) 2022-2023 J. F. Lucas. All rights reserved.
5 # Copyright (C) 2022 Huawei Canada Limited.
6 # ============================================================================
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 #################################################################
23 global:
24   nodePortPrefix: 302
25   nodePortPrefixExt: 304
26   centralizedLoggingEnabled: true
27
28 #################################################################
29 # Filebeat Configuration Defaults.
30 #################################################################
31 filebeatConfig:
32   logstashServiceName: log-ls
33   logstashPort: 5044
34
35 #################################################################
36 # Secrets Configuration.
37 #################################################################
38 secrets:
39   - 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
47 #################################################################
48 # Application Configuration Defaults.
49 #################################################################
50 # Application Image
51 repository: nexus3.onap.org:10001
52 image: onap/org.onap.dcaegen2.services.components.slice-analysis-ms:1.1.5
53 pullPolicy: 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
63 #dcaePolicySyncImage: onap/org.onap.dcaegen2.deployments.dcae-services-policy-sync:1.0.1
64 #pullPolicy: IfNotPresent
65 #policies:
66 #  duration:
67 #          10
68 #  policyID: |
69 #    '["onap.dcae.slicems.config"]'
70
71 # Log directory where logging sidecar should look for log files
72 # if path is set to null sidecar won't be deployed in spite of
73 # global.centralizedLoggingEnabled setting.
74 log:
75   path: /var/log/ONAP/dcaegen2/services/sliceanalysisms
76 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
77
78 # Dependencies
79 readinessCheck:
80   wait_for:
81     - &postgresName dcae-sliceanalysisms-postgres
82     - message-router
83
84 # Probe Configuration
85 readiness:
86   initialDelaySeconds: 60
87   periodSeconds: 15
88   timeoutSeconds: 1
89   path: /healthcheck
90   scheme: HTTP
91   port: 8080
92
93 # Service Configuration
94 service:
95   type: ClusterIP
96   name: dcae-slice-analysis-ms
97   ports:
98     - name: http
99       port: 8080
100       port_protocol: http
101
102 credentials:
103 - name: PG_USERNAME
104   uid:  *pgUserCredsSecretUid
105   key: login
106 - name: PG_PASSWORD
107   uid: *pgUserCredsSecretUid
108   key: password
109
110 # Initial Application Configuration
111 applicationConfig:
112   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
128   sliceanalysisms.aai.url: http://aai-internal.onap.svc.cluster.local:80/aai/v21
129   sliceanalysisms.cps.url: http://cps:8080
130   sliceanalysisms.samples: 3
131   sliceanalysisms.minPercentageChange: 5
132   sliceanalysisms.initialDelaySeconds: 120000
133   sliceanalysisms.rannfnssiDetailsTemplateId: get-rannfnssiid-details
134   sliceanalysisms.desUrl: http://dl-des:1681/datalake/v1/exposure/pm_data
135   sliceanalysisms.pmDataDurationInWeeks: 4
136   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
142   sliceanalysisms.ccvpnEvalInterval: 5
143   sliceanalysisms.ccvpnEvalUpperThreshold: 0.8
144   sliceanalysisms.ccvpnEvalLowerThreshold: 0.3
145   sliceanalysisms.ccvpnEvalPrecision: 100.0
146   sliceanalysisms.ccvpnEvalPeriodicCheckOn: true
147   sliceanalysisms.ccvpnEvalOnDemandCheckOn: true
148   sliceanalysisms.ccvpnEvalStrategy: FlexibleThresholdStrategy
149   streams_publishes:
150     CL_topic:
151       type: message-router
152       dmaap_info:
153         topic_url: http://message-router:3904/events/unauthenticated.DCAE_CL_OUTPUT
154   streams_subscribes:
155     performance_management_topic:
156       type: message-router
157       dmaap_info:
158         topic_url: http://message-router:3904/events/unauthenticated.PERFORMANCE_MEASUREMENTS
159     intelligent_slicing_topic:
160       type: message-router
161       dmaap_info:
162         topic_url: http://message-router:3904/events/unauthenticated.ML_RESPONSE_TOPIC
163     dcae_cl_response_topic:
164       type: message-router
165       dmaap_info:
166         topic_url: http://message-router:3904/events/DCAE_CL_RSP
167     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
180
181 applicationEnv:
182   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'
185   STANDALONE: 'false'
186
187 # Resource Limit Flavor -By Default Using Small
188 flavor: small
189 # Segregation for Different Environment (Small and Large)
190 resources:
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 #################################################################
210 postgres:
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
227
228 #Pods Service Account
229 serviceAccount:
230   nameOverride: dcae-slice-analysis-ms
231   roles:
232     - read