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

Update existing CLI endpoint PUT /mapping-rules/restore 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/restore

        endpoint to

        PUT /mapping-rules/marc-holdings/restore

        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
      • create a sample JSON file for implementation if needed. Default rules will be created in the scope of https://issues.folio.org/browse/MODSOURMAN-540
      • implement the logic to restore 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

          1. step1.jpg
            step1.jpg
            119 kB
          2. step2.jpg
            step2.jpg
            97 kB
          3. step3.jpg
            step3.jpg
            69 kB
          4. step4.jpg
            step4.jpg
            117 kB
          5. step5.jpg
            step5.jpg
            127 kB

            Issue Links

              Activity

                People

                Assignee:
                Daos Serhii Zdorenko
                Reporter:
                Natalia Zaitseva Natalia Zaitseva
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases