Remove certOnly and basicAuth from authentication methods
[dcaegen2/collectors/ves.git] / etc / collector.properties
1 ###############################################################################\r
2 ##\r
3 ## Collector Server config\r
4 ##\r
5 ##      - Default values are shown as commented settings.\r
6 ##\r
7 ###############################################################################\r
8 ##\r
9 ## HTTP(S) service\r
10 ##\r
11 ##      Normally:\r
12 ##\r
13 ##              - 8080 is http service\r
14 ##              - https is disabled by default\r
15 ##\r
16 ##              - At this time, the server always binds to 0.0.0.0\r
17 ##\r
18 ##\r
19 collector.service.port=8080\r
20 \r
21 ## Authentication is only supported via secure port\r
22 ## When enabled - require valid keystore defined\r
23 collector.service.secure.port=8443\r
24 \r
25 # auth.method flags:\r
26 #\r
27 # noAuth - default option - no security (http)\r
28 # certBasicAuth - auth by certificate and basic auth username / password (https)\r
29 auth.method=noAuth\r
30 \r
31 ## Combination of userid,hashPassword encoded pwd list to be supported\r
32 ## userid and pwd comma separated; pipe delimitation between each pair\r
33 ## Password is generated by crypt-password library using BCrypt algorithm stored in dcaegen2/sdk package\r
34 ## or https://nexus.onap.org/#nexus-search;quick~crypt-password\r
35 header.authlist=sample1,$2a$10$0buh.2WeYwN868YMwnNNEuNEAMNYVU9.FSMJGyIKV3dGET/7oGOi6\r
36 \r
37 ## The keystore must be setup per installation when secure port is configured\r
38 collector.keystore.file.location=etc/keystore\r
39 collector.keystore.passwordfile=etc/passwordfile\r
40 \r
41 collector.cert.subject.matcher=etc/certSubjectMatcher.properties\r
42 \r
43 ## The truststore must be setup per installation when mutual tls support is configured\r
44 collector.truststore.file.location=etc/truststore\r
45 collector.truststore.passwordfile=etc/trustpasswordfile\r
46 \r
47 ## Schema Validation checkflag\r
48 ## default no validation checkflag (-1)\r
49 ## If enabled (1) - schemafile location must be specified\r
50 collector.schema.checkflag=1\r
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.0.1.json\"}\r
52 \r
53 ## List all streamid per domain to be supported. The streamid should match to channel name on dmaapfile  \r
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\r
55 collector.dmaapfile=./etc/DmaapConfig.json\r
56 \r
57 ## Event transformation Flag - when set expects configurable transformation\r
58 ## defined under ./etc/eventTransform.json\r
59 ## Enabled by default; to disable set to 0\r
60 event.transform.flag=1\r
61 \r
62 # Describes at what frequency (measured in minutes) should application try to fetch config from CBS\r
63 collector.dynamic.config.update.frequency=5