The ingest package received Fedora Objects, in the form of FOXML1.0 files, and ingests them into Fedora. The goal for the first iteration of the Ingest is to
- Provide a command-line controlled mechanism for ingesting a group of objects
There should be a drop-off folder on the maschine responsible for ingest. The folder should have this structure
Objects are created externally and put in a sub-folder in the input-folder. The name of the sub-folder is project-specific.
- The ingest-mechanism is activated with the sub-folder name from step 1 as argument.
- The ingester ingests all objects, if possible.
For all successful object ingests, a note is written in a corresponding log in the success-folder and the object is deleted from the input-folder.
For all non-successful object ingests, the object in question is copied to a corresponding sub-folder in the failure-folder and a note is written in the corresponding logfile in the failure-folder.
For iteration 1, this means that an ingest can result in output in both the failure and the success folder. Future iterations with transactions will hopefully only result in output in one of these folders.
Note that the following features are reserved for future iterations
- Validation of objects
- Handling of permissions
- Transaction-based ingest (all objects or no objects)