blob: 31007f2ddebaaeeb4d0dced75ac8240fc31a54ac [file] [log] [blame]
Jack Lucasd41dbdb2021-02-16 11:07:28 -05001#============LICENSE_START========================================================
2# ================================================================================
3# Copyright (c) 2021 J. F. Lucas. All rights reserved.
Remigiusz Janeczek9b00b562021-04-26 14:37:57 +02004# Copyright (c) 2021 Nokia. All rights reserved.
Jack Lucasd41dbdb2021-02-16 11:07:28 -05005# ================================================================================
6# Licensed under the Apache License, Version 2.0 (the "License");
7# you may not use this file except in compliance with the License.
8# You may obtain a copy of the License at
9#
10# http://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing, software
13# distributed under the License is distributed on an "AS IS" BASIS,
14# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15# See the License for the specific language governing permissions and
16# limitations under the License.
17# ============LICENSE_END=========================================================
18
19#################################################################
20# Global configuration defaults.
21#################################################################
22global:
23 nodePortPrefix: 302
24 nodePortPrefixExt: 304
25
26#################################################################
27# Filebeat configuration defaults.
28#################################################################
29filebeatConfig:
30 logstashServiceName: log-ls
31 logstashPort: 5044
32
33#################################################################
34# initContainer images.
35#################################################################
36tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
Jack Lucasd263e692021-08-16 16:02:23 -040037consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.1
Piotr Marcinkiewicz31dceea2021-06-29 16:15:49 +020038certPostProcessorImage: onap/org.onap.oom.platform.cert-service.oom-certservice-post-processor:2.4.0
Jack Lucasd41dbdb2021-02-16 11:07:28 -050039
40#################################################################
41# Application configuration defaults.
42#################################################################
43# application image
Piotr Marcinkiewicz3a9b9942021-08-31 08:56:43 +020044image: onap/org.onap.dcaegen2.collectors.ves.vescollector:1.10.1
Jack Lucasd41dbdb2021-02-16 11:07:28 -050045pullPolicy: Always
46
47# log directory where logging sidecar should look for log files
48# if absent, no sidecar will be deployed
49logDirectory: /opt/app/VESCollector/logs
50
51# directory where TLS certs should be stored
52# if absent, no certs will be retrieved and stored
53certDirectory: /opt/app/dcae-certificate
54
55# TLS role -- set to true if microservice acts as server
56# If true, an init container will retrieve a server cert
57# and key from AAF and mount them in certDirectory.
58tlsServer: true
59
Remigiusz Janeczek9b00b562021-04-26 14:37:57 +020060# CMPv2 certificate
Remigiusz Janeczek7b095032021-05-20 19:39:44 +020061# It is used only when:
62# - certDirectory is set
63# - global cmpv2Enabled flag is set to true
Remigiusz Janeczek7b095032021-05-20 19:39:44 +020064# - flag useCmpv2Certificates is set to true
Piotr Marcinkiewicz70625182021-04-29 17:02:37 +020065# Disabled by default
Remigiusz Janeczek7b095032021-05-20 19:39:44 +020066useCmpv2Certificates: false
Remigiusz Janeczek9b00b562021-04-26 14:37:57 +020067certificates:
68 - mountPath: /opt/app/dcae-certificate/external
69 commonName: dcae-ves-collector
70 dnsNames:
71 - dcae-ves-collector
72 - ves-collector
73 - ves
74 keystore:
75 outputType:
76 - jks
77 passwordSecretRef:
78 name: ves-cmpv2-keystore-password
79 key: password
80 create: true
81
Jack Lucasd41dbdb2021-02-16 11:07:28 -050082# dependencies
83readinessCheck:
84 wait_for:
85 - dcae-config-binding-service
86 - aaf-cm
87
88# probe configuration
89 initialDelaySeconds: 5
90 periodSeconds: 15
91 path: /healthcheck
92 scheme: HTTP
93 port: 8080
94
95# service configuration
96service:
97 type: NodePort
98 name: dcae-ves-collector
99 ports:
100 - name: http
101 port: 8443
102 plain_port: 8080
103 port_protocol: http
104 nodePort: 17
105 useNodePortExt: true
106
Piotr Marcinkiewicz3a9b9942021-08-31 08:56:43 +0200107# application environments
108applicationEnv:
109 CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml'
Vijay Venkatesh Kumar5e138112021-12-14 11:41:36 -0500110 LOG4J_FORMAT_MSG_NO_LOOKUPS: 'true'
Piotr Marcinkiewicz3a9b9942021-08-31 08:56:43 +0200111
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500112# initial application configuration
113applicationConfig:
114 collector.dmaap.streamid: fault=ves-fault|syslog=ves-syslog|heartbeat=ves-heartbeat|measurement=ves-measurement|measurementsForVfScaling=ves-measurement|mobileFlow=ves-mobileflow|other=ves-other|stateChange=ves-statechange|thresholdCrossingAlert=ves-thresholdCrossingAlert|voiceQuality=ves-voicequality|sipSignaling=ves-sipsignaling|notification=ves-notification|pnfRegistration=ves-pnfRegistration|3GPP-FaultSupervision=ves-3gpp-fault-supervision|3GPP-Heartbeat=ves-3gpp-heartbeat|3GPP-Provisioning=ves-3gpp-provisioning|3GPP-PerformanceAssurance=ves-3gpp-performance-assurance
115 collector.inputQueue.maxPending: "8096"
116 collector.keystore.file.location: /opt/app/dcae-certificate/cert.jks
117 collector.keystore.passwordfile: /opt/app/dcae-certificate/jks.pass
118 collector.truststore.file.location: /opt/app/dcae-certificate/trust.jks
119 collector.truststore.passwordfile: /opt/app/dcae-certificate/trust.pass
120 collector.schema.checkflag: "1"
Remigiusz Janeczeke2bb52d2021-03-24 12:32:41 +0100121 collector.schema.file: "{\"v1\":\"./etc/CommonEventFormat_27.2.json\",\"v2\":\"./etc/CommonEventFormat_27.2.json\",\"v3\":\"./etc/CommonEventFormat_27.2.json\",\"v4\":\"./etc/CommonEventFormat_27.2.json\",\"v5\":\"./etc/CommonEventFormat_28.4.1.json\",\"v7\":\"./etc/CommonEventFormat_30.2.1_ONAP.json\"}"
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500122 collector.externalSchema.checkflag: 1
123 collector.externalSchema.schemasLocation: "./etc/externalRepo/"
124 collector.externalSchema.mappingFileLocation: "./etc/externalRepo/schema-map.json"
125 event.externalSchema.schemaRefPath: $.event.stndDefinedFields.schemaReference
126 event.externalSchema.stndDefinedDataPath: $.event.stndDefinedFields.data
127 collector.service.port: "8080"
128 collector.service.secure.port: "8443"
129 event.transform.flag: "0"
130 auth.method: "certBasicAuth"
131 header.authlist: "sample1,$2a$10$0buh.2WeYwN868YMwnNNEuNEAMNYVU9.FSMJGyIKV3dGET/7oGOi6|demouser,$2a$10$1cc.COcqV/d3iT2N7BjPG.S6ZKv2jpb9a5MV.o7lMih/GpjJRX.Ce"
132 services_calls: []
133 streams_publishes:
134 ves-fault:
135 dmaap_info:
136 topic_url:
137 "http://message-router:3904/events/unauthenticated.SEC_FAULT_OUTPUT"
138 type: message_router
139 ves-measurement:
140 dmaap_info:
141 topic_url:
142 "http://message-router:3904/events/unauthenticated.VES_MEASUREMENT_OUTPUT"
143 type: message_router
144 ves-notification:
145 dmaap_info:
146 topic_url:
147 "http://message-router:3904/events/unauthenticated.VES_NOTIFICATION_OUTPUT"
148 type: message_router
149 ves-pnfRegistration:
150 dmaap_info:
151 topic_url:
152 "http://message-router:3904/events/unauthenticated.VES_PNFREG_OUTPUT"
153 type: message_router
154 ves-heartbeat:
155 dmaap_info:
156 topic_url:
157 "http://message-router:3904/events/unauthenticated.SEC_HEARTBEAT_OUTPUT"
158 type: message_router
159 ves-other:
160 dmaap_info:
161 topic_url:
162 "http://message-router:3904/events/unauthenticated.SEC_OTHER_OUTPUT"
163 type: message_router
164 ves-3gpp-fault-supervision:
165 dmaap_info:
166 topic_url:
167 "http://message-router:3904/events/unauthenticated.SEC_3GPP_FAULTSUPERVISION_OUTPUT"
168 type: message_router
169 ves-3gpp-provisioning:
170 dmaap_info:
171 topic_url:
172 "http://message-router:3904/events/unauthenticated.SEC_3GPP_PROVISIONING_OUTPUT"
173 type: message_router
174 ves-3gpp-heartbeat:
175 dmaap_info:
176 topic_url:
177 "http://message-router:3904/events/unauthenticated.SEC_3GPP_HEARTBEAT_OUTPUT"
178 type: message_router
179 ves-3gpp-performance-assurance:
180 dmaap_info:
181 topic_url:
182 "http://message-router:3904/events/unauthenticated.SEC_3GPP_PERFORMANCEASSURANCE_OUTPUT"
183 type: message_router
184 collector.dynamic.config.update.frequency: "5"
185# Resource Limit flavor -By Default using small
186flavor: small
187# Segregation for Different environment (Small and Large)
188resources:
189 small:
190 limits:
191 cpu: 2
192 memory: 2Gi
193 requests:
194 cpu: 1
195 memory: 1Gi
196 large:
197 limits:
198 cpu: 4
199 memory: 4Gi
200 requests:
201 cpu: 2
202 memory: 2Gi
203 unlimited: {}
farida azmycb03ac72021-09-12 16:14:12 +0200204
205#Pods Service Account
206serviceAccount:
207 nameOverride: dcae-ves-collector
208 roles:
209 - read