NAME

Datahub::Factory::Pipeline - The Pipeline configuration handler class.

DESCRIPTION

This class reads, parses and validates a pipeline INI configuration file and stores the resulting configuration in a hash. This hash is used in the transport command.

A pipeline is a transport line between two systems. In the realm of Digital Culture and GLAM (Galleries, Libraries, Archives & Museums) this will typically be a connection between the API's of a registration or records management system and an intermediary system (i.e. aggregator) or a consumer application (i.e. website)

The structure of the hash looks like this:

my $opts = {
    id_path => 'path_to_identifier',
    importer => {
        name => 'Name of the importer',
        options => { ... }
    },
    exporter => {
        name => 'Name of the exporter',
        options => { ... }
    },
    fixers => {
        'fixer_foo' => {
            name => 'Name of the fixer foo',
            options => { ... }
        },
        'fixer_bar' => {
            name => 'Name of the fixer bar',
            options => { ... }
        }
    }
};

AUTHORS

Pieter De Praetere <pieter@packed.be> Matthias Vandermaesen <matthias.vandermaesen@vlaamsekunstcollectie.be>

COPYRIGHT

Copyright 2016 - PACKED vzw, Vlaamse Kunstcollectie vzw

LICENSE

This library is free software; you can redistribute it and/or modify it under the terms of the GPLv3.