Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-29978

Add Idempotency Key support to RequestController

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11.5
    • Component/s: Web Common
    • Team:
      AT
    • Sprint:
      nxAT 11.x.31, nxAT 11.x.32, nxAT 11.x.33
    • Story Points:
      2

      Description

      We need to add a new feature to the NuxeoRequestControllerFilter:

      • read Idempotency header
      • check if the request has already been executed (=> KVS)
        • if yes - return the previous result that was stored in the KVS/TransientStore
        • if not
          • store the key in KVS
          • let the call go through
          • capture response
          • store response in KVS/TS

      This is useful to control duplicate calls to the same API, for Drive use cases typically.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days, 6 hours, 30 minutes
                  2d 6h 30m