diff --git a/config/packages/process/demo.csv_reader.yaml b/config/packages/process/demo.csv_reader.yaml new file mode 100644 index 0000000..e45baa1 --- /dev/null +++ b/config/packages/process/demo.csv_reader.yaml @@ -0,0 +1,24 @@ +clever_age_process: + configurations: + demo.csv_reader: + description: > + A simple process which read a specific csv to log/debug each line + help: > + Ex: bin/console cleverage:process:execute demo.csv_reader + options: + ui: + source: Bar + target: Foo + tasks: + entry: + service: '@CleverAge\ProcessBundle\Task\File\Csv\CsvReaderTask' + outputs: [ log_line, dump ] + options: + file_path: '%kernel.project_dir%/var/data/sample.csv' + log_line: + service: '@CleverAge\ProcessBundle\Task\Reporting\LoggerTask' + options: + message: Read line + level: info + dump: + service: '@CleverAge\ProcessBundle\Task\Debug\DebugTask'