Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 1 | ############################################################################### |
| 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 Maciaga | fd6c8fa | 2019-11-06 15:14:11 +0100 | [diff] [blame] | 14 | ## - https is disabled by default |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 15 | ## |
| 16 | ## - At this time, the server always binds to 0.0.0.0 |
| 17 | ## |
Aleksandra Maciaga | fd6c8fa | 2019-11-06 15:14:11 +0100 | [diff] [blame] | 18 | ## |
| 19 | collector.service.port=8080 |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 20 | |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 21 | ## Authentication is only supported via secure port |
| 22 | ## When enabled - require valid keystore defined |
| 23 | collector.service.secure.port=8443 |
| 24 | |
Aleksandra Maciaga | fd6c8fa | 2019-11-06 15:14:11 +0100 | [diff] [blame] | 25 | # auth.method flags: |
| 26 | # |
| 27 | # noAuth - default option - no security (http) |
Aleksandra Maciaga | fd6c8fa | 2019-11-06 15:14:11 +0100 | [diff] [blame] | 28 | # certBasicAuth - auth by certificate and basic auth username / password (https) |
| 29 | auth.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 |
| 35 | header.authlist=sample1,$2a$10$0buh.2WeYwN868YMwnNNEuNEAMNYVU9.FSMJGyIKV3dGET/7oGOi6 |
| 36 | |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 37 | ## The keystore must be setup per installation when secure port is configured |
Aleksandra Maciaga | fd6c8fa | 2019-11-06 15:14:11 +0100 | [diff] [blame] | 38 | collector.keystore.file.location=etc/keystore |
| 39 | collector.keystore.passwordfile=etc/passwordfile |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 40 | |
Aleksandra Maciaga | fd6c8fa | 2019-11-06 15:14:11 +0100 | [diff] [blame] | 41 | collector.cert.subject.matcher=etc/certSubjectMatcher.properties |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 42 | |
Aleksandra Maciaga | fd6c8fa | 2019-11-06 15:14:11 +0100 | [diff] [blame] | 43 | ## The truststore must be setup per installation when mutual tls support is configured |
| 44 | collector.truststore.file.location=etc/truststore |
| 45 | collector.truststore.passwordfile=etc/trustpasswordfile |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 46 | |
| 47 | ## Schema Validation checkflag |
| 48 | ## default no validation checkflag (-1) |
| 49 | ## If enabled (1) - schemafile location must be specified |
| 50 | collector.schema.checkflag=1 |
Aleksandra Maciaga | cb44559 | 2020-07-07 15:33:15 +0200 | [diff] [blame] | 51 | 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_ONAP.json\"} |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 52 | |
Maciej Malewski | 6f58fd5 | 2020-07-30 09:01:52 +0200 | [diff] [blame^] | 53 | ## List all streamid per domain to be supported. The streamid should match to channel name on dmaapfile |
| 54 | collector.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 Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 55 | collector.dmaapfile=./etc/DmaapConfig.json |
| 56 | |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 57 | ## Event transformation Flag - when set expects configurable transformation |
| 58 | ## defined under ./etc/eventTransform.json |
| 59 | ## Enabled by default; to disable set to 0 |
Aleksandra Maciaga | cb44559 | 2020-07-07 15:33:15 +0200 | [diff] [blame] | 60 | event.transform.flag=1 |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 61 | |
Aleksandra Maciaga | fd6c8fa | 2019-11-06 15:14:11 +0100 | [diff] [blame] | 62 | # Describes at what frequency (measured in minutes) should application try to fetch config from CBS |
| 63 | collector.dynamic.config.update.frequency=5 |