Details
-
Task
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
-
Folijet Sprint 135
-
3
-
Folijet
-
Morning Glory (R2 2022)
Description
Implement the scenario under data-import project in https://github.com/folio-org/folio-integration-tests
- Base on
FAT-942 - Build mapping profiles: MARC-to-Instance (Checks Suppress from discovery, changes the statistical code (PTF5), changes status to Uncataloged), MARC-to-Holdings (Only mapped field is Holdings statement staff note, from 300$a. Deletes former holdings ID and replaces it with Holdings ID 5. Same for stat codes - delete and replace with PTF5. Adds a new temp location. Add 5 to Shelving title, Prefix, and Suffix. Adds a holding statement with a public and staff note. Adds another Holdings note), MARC-to-Item (Removes the Item HRID as the copy number and adds it as the item identifier (902$a); Adds volume number from 300$c and removes it from number of pieces. Adds an item note (5). Removes temp loan type. Changes status to missing)
- 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
TestRail: Results
Attachments
Issue Links
- defines
-
UXPROD-3421 NFR: Create integration tests for key Data Import functionality using Karate (Morning Glory)
-
- Closed
-
- is blocked by
-
FAT-1102 Investigate and fix issues regarding data-import-integration tests
-
- Closed
-
-
MSEARCH-252 ApiException throws an error in mod search when installing modules
-
- Closed
-
- relates to
-
FAT-914 Spike: Prepare for API Karate tests
-
- Closed
-