blob: 0605f3fa149bd98f4fa95ab033f901d3c3c9c9ca [file] [log] [blame]
elinuxhenrikb511dbc2018-09-20 13:05:18 +02001==============================
2DFC (DataFile Collector)
3==============================
4
5:Date: 2018-09-21
6
7.. contents::
8 :depth: 3
9..
10
11Overview
12========
13
14DFC will orchestrate the collection of bulk PM data flow:
15 1. Subscribes to fileReady DMaaP topic
16 2. Collects the file from the xNF
17 3. Sends new event to DataRouter with file.
18
19Introduction
20============
21
22DFC is delivered as one **Docker container** which hosts application server and can be started by `docker-compose`.
23
24Functionality
25=============
26../images/DFC.png
27
28
29Paths
30=====
31
32GET /events/unauthenticated.VES_NOTIFICATION_OUTPUT
33-----------------------------------------------
34
35Description
36~~~~~~~~~~~
37
38Reads fileReady events from DMaaP (Data Movement as a Platform)
39
40
41Responses
42~~~~~~~~~
43
44+-----------+-------------------------------------------+
45| HTTP Code | Description |
46+===========+===========================================+
47| **200** | successful response |
48+-----------+-------------------------------------------+
49
50
51
52POST /publish
53--------------------------------------
54
55Description
56~~~~~~~~~~~
57
58Publish the collected file/s as a stream to DataRouter
59 - file as stream
60 - compression
61 - fileFormatType
62 - fileFormatVersion
63
64
65Responses
66~~~~~~~~~
67
68+-----------+-------------------------------------------+
69| HTTP Code | Description |
70+===========+===========================================+
71| **200** | successful response |
72+-----------+-------------------------------------------+
73
74Compiling DFC
75=============
76
77Whole project (top level of DFC directory) and each module (sub module directory) can be compiled using
78`mvn clean install` command.
79
80Maven GroupId:
81==============
82
83org.onap.dcaegen2.collectors
84
85Maven Parent ArtifactId:
86========================
87
88dcae-collectors
89
90Maven Children Artifacts:
91=========================
92
931. datafile-app-server: DFC server
942. datafile-dmaap-client: Contains implementation of DmaaP client
953. datafile-commons: Common code for whole DFC modules
96
97