updates collectionspace-client and collectionspace-refcache versions
reorganizes and updates usage and config options documentation
add check_terms and check_record_status config options and add support for handling the different options
add method to DataHandler to update Response.terms.found to false in all rows where a term not found in CollectionSpace is used. That is, existence in the cache because we created the refname, marked the term found=false, and added it to the cache on a previous row does not mean the term should be reported as found=true in a subsequent row. All uses of an unknown term should be included in the processing report from cspace-batch-import.
raise IdFieldNotInMapperError upon initialization of DataHandler with a mapper missing [:config][:identifier_field].
return record_status attribute in Response. If record_status = :existing, also return attributes: csid, uri, refname
collectionspace-client
andcollectionspace-refcache
versionscheck_terms
andcheck_record_status
config options and add support for handling the different optionsDataHandler
to updateResponse.terms.found
tofalse
in all rows where a term not found in CollectionSpace is used. That is, existence in the cache because we created the refname, marked the termfound=false
, and added it to the cache on a previous row does not mean the term should be reported asfound=true
in a subsequent row. All uses of an unknown term should be included in the processing report fromcspace-batch-import
.IdFieldNotInMapperError
upon initialization ofDataHandler
with a mapper missing[:config][:identifier_field]
.record_status
attribute inResponse
. Ifrecord_status = :existing
, also return attributes:csid
,uri
,refname