Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Job-Runner listens for batch completion #174

Open
donaldgray opened this issue Nov 20, 2024 · 0 comments
Open

Job-Runner listens for batch completion #174

donaldgray opened this issue Nov 20, 2024 · 0 comments

Comments

@donaldgray
Copy link
Member

donaldgray commented Nov 20, 2024

Have a listener for callback that Batch is finished
On receipt:

  • Mark batch as complete in DB
  • If there are other incomplete batches for manifest no further processing.
  • If all batches are finished, populate "items" property on Manifest
    • Call DLCS; get asset details via /allImages endpoint (width, height, image-service etc to populate "items"), save to Manifest + write to S3
    • Mark ingesting as false
  • Processing should happen via a 2nd queue (SNS -> SQS).
  • If errors encountered in a batch - don't process any the "items", update "ingesting" property to show failure counts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant