Vijay VK | 86cd893 | 2018-10-23 16:35:29 +0100 | [diff] [blame] | 1 | .. This work is licensed under a Creative Commons Attribution 4.0 International License. |
| 2 | .. http://creativecommons.org/licenses/by/4.0 |
| 3 | |
| 4 | VES Architecture |
Vijay VK | 6b0fa46 | 2019-05-20 16:06:11 +0100 | [diff] [blame] | 5 | ================ |
Vijay VK | 86cd893 | 2018-10-23 16:35:29 +0100 | [diff] [blame] | 6 | |
| 7 | .. image:: ./ves-deployarch.png |
| 8 | |
| 9 | VES Processing Flow |
Vijay VK | edaf8b1 | 2019-05-23 22:02:50 +0100 | [diff] [blame] | 10 | ------------------- |
Vijay VK | 86cd893 | 2018-10-23 16:35:29 +0100 | [diff] [blame] | 11 | |
VENKATESH KUMAR | 7cfaea2 | 2020-04-22 17:31:32 -0400 | [diff] [blame] | 12 | 1) Collector supports different URI based on single or batch event to be received |
| 13 | 2) Post authentication – events are validated for schema. At this point – appropriate return code is sent to client (success/failure) |
| 14 | 3) Event Processor check against transformation rules (if enabled) and handles VES output standardization (e.g. VES 7.x input to VES5.4 output) |
| 15 | 4) Based on domain, events are distributed to configurable topics |
| 16 | 5) Post to outbound topic(s). If DMaaP publish is unsuccessful, messages will be queued per topic within VESCollector |
| 17 | |
| 18 | Note: As the collector is deployed as micro-service, all configuration parameters (including DMaaP topics) are passed to the collector dynamically. VEScollector refreshes the configuration from CBS every 5 minutes |
| 19 | |
Vijay VK | 86cd893 | 2018-10-23 16:35:29 +0100 | [diff] [blame] | 20 | .. image:: ./VES-processingFlow.png |
| 21 | |
| 22 | |
| 23 | VES Schema Validation |
Vijay VK | edaf8b1 | 2019-05-23 22:02:50 +0100 | [diff] [blame] | 24 | --------------------- |
Vijay VK | 86cd893 | 2018-10-23 16:35:29 +0100 | [diff] [blame] | 25 | |
| 26 | VES Collector is configured to support below VES Version; the corresponding API uses VES schema definition for event validation. |
| 27 | |
Vijay VK | f6659fc | 2018-11-02 05:07:27 +0100 | [diff] [blame] | 28 | =========== ================ ================================== |
| 29 | VES Version API version Schema Definition |
| 30 | =========== ================ ================================== |
VENKATESH KUMAR | 7cfaea2 | 2020-04-22 17:31:32 -0400 | [diff] [blame] | 31 | VES 1.2 eventListener/v1 `CommonEventFormat_Vendors_v25.json <https://git.onap.org/dcaegen2/collectors/ves/tree/etc/CommonEventFormat_Vendors_v25.json>`_ |
| 32 | VES 4.1 eventListener/v4 `CommonEventFormat_27.2.json <https://git.onap.org/dcaegen2/collectors/ves/tree/etc/CommonEventFormat_27.2.json>`_ |
| 33 | VES 5.4 eventListener/v5 `CommonEventFormat_28.4.1.json <https://git.onap.org/dcaegen2/collectors/ves/tree/etc/CommonEventFormat_28.4.1.json>`_ |
| 34 | VES 7.1.1 eventListener/v7 `CommonEventFormat_30.1.1.json <https://git.onap.org/vnfrqts/requirements/tree/docs/Chapter8/CommonEventFormat_30.1.1_ONAP.json>`_ |
Vijay VK | f6659fc | 2018-11-02 05:07:27 +0100 | [diff] [blame] | 35 | =========== ================ ================================== |
VENKATESH KUMAR | 7cfaea2 | 2020-04-22 17:31:32 -0400 | [diff] [blame] | 36 | |
Vijay VK | 86cd893 | 2018-10-23 16:35:29 +0100 | [diff] [blame] | 37 | |
| 38 | |
| 39 | Features Supported |
Vijay VK | edaf8b1 | 2019-05-23 22:02:50 +0100 | [diff] [blame] | 40 | ------------------ |
Vijay VK | 86cd893 | 2018-10-23 16:35:29 +0100 | [diff] [blame] | 41 | - VES collector deployed as docker containers |
Vijay VK | 6b0fa46 | 2019-05-20 16:06:11 +0100 | [diff] [blame] | 42 | - Acknowledgement to sender with appropriate response code (both successful and failure) |
pawel | 014baca | 2019-11-07 11:15:00 +0100 | [diff] [blame] | 43 | - Authentication of the events posted to collector (support 2 types of authentication setting) |
Vijay VK | 86cd893 | 2018-10-23 16:35:29 +0100 | [diff] [blame] | 44 | - Support single or batch JSON events input |
| 45 | - Schema validation (against standard VES definition) |
| 46 | - Multiple schema support and backward compatibility |
| 47 | - Configurable event transformation |
| 48 | - Configurable suppression |
| 49 | - Publish events into Dmaap Topic (with/without AAF) |
| 50 | |
| 51 | The collector can receive events via standard HTTP port (8080) or secure port (8443). Depending on the install/configuration – either one or both can be supported (ports are also modifiable). |
| 52 | |
| 53 | |
| 54 | Dynamic configuration fed into Collector via DCAEPlatform |
Vijay VK | edaf8b1 | 2019-05-23 22:02:50 +0100 | [diff] [blame] | 55 | --------------------------------------------------------- |
Vijay VK | 86cd893 | 2018-10-23 16:35:29 +0100 | [diff] [blame] | 56 | |
| 57 | - Outbound Dmaap/UEB topic |
| 58 | - Schema version to be validated against |
| 59 | - Authentication account for VNF |
| 60 | |
| 61 | POST requests result in standard HTTP status codes: |
| 62 | |
VENKATESH KUMAR | 7cfaea2 | 2020-04-22 17:31:32 -0400 | [diff] [blame] | 63 | - 200-299 Success |
| 64 | - 400-499 Client request has a problem (data error) |
| 65 | - 500-599 Collector service has a problem |
Vijay VK | 86cd893 | 2018-10-23 16:35:29 +0100 | [diff] [blame] | 66 | |
| 67 | |