Options extractor

It extracts the data from a provided json string by either a console option, pipeline configuration or passed parameter to the springbok facade. Note: The console option overrides the json-data from the pipeline configuration.

Usage:

Pipeline configuration:

<options /> (no attributes needed if options should be provided by the console command)
<options json-data='[{"id": 123}, {"id": 456}]' bulkSize="100" />

Console usage:

console springbok:run --json-data='[{"id": 123}, {"id": 456}]' options_extractor_test

Springbok facade usage:

$this->springbokFacade->runByName('options_extractor_test', ['json-data' => '[{"id": 123}, {"id": 456}]'])

Attributes:

  • json-data: the json data to extract

  • bulkSize: the number of rows to be extracted at once