Migrations

Migration Guide: v1 to v2

This guide outlines the changes from version 1 to version 2 of the springbok-core package.

Interfaces

  • BuilderInterface::buildByXml - parameter array $pipelinepipeline has been replaced with DOMElement $parentNode.

  • DataFrameBuilderInterface::buildDataFrame has been replaced with DataFrameBuilderInterface::buildDataFrameContainer and now returns \DataImport\Zed\Springbok\Business\Container\DataFrameContainerInterface instead of \Flow\ETL\DataFrame. This change is necessary to support hooks. DataFrameContainer is a container for \Flow\ETL\DataFrame and \DataImport\Zed\Springbok\Dependency\Plugin\HookInterface.

  • PipelineResolverInterface::resolve return statement has been replaced with DOMElement instead of array.

  • HookablePipelineInterface and SynchronousTracePipeline have been removed. SynchronousPipeline of flow/etl is used instead of the custom one.

  • For ExtractorPluginInterface::build, HookPluginInterface::build, LoaderPluginInterface::build, TransformerPluginInterface::build and SchemaAwareLoaderPluginInterface::getSchema parameter array $xml has been replaced with PipelineConfigurationElementInterface $pipelineConfig.

  • Interface Loader::load now requires FlowContext as the second parameter.