blob: 34adba7a3ce70a64b23d6a1bf6ba431bbf33b0a8 [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
Remigiusz Janeczek9b00b562021-04-26 14:37:57 +020038certPostProcessorImage: onap/org.onap.oom.platform.cert-service.oom-certservice-post-processor:2.3.3
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'
110
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500111# initial application configuration
112applicationConfig:
113 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
114 collector.inputQueue.maxPending: "8096"
115 collector.keystore.file.location: /opt/app/dcae-certificate/cert.jks
116 collector.keystore.passwordfile: /opt/app/dcae-certificate/jks.pass
117 collector.truststore.file.location: /opt/app/dcae-certificate/trust.jks
118 collector.truststore.passwordfile: /opt/app/dcae-certificate/trust.pass
119 collector.schema.checkflag: "1"
Remigiusz Janeczeke2bb52d2021-03-24 12:32:41 +0100120 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 -0500121 collector.externalSchema.checkflag: 1
122 collector.externalSchema.schemasLocation: "./etc/externalRepo/"
123 collector.externalSchema.mappingFileLocation: "./etc/externalRepo/schema-map.json"
124 event.externalSchema.schemaRefPath: $.event.stndDefinedFields.schemaReference
125 event.externalSchema.stndDefinedDataPath: $.event.stndDefinedFields.data
126 collector.service.port: "8080"
127 collector.service.secure.port: "8443"
128 event.transform.flag: "0"
129 auth.method: "certBasicAuth"
130 header.authlist: "sample1,$2a$10$0buh.2WeYwN868YMwnNNEuNEAMNYVU9.FSMJGyIKV3dGET/7oGOi6|demouser,$2a$10$1cc.COcqV/d3iT2N7BjPG.S6ZKv2jpb9a5MV.o7lMih/GpjJRX.Ce"
131 services_calls: []
132 streams_publishes:
133 ves-fault:
134 dmaap_info:
135 topic_url:
136 "http://message-router:3904/events/unauthenticated.SEC_FAULT_OUTPUT"
137 type: message_router
138 ves-measurement:
139 dmaap_info:
140 topic_url:
141 "http://message-router:3904/events/unauthenticated.VES_MEASUREMENT_OUTPUT"
142 type: message_router
143 ves-notification:
144 dmaap_info:
145 topic_url:
146 "http://message-router:3904/events/unauthenticated.VES_NOTIFICATION_OUTPUT"
147 type: message_router
148 ves-pnfRegistration:
149 dmaap_info:
150 topic_url:
151 "http://message-router:3904/events/unauthenticated.VES_PNFREG_OUTPUT"
152 type: message_router
153 ves-heartbeat:
154 dmaap_info:
155 topic_url:
156 "http://message-router:3904/events/unauthenticated.SEC_HEARTBEAT_OUTPUT"
157 type: message_router
158 ves-other:
159 dmaap_info:
160 topic_url:
161 "http://message-router:3904/events/unauthenticated.SEC_OTHER_OUTPUT"
162 type: message_router
163 ves-3gpp-fault-supervision:
164 dmaap_info:
165 topic_url:
166 "http://message-router:3904/events/unauthenticated.SEC_3GPP_FAULTSUPERVISION_OUTPUT"
167 type: message_router
168 ves-3gpp-provisioning:
169 dmaap_info:
170 topic_url:
171 "http://message-router:3904/events/unauthenticated.SEC_3GPP_PROVISIONING_OUTPUT"
172 type: message_router
173 ves-3gpp-heartbeat:
174 dmaap_info:
175 topic_url:
176 "http://message-router:3904/events/unauthenticated.SEC_3GPP_HEARTBEAT_OUTPUT"
177 type: message_router
178 ves-3gpp-performance-assurance:
179 dmaap_info:
180 topic_url:
181 "http://message-router:3904/events/unauthenticated.SEC_3GPP_PERFORMANCEASSURANCE_OUTPUT"
182 type: message_router
183 collector.dynamic.config.update.frequency: "5"
184# Resource Limit flavor -By Default using small
185flavor: small
186# Segregation for Different environment (Small and Large)
187resources:
188 small:
189 limits:
190 cpu: 2
191 memory: 2Gi
192 requests:
193 cpu: 1
194 memory: 1Gi
195 large:
196 limits:
197 cpu: 4
198 memory: 4Gi
199 requests:
200 cpu: 2
201 memory: 2Gi
202 unlimited: {}