Applying mapping profile - Item - selected fields with transformation provided

Description

Purpose
This story addresses exporting selected fields from the item records. It assumes that each requested field has the transformation field populated.

Scenario:
Given: the mapping profile contains selected fields and for each selected field the transformation is provided
When: the record is generated on the fly during the export
Then:

  1. Only fields selected in the mapping profile are part of the exported record

  2. The fields are populated with the data coming inventory item record according to transformations specified in the mapping profile

  3. .mrc file is generated

  4. Unit and API tests are written

Environment

None

Potential Workaround

None

Attachments

1

Checklist

hide

TestRail: Results

Activity

Show:

Kruthi Vuppala September 5, 2020 at 11:33 PM

verified on folio-testing but had one observation that the permanent loan type is being mapped to UUID, that needs to change to a value. And few others regarding dates. Created https://folio-org.atlassian.net/browse/MDEXP-282, as the dates are common to other record types as well

Andrii Novytskyi September 4, 2020 at 6:25 PM
Edited

Verified on rancher env.

  • Created a mapping profile that contains all transformation for item fields:

  • Updated existing item to contains all fields that supported:

  • Exported instance with id "30fcc8e7-a019-43f4-b642-2edc389f4501"

Fetched job executions, verified that status is completed

The marc record:

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Concorde

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created July 20, 2020 at 4:21 PM
Updated October 18, 2022 at 1:10 AM
Resolved September 5, 2020 at 11:33 PM
TestRail: Cases
TestRail: Runs