1 .. This work is licensed under a
2 Creative Commons Attribution 4.0 International License.
13 Virtual Event Streaming (VES) Collector is RESTful collector for processing
14 JSON messages. The collector verifies the source and validates the events
15 against VES schema before distributing to DMAAP MR topics.
18 :header: "API name", "Swagger JSON", "Swagger YAML"
21 "VES Collector", ":download:`link <swagger_vescollector.json>`", ":download:`link <swagger_vescollector.yaml>`"
26 onap-discuss@lists.onap.org
31 `VES Authentication Types <https://docs.onap.org/projects/onap-dcaegen2/en/latest/sections/services/ves-http/tls-authentication.html>`_
37 - `VES 7.1.1 Data Model <https://docs.onap.org/projects/onap-vnfrqts-requirements/en/latest/Chapter8/ves7_1spec.html#common-event-format>`_
38 - `VES 5.4 Data Model <https://docs.onap.org/projects/onap-vnfrqts-requirements/en/latest/Chapter8/ves_5_4_1/VESEventListener.html#common-event-format>`_
44 +-----+--------------+--------------------------------------------------------+
45 | Code| Reason Phrase| Description |
46 +=====+==============+========================================================+
47 | 202 | Accepted | The request has been accepted for processing |
48 +-----+--------------+--------------------------------------------------------+
49 | 400 | Bad Request | Many possible reasons not specified by the other codes |
50 | | | (e.g., missing required parameters or incorrect format)|
51 | | | . The response body may include a further exception |
52 | | | code and text. HTTP 400 errors may be mapped to SVC0001|
53 | | | (general service error), SVC0002 (bad parameter), |
54 | | | SVC2000 (general service error with details) or PO9003 |
55 | | | (message content size exceeds the allowable limit). |
56 +-----+--------------+--------------------------------------------------------+
57 | 401 | Unauthorized | Authentication failed or was not provided. HTTP 401 |
58 | | | errors may be mapped to POL0001 (general policy error) |
59 | | | or POL2000 (general policy error with details). |
60 +-----+--------------+--------------------------------------------------------+
61 | 404 | Not Found | The server has not found anything matching the |
62 | | | Request-URI. No indication is given of whether the |
63 | | | condition is temporary or permanent. |
64 +-----+--------------+--------------------------------------------------------+
65 | 405 | Method Not | A request was made of a resource using a request method|
66 | | Allowed | not supported by that resource (e.g., using PUT on a |
67 | | | REST resource that only supports POST). |
68 +-----+--------------+--------------------------------------------------------+
69 | 500 | Internal | The server encountered an internal error or timed out; |
70 | | Server Error | please retry (general catch-all server-side error).HTTP|
71 | | | 500 errors may be mapped to SVC1000 (no server |
73 +-----+--------------+--------------------------------------------------------+
75 Sample Request and Response
76 ---------------------------
83 POST /eventListener/v7 HTTP/1.1
84 Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
85 content-type: application/json
91 "commonEventHeader": {
93 "vesEventListenerVersion": "7.1.1",
95 "eventName": "Fault_Vscf:Acs-Ericcson_PilotNumberPoolExhaustion",
96 "eventId": "fault0000245",
99 "reportingEntityId": "cc305d54-75b4-431b-adb2-eb6b9e541234",
100 "reportingEntityName": "ibcx0001vm002oam001",
101 "sourceId": "de305d54-75b4-431b-adb2-eb6b9e546014",
102 "sourceName": "scfx0001vm002cap001",
103 "nfVendorName": "Ericsson",
104 "nfNamingCode": "scfx",
105 "nfcNamingCode": "ssc",
106 "startEpochMicrosec": 1413378172000000,
107 "lastEpochMicrosec": 1413378172000000,
108 "timeZoneOffset": "UTC-05:30"
111 "faultFieldsVersion": 4.0,
112 "alarmCondition": "PilotNumberPoolExhaustion",
113 "eventSourceType": "other",
114 "specificProblem": "Calls cannot complete - pilot numbers are unavailable",
115 "eventSeverity": "CRITICAL",
116 "vfStatus": "Active",
117 "alarmAdditionalInformation": {
118 "PilotNumberPoolSize": "1000"
130 HTTPS/1.1 202 Accepted
133 X-LatestVersion: 7.1.1