FOLIO-FSE / FOLIO-FSE/folio_migration_tools

create legacyIdPrefix parameter for maps and UUIDs

Open
#765 7 comments 0 reactions 1 assignee Claimed by @bltravis View on GitHub
Dominant language
Python
Stars
14
Forks
10
Avg merge
55m
Merged PRs (30d)
7

Description

Merging multiple systems can involve overlapping identifier values and issues combining map files requiring preprocessing and awkward procedures

Propose legacyIdPrefix parameter for main config (ideally overwritable at the file level) that would be prepended to legacyId before generating UUID and hrid. The prefix should affect only the map, UUID, and hrid so remapping the value itself is unnecessary. This functionality is needed most for instance and holdings maps but may have other applications such as orders or anything that creates deterministic uuids.

Example:

legacyIdPrefix = myprefix
legacyBibId = b1234567

instance map = ["myprefixb1234567", "40785bac-f500-49f0-8aba-2bb19c04eeed", "inmyprefix0000000001"]

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.