Skip to content

FOLIOSYNC-12: Combine downloading and syncing logic + add tests#44

Merged
wtomaszewska merged 11 commits intomainfrom
feature/FOLIOSYNC-12-combine-downloading-and-syncing-logic
Mar 23, 2026
Merged

FOLIOSYNC-12: Combine downloading and syncing logic + add tests#44
wtomaszewska merged 11 commits intomainfrom
feature/FOLIOSYNC-12-combine-downloading-and-syncing-logic

Conversation

@wtomaszewska
Copy link
Contributor

Ticket FOLIOSYNC-12

This PR extracts FOLIO-to-Hyacinth syncing logic from the rake task into dedicated classes:

  • HyacinthSynchronizer - Orchestrates the full sync workflow (download from FOLIO -> process-> sync to Hyacinth)
  • MarcProcessor - Uses a previously saved MARC file to look up existing Hyacinth records and calls HyacinthRecordWriter to assemble and sync records to FOLIO
  • HyacinthRecordWriter - Handles create/update logic and Hyacinth API calls

Copy link
Member

@elohanlon elohanlon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great updates, thank you! I have just one requested change, which I left in a separate comment.

@wtomaszewska wtomaszewska requested a review from elohanlon March 23, 2026 19:45
Copy link
Member

@elohanlon elohanlon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@wtomaszewska wtomaszewska merged commit bb59865 into main Mar 23, 2026
1 check passed
@wtomaszewska wtomaszewska deleted the feature/FOLIOSYNC-12-combine-downloading-and-syncing-logic branch March 23, 2026 20:59
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

Successfully merging this pull request may close these issues.

2 participants