Uploaded image for project: 'mod-data-export'
  1. mod-data-export
  2. MDEXP-130

Mapping profile - applying transformations during the export job execution

    XMLWordPrintable

    Details

    • Template:
    • Development Team:
      Concorde

      Description

      Purpose
      Once the mapping job is created and associated with an export job, the data transformation that was defined in the profile will need to be applied.

      Scenario 1:
      Given: the mapping profile contains mappings for an inventory instance records mappings only
      When: the underlying record exists in SRS
      Then:
      1. Transformations defined in the mapping profile takes precedence over the fields in SRS

      • if the mapping contains selected field but the transformation is not provided then use the SRS field .
      • If the mapping contains selected field and the transformation then this value is used while generating the record

      2. Only fields selected in the mapping profile are part of the exported record
      3. LDR that is re-generated based on the selected fields

      Scenario 2:
      Given: the mapping profile contains mappings for inventory instance records only
      When: the underlying record does not exists in and has to be generated on the fly
      Then:
      1. Transformations defined in the mapping profile takes precedence over mapping rules

      • If the mapping contains selected field but the transformation is not provided then the default mapping rules are used.
      • If the mapping contains selected field and the transformation then the mapping from the profile is used while generating the record

      2. Only fields selected in the mapping profile are part of the exported record
      3. LDR that is re-generated based on the selected fields

      Scenario 3:
      Given: the mapping profile contains mappings for inventory instance, holdings and item records
      When: the underlying record does not exists in and has to be generated on the fly
      Then:
      1. Transformations for inventory instance records defined in the mapping profile take precedence over mapping rules

      • if the mapping contains selected field but the transformation is not provided then the default mapping rules are used.
      • if the mapping contains selected field and the transformation , then the mapping from the profile is used while generating the record

      2. Only fields selected in the mapping profile are part of the exported record
      3. From the inventory holdings record we support transformations for only:

      • Permanent location
      • Temporary location
      • Electronic access
      • Call number (with prefix and suffix)
        4. From the inventory item record we support transformation for only:
      • Effective call number
      • Effective location
      • Electronic access

      5. If the mapping profile doesn’t contain specified transformation (doesn’t contain destination fields) for holdings and items then those fields will be ignored during the data export
      6. LDR that is re-generated based on the selected fields

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                magdaz Magda Zacharska
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases