Chengkai Yan | 7f278e3 | 2018-11-06 16:32:03 +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 | Installation
|
| 5 | ============
|
| 6 |
|
| 7 | An environment suitable for running docker containers is recommended.
|
| 8 |
|
| 9 | As a docker container
|
| 10 | ---------------------
|
| 11 |
|
| 12 | **datafile** is delivered as a docker container based on openjdk:8-jre-alpine. The
|
| 13 | host or VM that will run this container must have the docker application
|
| 14 | loaded and available to the userID that will be running the DFC container.
|
| 15 |
|
| 16 | Also required is a working DMAAP/MR and DMAAP/DR environment. datafile
|
| 17 | subscribes to DMAAP/MR fileReady event as JSON messages and publishes the downloaded files to the DMAAP/DR.
|
| 18 |
|
| 19 | Installation
|
| 20 | ^^^^^^^^^^^^
|
| 21 |
|
| 22 | The following command will download the latest datafile container from
|
| 23 | nexus and launch it in the container named "datafile":
|
| 24 |
|
maximesson | c762eb1 | 2019-04-04 14:43:43 +0000 | [diff] [blame] | 25 | ``docker run -d -p 8100:8100 -p 8433:8433
|
| 26 | nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest``
|