pulibrary / bibdata

Local API for retrieving bibliographic and other useful data from Alma (Ruby 3.2.0, Rails 7.1.3.4)
BSD 2-Clause "Simplified" License
16 stars 7 forks source link

Bibdata does not consume messages through sqs poller #2536

Closed christinach closed 1 month ago

christinach commented 1 month ago

Expected behavior

When an incremental/general publishing job is completed in Alma the webhook sends a message. Aws webhook receiver receives the message. Aws sqs poller service is polling the SQS queue, sees the message and consumes it. The message has a companion file in lib-sftp-prod. Bibdata transfers this file and creates an event and a dump with this file from lib-sftp.

Actual behavior

Alma job finished successfully. Message is recieved by the AWS webhook receiver. Aws SQS poller does not consume it. Bibdata will not create an event with a dump and this file attached.

Impact of this bug

We're missing incremental updates from Alma. We will not receive a full dump.

Acceptance criteria