RecordImporter needs to know which User to treat as the creator for imported
objects, and where on the file system to look for referenced file names. These
configuration options are added to .env, config/importer.yml, and
Importer.config. They are passed to RecordImporter by default on creation.
This work could be extended to allow overriding the configuration in the import
rake task by allowing that task to build a custom RecordImporter. For now, the
supporeted configuration is through .env.
Coverage increased (+0.03%) to 98.143% when pulling 01724989a017f72cdbf5ae7ee10178347c8a3cea on record-importer-config into 5311d1fb56390b9020aa94931091781bcc4586f2 on master.
RecordImporter
needs to know whichUser
to treat as the creator for imported objects, and where on the file system to look for referenced file names. These configuration options are added to.env
,config/importer.yml
, andImporter.config
. They are passed toRecordImporter
by default on creation.This work could be extended to allow overriding the configuration in the import rake task by allowing that task to build a custom
RecordImporter
. For now, the supporeted configuration is through.env
.Connected to #170.