Uploaded image for project: 'mod-source-record-manager'
  1. mod-source-record-manager
  2. MODSOURMAN-542

Update existing CLI endpoint PUT /mapping-rules to support MARC Holdings default rules

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      eHoldings Sprint 121
    • Story Points:
      3
    • Development Team:
      Spitfire
    • Release:
      R3 2021

      Description

      Description:
      There are existing mapping rules stored in mod-source-record-manager for MARC_BIB default mapping rules.
      The intention of this story is to adjust existing logic to work with default rules for MARC_HOLDINGS.

      Approach:

      • modify existing
        PUT /mapping-rules 

        endpoint to

        PUT /mapping-rules/marc-holdings

        An endpoint should support URI path parameters:

        • marc-holdings
        • marc-bib

      and return corresponding rules

      • update ModuleDescriptor.json file with changes for endpoint
      • update mapping-rules-provider.raml with URI path parameters. See RAML documentation
      • implement the logic to return rules according to the record type.

      Acceptance criteria:

      • endpoints for MARC_HOLDINGS modified
      • ensure that changes done for this story will not break endpoints for MARC_BIB
      • documentation RuleProcessorApi.md updated with additional info related to MARC_HOLDINGS
      • unit tests coverage

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Shans Shans Kaluhin
                Reporter:
                Natalia Zaitseva Natalia Zaitseva
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases