Skip to content
ubermanu edited this page Apr 8, 2016 · 3 revisions

source or sources define input files and data to read

JSON

Options
string filename Path to json file
Example
source:
    type: json
    filename: file.json

CSV

Options
string filename Path to csv file
string delimiter Value separator
boolean header Use first line as header
Example
source:
    type: csv
    filename: file.csv

Excel

Options
string filename Path to json file
boolean header Use first line as header
integer sheet Page index to use
Example
source:
    type: excel
    filename: file.xlsx
    sheet: 3

DB

Options
string dbtype Database type: mysql, oracle, postgre, etc...
string dbname Database name
string host Host server IP or DNS
string table Table name
string query SQL query used to fetch data from db
string username
string password
Example
source:
    type: db
    dbname: io
    host: 8.8.8.8
    table: test
Clone this wiki locally