Commit d6e2d653 authored by Eteri's avatar Eteri

initial commit for embulk

parent e5aa01b7
#in:
# type: mongodb
# uri: mongodb://localhost:27017/eteri_db
# collection: "myCollection"
in:
type: file
path_prefix: /srv/slapgrid/slappart7/srv/runner/project/slapos/software/embulk/try1/csv/
decoders:
- {type: gzip}
parser:
charset: UTF-8
newline: CRLF
type: csv
delimiter: ','
quote: '"'
escape: '"'
null_string: 'NULL'
skip_header_lines: 1
columns:
- {name: id, type: string}
- {name: account, type: string}
- {name: time, type: string }
- {name: purchase, type: string}
- {name: comment, type: string}
out:
type: wendelin
tag: accton.actn.project_reference.device_type.device_reference.path.to.file.file_type
streamtool_uri: https://softinst127037.host.vifib.net/erp5/portal_ingestion_policies/test_policy
user: username
password: pass
[buildout]
extends =
../../component/java/buildout.cfg
../../stack/slapos.cfg
parts +=
embulk.jar
java
embulk-config
# instance
[embulk.jar]
#recipe = slapos.recipe.cmmi
recipe = slapos.recipe.build:download
url = https://dl.bintray.com/embulk/maven/embulk-0.8.39.jar
md5sum = cbb314876d74274c349c283d30a6247d
destination = ${buildout:parts-directory}/${:_buildout_section_name_}
[embulk-config]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/config.yml.in
output = ${buildout:directory}/config.yml
mode = 0644
#[embulk-config]
#recipe = slapos.recipe.build:download
#url = ${:_profile_base_location_}/config.yml.in
#location = ${buildout:directory}/config.yml
#mode = 0644
#[instance]
#recipe = slapos.recipe.template
#url = ${:_profile_base_location_}/instance.cfg.in
#output = ${buildout:directory}/instance.cfg
[versions]
slapos.recipe.template = 4.3
\ No newline at end of file
in:
type: file
path_prefix: '/srv/slapgrid/slappart7/srv/runner/software/47da317bc96de31a00da29a8a499fe65/parts/./try1/csv/sample_'
out:
type: stdout
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment