Loader Exponea
Loader Exponea allows you to import data to Exponea.
Loader requires input file in the directory in/tables/
and its name should be set in the configuration.
Exponea API requires a URL with a file as an input for import. Meiro API is used for this file URL creation.
Example configuration
{
"parameters": {
"meiro_api": {
"url": "http://api.staging.meiro.io:3000",
"email": "test@meiro.io",
"#password": ""
},
"exponea_api": {
"url": "https://skypicker-api.infinario.com",
"#public_key": "",
"#private_key": "",
"#project_token": ""
},
"import_id": "",
"file_name": "import.csv"
}
}
import_id
The ID of Exponea's import which defines the importing data structure. Create the import in Exponea and copy its ID here.
Run app
docker-compose up --build app
Run Tests
docker-compose up --build tests