Skip to content

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

Open
wtomaszewska wants to merge 10 commits intomainfrom
feature/FOLIOSYNC-12-combine-downloading-and-syncing-logic
Open

FOLIOSYNC-12: Combine downloading and syncing logic + add tests#44
wtomaszewska wants to merge 10 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

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.

1 participant