blob: 211979d48c6f4fa078115c071e28cbbc6b6ac1ec [file] [log] [blame]
Gary Wu9abb61c2018-09-27 10:38:50 -07001###############################################################################
2##
3## Collector Server config
4##
5## - Default values are shown as commented settings.
6##
7###############################################################################
8##
9## HTTP(S) service
10##
11## Normally:
12##
13## - 8080 is http service
Aleksandra Maciagafd6c8fa2019-11-06 15:14:11 +010014## - https is disabled by default
Gary Wu9abb61c2018-09-27 10:38:50 -070015##
16## - At this time, the server always binds to 0.0.0.0
17##
Aleksandra Maciagafd6c8fa2019-11-06 15:14:11 +010018##
19collector.service.port=8080
Gary Wu9abb61c2018-09-27 10:38:50 -070020
Gary Wu9abb61c2018-09-27 10:38:50 -070021## Authentication is only supported via secure port
22## When enabled - require valid keystore defined
23collector.service.secure.port=8443
24
Aleksandra Maciagafd6c8fa2019-11-06 15:14:11 +010025# auth.method flags:
26#
27# noAuth - default option - no security (http)
Aleksandra Maciagafd6c8fa2019-11-06 15:14:11 +010028# certBasicAuth - auth by certificate and basic auth username / password (https)
29auth.method=certBasicAuth
30
31## Combination of userid,hashPassword encoded pwd list to be supported
32## userid and pwd comma separated; pipe delimitation between each pair
33## Password is generated by crypt-password library using BCrypt algorithm stored in dcaegen2/sdk package
34## or https://nexus.onap.org/#nexus-search;quick~crypt-password
35header.authlist=sample1,$2a$10$0buh.2WeYwN868YMwnNNEuNEAMNYVU9.FSMJGyIKV3dGET/7oGOi6
36
Gary Wu9abb61c2018-09-27 10:38:50 -070037## The keystore must be setup per installation when secure port is configured
Aleksandra Maciagafd6c8fa2019-11-06 15:14:11 +010038collector.keystore.file.location=etc/keystore
39collector.keystore.passwordfile=etc/passwordfile
Gary Wu9abb61c2018-09-27 10:38:50 -070040
Aleksandra Maciagafd6c8fa2019-11-06 15:14:11 +010041collector.cert.subject.matcher=etc/certSubjectMatcher.properties
Gary Wu9abb61c2018-09-27 10:38:50 -070042
Aleksandra Maciagafd6c8fa2019-11-06 15:14:11 +010043## The truststore must be setup per installation when mutual tls support is configured
44collector.truststore.file.location=etc/truststore
45collector.truststore.passwordfile=etc/trustpasswordfile
Gary Wu9abb61c2018-09-27 10:38:50 -070046
47## Schema Validation checkflag
48## default no validation checkflag (-1)
49## If enabled (1) - schemafile location must be specified
50collector.schema.checkflag=1
Aleksandra Maciagacb445592020-07-07 15:33:15 +020051collector.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_ONAP.json\"}
Gary Wu9abb61c2018-09-27 10:38:50 -070052
Maciej Malewski6f58fd52020-07-30 09:01:52 +020053## List all streamid per domain to be supported. The streamid should match to channel name on dmaapfile
54collector.dmaap.streamid=fault=ves-fault|syslog=ves-syslog|heartbeat=ves-heartbeat|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
Gary Wu9abb61c2018-09-27 10:38:50 -070055collector.dmaapfile=./etc/DmaapConfig.json
56
Gary Wu9abb61c2018-09-27 10:38:50 -070057## Event transformation Flag - when set expects configurable transformation
58## defined under ./etc/eventTransform.json
59## Enabled by default; to disable set to 0
Aleksandra Maciagacb445592020-07-07 15:33:15 +020060event.transform.flag=1
Gary Wu9abb61c2018-09-27 10:38:50 -070061
Aleksandra Maciagafd6c8fa2019-11-06 15:14:11 +010062# Describes at what frequency (measured in minutes) should application try to fetch config from CBS
63collector.dynamic.config.update.frequency=5