Shared component for processing SAPI input mapping and exporting to files


License
MIT

Documentation

Input Mapping Build Status

Input mapping library for Docker Runner and Sandbox Loader. Library processes input mapping, exports data from Storage tables into CSV files and files from Storage file uploads. Exported files are stored in local directory.

Development

docker-compose build tests
docker-compose run --rm tests-local composer install

Create .env file from this template

STORAGE_API_TOKEN=
STORAGE_API_TOKEN_MASTER=
STORAGE_API_URL=https://connection.keboola.com
RUN_SYNAPSE_TESTS=0
SYNAPSE_STORAGE_API_TOKEN=
SYNAPSE_STORAGE_API_URL=https://connection.eu-central-1.keboola.com

To run Synapse tests, set RUN_SYNAPSE_TESTS=1 and supply a Storage API token to a project with Synapse backend. Synapse tests are by default skipped (unless the above env is set).

Run tests:

docker-compose run --rm tests-local composer run-script ci