Merge "Adding docs for TLS mutual authentication in VES."
[dcaegen2.git] / docs / sections / services / ves-http / configuration.rst
1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. http://creativecommons.org/licenses/by/4.0
3
4 Configuration
5 =============
6
7 VES expects to be able to fetch configuration directly from consul service in following JSON format:
8
9 .. code-block:: json
10
11         {
12         "collector.dynamic.config.update.frequency": "5",
13         "event.transform.flag": "0",
14         "collector.schema.checkflag": "1",
15         "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",
16         "collector.service.port": "8080",
17         "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\"}",
18         "collector.keystore.passwordfile": "/opt/app/VESCollector/etc/passwordfile",
19         "collector.inputQueue.maxPending": "8096",
20         "streams_publishes": {
21             "ves-measurement": {
22                 "type": "message_router",
23                 "dmaap_info": {
24                     "topic_url": "http://message-router:3904/events/unauthenticated.VES_MEASUREMENT_OUTPUT/"
25                 }
26             },
27             "ves-fault": {
28                 "type": "message_router",
29                 "dmaap_info": {
30                     "topic_url": "http://message-router:3904/events/unauthenticated.SEC_FAULT_OUTPUT/"
31                 }
32             },
33             "ves-pnfRegistration": {
34                 "type": "message_router",
35                 "dmaap_info": {
36                     "topic_url": "http://message-router:3904/events/unauthenticated.VES_PNFREG_OUTPUT/"
37                 }
38             },
39             "ves-other": {
40                 "type": "message_router",
41                 "dmaap_info": {
42                     "topic_url": "http://message-router:3904/events/unauthenticated.SEC_OTHER_OUTPUT/"
43                 }
44             },
45             "ves-heartbeat": {
46                 "type": "message_router",
47                 "dmaap_info": {
48                     "topic_url": "http://message-router:3904/events/unauthenticated.SEC_HEARTBEAT_OUTPUT/"
49                 }
50             },
51             "ves-notification": {
52                 "type": "message_router",
53                 "dmaap_info": {
54                     "topic_url": "http://message-router:3904/events/unauthenticated.VES_NOTIFICATION_OUTPUT/"
55                 }
56             }
57         },
58         "collector.service.secure.port": "8443",
59         "header.authflag": "0",
60         "collector.keystore.file.location": "/opt/app/VESCollector/etc/keystore",
61         "collector.keystore.alias": "dynamically generated",
62         "services_calls": [],
63         "header.authlist": "sample1,c2FtcGxlMQ=="
64     }
65
66
67 During ONAP OOM/Kubernetes deployment this configuration is created from VES cloudify blueprint.