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