Releases: acdh-oeaw/arche-lib-ingest
Releases · acdh-oeaw/arche-lib-ingest
MetadataIndexer error mode added
acdhOeaw\acdhRepoIngest\MetadataIndexer::index()
now takes an optional third parameter allowing to set the error mode:
MetadataIndexer::ERRMODE_FAIL
the default mode in which a first HTTP 400 response generated on a repository resource creation/update breaks the import.MetadataIndexer::ERRMODE_PASS
in this mode HTTP 400 responses don't break the import but turn of the autocommit and cause an error to be thrown at the end of import. This mode allows to collect metadata problems with all resources speeding up the curation process.
Indexer::setParent() strictLocations parameter added
An additional bool $strictLocations
parameter added to the acdhOeaw\acdhRepoIngest\Indexer::setParent()
method allowing to choose how strictly contained paths described in the parent resource's metadata should be checked.
Bugfixes
Bugfixes
Indexer class API adjusted
The containerDir
and the containerToUriPrefix
configuration properties were removed.
As they are different for every ingestion it made no sense to store them in a common configuartion file.
They are now taken by the acdhOeaw\acdhRepoIngest\Indexer
class constructor instead.
Initial release
1.0.0 Composer.json updated