A zip file containing a single volume and metadata file are uploaded.
- Image server
- Zip file
- Admin form is saved
Manifestis created byApps.Ingest.services.create_manifest().- The
Localobject is passed to tehcreate_canvas_from_local_tasktask.
create_canvas_from_local_task()- Creates
Manifestis missing. create_canvases()is called on theLocalobject.- 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
Canvasobjects are created from the image files.- If the image as an associated OCR file, the
Canvasobject is passed to tehadd_ocr_tasktask.
- Each
Canvasobject is passed to anensure_dimensionstask.
- 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
Localingest object is created for each zip file. - The zip file is saved as the
bundle_from_bulkattribute on theLocalobject. 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
Localobject is passed to theupload_to_s3_tasktask
upload_to_s3_task()Local.bundle_to_s2()- The
bundle_from_bulkfile object, which is on the local disk is assigned to theLocalobject'sbundle. This uploads the file to S3 and deletes the local copy. - The
Localobject is passed to thecreate_canvas_from_local_tasktask.
- The
- At this point, the bulk ingest process continues exactly as local ingest at step 2.