Bugfixes, Generalizing Data File Collection to handle any type of file

- When a change ID was not configured, the task counter was not decreased.
The result was that the DFC stopped polling,

- When the check if a file is a already published fails
(most likely to a problem is the DR), the DFC will try
to publish it (instead of just ingnoring it).

Change-Id: If9f5b962210f809d5d2ae0aa60d3a7f99099c058
Issue-ID: DCAEGEN2-1532
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
1 file changed
tree: a20c3607310ec7e14d58051b600367c22b06f362
  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