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

Optimistic locking (_version field, 409 HTTP status code) in instances/holdings/items

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed (View Workflow)
    • P2
    • Resolution: Done
    • None
    • 18.0.0
    • CP: R3 2022 roadmap, CP: sprint 112, CP: sprint 115, CP: sprint 116, CP: sprint 117, CP: sprint 118
    • 3
    • Core: Platform
    • R3 2021

    Description

      MODINVSTOR-713 enables optimistic locking for instances, holdings and items.

      This adds the _version property to the instance, holdings and item records.

      A PUT must provide that _version property, mod-inventory-storage rejects a PUT request if the _version property doesn't contain the current _version value stored in the database.

      Task:

      Add _version property.

      Handle 409 HTTP status code.

       

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                julianladisch Julian Ladisch
                julianladisch Julian Ladisch
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases