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

    • Type: New Feature
    • Status: Closed (View Workflow)
    • Priority: P2
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 18.0.0
    • Labels:
    • Template:
    • Sprint:
      CP: R1 2022 roadmap, CP: sprint 112, CP: sprint 115, CP: sprint 116, CP: sprint 117, CP: sprint 118
    • Story Points:
      3
    • Development Team:
      Core: Platform
    • Release:
      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

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

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases