Skip to content

PaulVanSchayck/dh-faker

 
 

Repository files navigation

dh-faker

Dependencies

This faker application is tightly coupled to the DataHub iRODS infrastructure as described in docker-dev. It relies on the specific business logic regarding project & collection structure and uses remote procedure calls defined in irods-rule-wrapper.

Before you start

Make sure that your runtime environment has:

  • a running instance of the irods and ires container
  • a value of USE_SAMBA=false in the irods.secrets.cfg file. This will ensure that both iRODS and dh-faker use the dropzones from the volume-bound ./docker-dev/staging-data directory.

Usage

  1. Edit existing INI file or create a new INI file based on the example (config.ini).
  2. Start the container with the default settings files (config.ini)
    ./rit.sh run --rm dh-faker python create_fake_data.py
    
    Start the container with a custom settings files (simple.ini)
    ./rit.sh run --rm dh-faker python create_fake_data.py simple.ini
    
  3. The stdout will now print on the names of the dropzones and the fake files that are being created.
  4. The end state at exit of the dh-faker container is that N amount of dropzones are being ingested by iRODS.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.9%
  • Dockerfile 1.1%