Uploaded image for project: 'mod-inventory'
  1. mod-inventory
  2. MODINV-544

Block Holdings editing using CLI tools

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      eHoldings Sprint 125
    • Story Points:
      3
    • Development Team:
      Spitfire
    • Release:
      Lotus R1 2022

      Description

      Purpose

      The mod-inventory provides a list of blocked fields to the UI application, so that, the UI application forbids Holdings editing when blocked fields are changed (https://issues.folio.org/browse/MODINV-498)

      This story is intended to forbid editing Holdings when the user does not use the UI application, it can be Postman or other CLI tools used. Similar behavior is implemented for Instances.

      Approach

      1) Create an endpoint to receive an updated Holdings record
      2) Validate the incoming record, if some of the blocked fields are changed - return bad request, else save it to mod-inventory-storage

      Acceptance criteria

      • the endpoint is created and covered with unit tests

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                psmagin Pavlo Smahin
                Reporter:
                Igor_Gorchakov Igor Gorchakov
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases