Generalizing Data File Collection to handle any type of file

Extension of the DFC to be able to handle any file types types, which are published on different DR feeds.
This association between file type and DR feed is defined by configuration.
The file type is defined by the changeIdentifier in the fileReady VES message reported from the PNF.

The creation of DR feeds and configuration will be done by the DMAAP plugin, but that is
not tested yet.

Change-Id: I13b36acd926a6941ee733e6b37922049fb54a5d9
Issue-ID: DCAEGEN2-1532
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
43 files changed
tree: 6c5c6efecb383a439f27cd163b20edfa364b6ce2
  1. datafile-app-server/
  2. docker-compose/
  3. .gitignore
  4. .gitreview
  5. INFO.yaml
  6. LICENSE.txt
  7. pom.xml
  8. README.md
  9. swagger.yaml
  10. version.properties
README.md

DFC (DataFile Collector)

Datafile Collector is responsible for collecting PM counter files from PNF (Physical Network Function) and then publish these files to Dmaap DataRouter.

Introduction

DFC is delivered as one Docker container which hosts application server and can be started by docker-compose.

Compiling DFC

Whole project (top level of DFC directory) and each module (sub module directory) can be compiled using mvn clean install command.

Main API Endpoints

Running with dev-mode of DFC

  • Heartbeat: http://<container_address>:8100/heartbeat or https://<container_address>:8443/heartbeat

  • Start DFC: http://<container_address>:8100/start or https://<container_address>:8433/start

  • Stop DFC: http://<container_address>:8100/stopDatafile or https://<container_address>:8433/stopDatafile

Maven GroupId:

org.onap.dcaegen2.collectors

Maven Parent ArtifactId:

dcae-services

Maven Children Artifacts:

  1. datafile-app-server: Datafile Collector (DFC) server
  2. datafile-commons: Common code for whole dfc modules
  3. datafile-dmaap-client: http client used to connect to dmaap message router/data router

License

Copyright (C) 2018-2019 NOKIA Intellectual Property, 2018-2019 Nordix Foundation. All rights reserved. License