blob: c555e4851a0a67b44478d78548a4e9711025d0cc [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)
28# certOnly - auth by certificate (https)
29# basicAuth - auth by basic auth username and password (https)
30# certBasicAuth - auth by certificate and basic auth username / password (https)
31auth.method=certBasicAuth
32
33## Combination of userid,hashPassword encoded pwd list to be supported
34## userid and pwd comma separated; pipe delimitation between each pair
35## Password is generated by crypt-password library using BCrypt algorithm stored in dcaegen2/sdk package
36## or https://nexus.onap.org/#nexus-search;quick~crypt-password
37header.authlist=sample1,$2a$10$0buh.2WeYwN868YMwnNNEuNEAMNYVU9.FSMJGyIKV3dGET/7oGOi6
38
Gary Wu9abb61c2018-09-27 10:38:50 -070039## The keystore must be setup per installation when secure port is configured
Aleksandra Maciagafd6c8fa2019-11-06 15:14:11 +010040collector.keystore.file.location=etc/keystore
41collector.keystore.passwordfile=etc/passwordfile
Gary Wu9abb61c2018-09-27 10:38:50 -070042
Aleksandra Maciagafd6c8fa2019-11-06 15:14:11 +010043collector.cert.subject.matcher=etc/certSubjectMatcher.properties
Gary Wu9abb61c2018-09-27 10:38:50 -070044
Aleksandra Maciagafd6c8fa2019-11-06 15:14:11 +010045## The truststore must be setup per installation when mutual tls support is configured
46collector.truststore.file.location=etc/truststore
47collector.truststore.passwordfile=etc/trustpasswordfile
Gary Wu9abb61c2018-09-27 10:38:50 -070048
49## Schema Validation checkflag
50## default no validation checkflag (-1)
51## If enabled (1) - schemafile location must be specified
52collector.schema.checkflag=1
Aleksandra Maciagafd6c8fa2019-11-06 15:14:11 +010053collector.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.0.1.json\"}
Gary Wu9abb61c2018-09-27 10:38:50 -070054
Aleksandra Maciagafd6c8fa2019-11-06 15:14:11 +010055## List all streamid per domain to be supported. The streamid should match to channel name on dmaapfile
56collector.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
Gary Wu9abb61c2018-09-27 10:38:50 -070057collector.dmaapfile=./etc/DmaapConfig.json
58
Gary Wu9abb61c2018-09-27 10:38:50 -070059## Event transformation Flag - when set expects configurable transformation
60## defined under ./etc/eventTransform.json
61## Enabled by default; to disable set to 0
62event.transform.flag=0
63
Aleksandra Maciagafd6c8fa2019-11-06 15:14:11 +010064# Describes at what frequency (measured in minutes) should application try to fetch config from CBS
65collector.dynamic.config.update.frequency=5