A zip file containing a single volume and metadata file are uploaded.
- Image server
- Zip file
- Admin form is saved
Manifest
is created byApps.Ingest.services.create_manifest()
.- The
Local
object is passed to tehcreate_canvas_from_local_task
task.
create_canvas_from_local_task()
- Creates
Manifest
is missing. create_canvases()
is called on theLocal
object.- The zip file is streamed from S3 in chunks.
- Files that are not an image or OCR file are ignored.
- Image and OCR files are uploaded to the target image server's storage service.
- Lists of the uploaded image and OCR files are iterated through
Canvas
objects are created from the image files.- If the image as an associated OCR file, the
Canvas
object is passed to tehadd_ocr_task
task.
- Each
Canvas
object is passed to anensure_dimensions
task.
- Creates
Zip files of individual volumes are uploaded. Each zip file can include a metadata file or a single metadata file can be uploaded for all volumes.
- Image server
- Files
- Zip files of individual volumes
- Metadata file (optional)
- Collection (optional)
- Admin form is saved
- Metadata file is processed if present.
- A
Local
ingest object is created for each zip file. - The zip file is saved as the
bundle_from_bulk
attribute on theLocal
object. This saves the zip file to the local file system. This is done so the person uploading this files does not have to wait for each file to be uploaded to S3. - The
Local
object is passed to theupload_to_s3_task
task
upload_to_s3_task()
Local.bundle_to_s2()
- The
bundle_from_bulk
file object, which is on the local disk is assigned to theLocal
object'sbundle
. This uploads the file to S3 and deletes the local copy. - The
Local
object is passed to thecreate_canvas_from_local_task
task.
- The
- At this point, the bulk ingest process continues exactly as local ingest at step 2.