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) |
| 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) |
| 31 | auth.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 |
| 37 | header.authlist=sample1,$2a$10$0buh.2WeYwN868YMwnNNEuNEAMNYVU9.FSMJGyIKV3dGET/7oGOi6 |
| 38 | |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 39 | ## The keystore must be setup per installation when secure port is configured |
Aleksandra Maciaga | fd6c8fa | 2019-11-06 15:14:11 +0100 | [diff] [blame^] | 40 | collector.keystore.file.location=etc/keystore |
| 41 | collector.keystore.passwordfile=etc/passwordfile |
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 | collector.cert.subject.matcher=etc/certSubjectMatcher.properties |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 44 | |
Aleksandra Maciaga | fd6c8fa | 2019-11-06 15:14:11 +0100 | [diff] [blame^] | 45 | ## The truststore must be setup per installation when mutual tls support is configured |
| 46 | collector.truststore.file.location=etc/truststore |
| 47 | collector.truststore.passwordfile=etc/trustpasswordfile |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 48 | |
| 49 | ## Schema Validation checkflag |
| 50 | ## default no validation checkflag (-1) |
| 51 | ## If enabled (1) - schemafile location must be specified |
| 52 | collector.schema.checkflag=1 |
Aleksandra Maciaga | fd6c8fa | 2019-11-06 15:14:11 +0100 | [diff] [blame^] | 53 | 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.0.1.json\"} |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 54 | |
Aleksandra Maciaga | fd6c8fa | 2019-11-06 15:14:11 +0100 | [diff] [blame^] | 55 | ## List all streamid per domain to be supported. The streamid should match to channel name on dmaapfile |
| 56 | 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 |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 57 | collector.dmaapfile=./etc/DmaapConfig.json |
| 58 | |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 59 | ## Event transformation Flag - when set expects configurable transformation |
| 60 | ## defined under ./etc/eventTransform.json |
| 61 | ## Enabled by default; to disable set to 0 |
| 62 | event.transform.flag=0 |
| 63 | |
Aleksandra Maciaga | fd6c8fa | 2019-11-06 15:14:11 +0100 | [diff] [blame^] | 64 | # Describes at what frequency (measured in minutes) should application try to fetch config from CBS |
| 65 | collector.dynamic.config.update.frequency=5 |