-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Description
Based on main ticket 169 complete the following tasks:
Main tasks
PR 1: #182
- Apply the database changes described on main ticket. update Drizzle models and migrations.
- Create a
dictionaryMigrationRepositorywith functions:save,update,getMigrationById,getMigrationsByCategoryId(with filters and pagination)
PR 2: #183
- Update response of
POST /dictionary/registerendpoint accordingly to includemigrationIdwhen applicable. - Implementation:
- create a
migrationServicewith functions:getActiveMigrationByCategoryId,initiateMigration(new migration or add retry),finalizeMigration(failed or completed), - trigger the data main migration process async (
performCommitSubmissionAsync), more details provided in main ticket. - log data errors in audit table.
- when migration is complete update status to COMPLETED, and submission as COMMITTED
- create a
- block commit operation when migration is running
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels