mod-data-import: Implement 'Match MARC-to-MARC and update Instances, Holdings, and Items' 2 scenario - INTEGRATION

Description

Implement the scenario under data-import project in https://github.com/folio-org/folio-integration-tests

  • Base on FAT-939

  • Build mapping profiles: MARC-to-Instance (Mark the Staff suppress checkbox, change the statistical code, change status to Circulation), MARC-to-Holdings (Only mapped field is Retention policy, from 300$a. Delete former holdings ID and replaces it with Holdings ID 2. Same for stat codes - delete and replace with PTF2. Change permanent location. Remove temp location. Add 2 to Shelving title, Prefix, and Suffix. Remove digitization policy. Add another Holdings note), MARC-to-Item (Add Item HRID as the item identifier (902$a); Remove copy number. Add an item note (2). Remove temporary loan type)

  • Build action profiles: Update Instance, Update Holdings, Update Item

  • Link each action profile to the appropriate mapping profile

  • Build match profiles: MARC-to-MARC 001 to 001, MARC-to-Holdings 901a to Holdings HRID, MARC-to-Item 902a to Item HRID

  • Create JobProfile - see attached screenshot for the structure of profile and json 

  • Export just imported data

  • Import exported file with profile created in previous steps

  • Check the log

Acceptance criteria:
Undefined scenario is implemented and rans successfully 

Environment

None

Potential Workaround

None

Attachments

2

Checklist

hide

TestRail: Results

Activity

Show:
Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Folijet

Release

Lotus R1 2022

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created August 10, 2021 at 1:53 PM
Updated February 4, 2022 at 9:29 AM
Resolved February 4, 2022 at 9:29 AM
TestRail: Cases
TestRail: Runs