summaryrefslogtreecommitdiffstats
path: root/docs/sections/services/ves-http/configuration.rst
blob: 7cf9831f6dd14fa96e70a1086f4218317bc12041 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
.. This work is licensed under a Creative Commons Attribution 4.0 International License.
.. http://creativecommons.org/licenses/by/4.0

Configuration
=============

VES expects to be able to fetch configuration directly from consul service in following JSON format:

.. code-block:: json

        {
        "collector.dynamic.config.update.frequency": "5",
        "event.transform.flag": "0",
        "collector.schema.checkflag": "1",
        "collector.dmaap.streamid": "fault=ves-fault|syslog=ves-syslog|heartbeat=ves-heartbeat|measurementsForVfScaling=ves-measurement|measurement=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",
        "collector.service.port": "8080",
        "collector.service.secure.port": "8443",
        "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.1.1.json\"}",
        "streams_publishes": {
            "ves-measurement": {
                "type": "message_router",
                "dmaap_info": {
                    "topic_url": "http://message-router:3904/events/unauthenticated.VES_MEASUREMENT_OUTPUT/"
                }
            },
            "ves-fault": {
                "type": "message_router",
                "dmaap_info": {
                    "topic_url": "http://message-router:3904/events/unauthenticated.SEC_FAULT_OUTPUT/"
                }
            },
            "ves-pnfRegistration": {
                "type": "message_router",
                "dmaap_info": {
                    "topic_url": "http://message-router:3904/events/unauthenticated.VES_PNFREG_OUTPUT/"
                }
            },
            "ves-other": {
                "type": "message_router",
                "dmaap_info": {
                    "topic_url": "http://message-router:3904/events/unauthenticated.SEC_OTHER_OUTPUT/"
                }
            },
            "ves-heartbeat": {
                "type": "message_router",
                "dmaap_info": {
                    "topic_url": "http://message-router:3904/events/unauthenticated.SEC_HEARTBEAT_OUTPUT/"
                }
            },
            "ves-notification": {
                "type": "message_router",
                "dmaap_info": {
                    "topic_url": "http://message-router:3904/events/unauthenticated.VES_NOTIFICATION_OUTPUT/"
                }
            }
        },
        "collector.service.secure.port": "8443",
        "auth.method": "certBasicAuth",
        "collector.keystore.file.location": "/opt/app/dcae-certificate/cert.jks",
        "collector.keystore.passwordfile": "/opt/app/dcae-certificate/jks.pass",
        "collector.truststore.file.location": "/opt/app/dcae-certificate/trust.jks",
        "collector.truststore.passwordfile": "/opt/app/dcae-certificate/trust.pass",        
        "header.authlist": "sample1,$2a$10$0buh.2WeYwN868YMwnNNEuNEAMNYVU9.FSMJGyIKV3dGET/7oGOi6|demouser,$2a$10$1cc.COcqV/d3iT2N7BjPG.S6ZKv2jpb9a5MV.o7lMih/GpjJRX.Ce"
    }


During ONAP OOM/Kubernetes deployment this configuration is created from VES cloudify blueprint.